···11+Operating FCoE using bnx2fc22+===========================33+Broadcom FCoE offload through bnx2fc is full stateful hardware offload that44+cooperates with all interfaces provided by the Linux ecosystem for FC/FCoE and55+SCSI controllers. As such, FCoE functionality, once enabled is largely66+transparent. Devices discovered on the SAN will be registered and unregistered77+automatically with the upper storage layers.88+99+Despite the fact that the Broadcom's FCoE offload is fully offloaded, it does1010+depend on the state of the network interfaces to operate. As such, the network1111+interface (e.g. eth0) associated with the FCoE offload initiator must be 'up'.1212+It is recommended that the network interfaces be configured to be brought up1313+automatically at boot time.1414+1515+Furthermore, the Broadcom FCoE offload solution creates VLAN interfaces to1616+support the VLANs that have been discovered for FCoE operation (e.g.1717+eth0.1001-fcoe). Do not delete or disable these interfaces or FCoE operation1818+will be disrupted.1919+2020+Driver Usage Model:2121+===================2222+2323+1. Ensure that fcoe-utils package is installed.2424+2525+2. Configure the interfaces on which bnx2fc driver has to operate on.2626+Here are the steps to configure:2727+ a. cd /etc/fcoe2828+ b. copy cfg-ethx to cfg-eth5 if FCoE has to be enabled on eth5.2929+ c. Repeat this for all the interfaces where FCoE has to be enabled.3030+ d. Edit all the cfg-eth files to set "no" for DCB_REQUIRED** field, and3131+ "yes" for AUTO_VLAN.3232+ e. Other configuration parameters should be left as default3333+3434+3. Ensure that "bnx2fc" is in SUPPORTED_DRIVERS list in /etc/fcoe/config.3535+3636+4. Start fcoe service. (service fcoe start). If Broadcom devices are present in3737+the system, bnx2fc driver would automatically claim the interfaces, starts vlan3838+discovery and log into the targets.3939+4040+5. "Symbolic Name" in 'fcoeadm -i' output would display if bnx2fc has claimed4141+the interface.4242+Eg:4343+[root@bh2 ~]# fcoeadm -i4444+ Description: NetXtreme II BCM57712 10 Gigabit Ethernet4545+ Revision: 014646+ Manufacturer: Broadcom Corporation4747+ Serial Number: 0010186FD5584848+ Driver: bnx2x 1.70.00-04949+ Number of Ports: 25050+5151+ Symbolic Name: bnx2fc v1.0.5 over eth5.45252+ OS Device Name: host115353+ Node Name: 0x10000010186FD5595454+ Port Name: 0x20000010186FD5595555+ FabricName: 0x2001000DECB3B6815656+ Speed: 10 Gbit5757+ Supported Speed: 10 Gbit5858+ MaxFrameSize: 20485959+ FC-ID (Port ID): 0x0F03776060+ State: Online6161+6262+6. Verify the vlan discovery is performed by running ifconfig and notice6363+<INTERFACE>.<VLAN>-fcoe interfaces are automatically created.6464+6565+Refer to fcoeadm manpage for more information on fcoeadm operations to6666+create/destroy interfaces or to display lun/target information.6767+6868+NOTE:6969+====7070+** Broadcom FCoE capable devices implement a DCBX/LLDP client on-chip. Only one7171+LLDP client is allowed per interface. For proper operation all host software7272+based DCBX/LLDP clients (e.g. lldpad) must be disabled. To disable lldpad on a7373+given interface, run the following command:7474+7575+lldptool set-lldp -i <interface_name> adminStatus=disabled