aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/scsi/libfcoe.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2016-07-19 13:49:40 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2016-07-20 19:49:41 -0400
commit9a6cf881df0293cc1c06d31bcbeda6c23b95dcac (patch)
treec0e197eae96edd8539b5e1b54c4a04752c22759f /include/scsi/libfcoe.h
parentfcoe: Rename 'fip_frame' to 'fip_vn2vn_notify_frame' (diff)
downloadwireguard-linux-9a6cf881df0293cc1c06d31bcbeda6c23b95dcac.tar.xz
wireguard-linux-9a6cf881df0293cc1c06d31bcbeda6c23b95dcac.zip
fcoe: implement FIP VLAN responder
When running in VN2VN mode there is no central instance which would send out any FIP VLAN discovery notifications. So this patch adds a new sysfs attribute 'fip_vlan_responder' which will activate a FIP VLAN discovery responder. Signed-off-by: Hannes Reinecke <hare@suse.com> Acked-by: Johannes Thumshirn <jth@kernel.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi/libfcoe.h')
-rw-r--r--include/scsi/libfcoe.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/scsi/libfcoe.h b/include/scsi/libfcoe.h
index bcc5c3e82977..722d3264d3bf 100644
--- a/include/scsi/libfcoe.h
+++ b/include/scsi/libfcoe.h
@@ -110,8 +110,10 @@ enum fip_mode {
* @flogi_req_send: send of FLOGI requested
* @flogi_count: number of FLOGI attempts in AUTO mode.
* @map_dest: use the FC_MAP mode for destination MAC addresses.
+ * @fip_resp: start FIP VLAN discovery responder
* @spma: supports SPMA server-provided MACs mode
* @probe_tries: number of FC_IDs probed
+ * @priority: DCBx FCoE APP priority
* @dest_addr: MAC address of the selected FC forwarder.
* @ctl_src_addr: the native MAC address of our local port.
* @send: LLD-supplied function to handle sending FIP Ethernet frames
@@ -149,7 +151,8 @@ struct fcoe_ctlr {
u16 flogi_oxid;
u8 flogi_req_send;
u8 flogi_count;
- u8 map_dest;
+ bool map_dest;
+ bool fip_resp;
u8 spma;
u8 probe_tries;
u8 priority;