summaryrefslogtreecommitdiff
path: root/drivers/scsi/bnx2fc/bnx2fc_els.c
diff options
context:
space:
mode:
authorChad Dupuis <chad.dupuis@cavium.com>2017-06-26 18:59:32 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2017-06-28 04:39:09 +0300
commit56ffd3a0500e3b0c133da451036074fd0a8c3f1c (patch)
treee689caac5ae7c7b56b2b880e52e596d1511151d6 /drivers/scsi/bnx2fc/bnx2fc_els.c
parent5c279bd9e40624f4ab6e688671026d6005b066fa (diff)
downloadlinux-56ffd3a0500e3b0c133da451036074fd0a8c3f1c.tar.xz
scsi: bnx2fc: Add filters to the non-offload FCoE receive path.
Add the following filters to bnx2fc_recv_frame(): 1. Filter out invalid packets - eth->dest_mac[3] matches FC frame's D_ID 2. Filter out packets that are not from our connected target - In FIP_ST_ENABLED mode - eth->src_mac matches fcoe_ctlr->dest_addr 3. Filter out packets where if d_id of the packet doesn't belong to the device when one is already assigned a port_id, only then this packet is dropped Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/bnx2fc/bnx2fc_els.c')
0 files changed, 0 insertions, 0 deletions