Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41231090 authored by James Smart's avatar James Smart Committed by Jens Axboe
Browse files

nvme-fc: correct port role bits



FC Port roles is a bit mask, not individual values.
Correct nvme definitions to unique bits.

Signed-off-by: default avatarJames Smart <james.smart@broadcom.com>
Reviewed-by: default avatarJohannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent f63572df
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -27,8 +27,8 @@

/* FC Port role bitmask - can merge with FC Port Roles in fc transport */
#define FC_PORT_ROLE_NVME_INITIATOR	0x10
#define FC_PORT_ROLE_NVME_TARGET	0x11
#define FC_PORT_ROLE_NVME_DISCOVERY	0x12
#define FC_PORT_ROLE_NVME_TARGET	0x20
#define FC_PORT_ROLE_NVME_DISCOVERY	0x40


/**