linux/drivers/scsi/bnx2fc
Chad Dupuis 56ffd3a050 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>
2017-06-27 21:39:09 -04:00
..
57xx_hsi_bnx2fc.h bnx2fc: Remove 'NetXtreme II' from source files. 2015-11-09 17:29:04 -08:00
bnx2fc_constants.h bnx2fc: Remove 'NetXtreme II' from source files. 2015-11-09 17:29:04 -08:00
bnx2fc_debug.c bnx2fc: Remove 'NetXtreme II' from source files. 2015-11-09 17:29:04 -08:00
bnx2fc_debug.h bnx2fc: Remove 'NetXtreme II' from source files. 2015-11-09 17:29:04 -08:00
bnx2fc_els.c scsi: bnx2fc: Mark symbols static where possible 2016-09-09 07:11:07 -04:00
bnx2fc_fcoe.c scsi: bnx2fc: Add filters to the non-offload FCoE receive path. 2017-06-27 21:39:09 -04:00
bnx2fc_hwi.c scsi: bnx2fc: Mark symbols static where possible 2016-09-09 07:11:07 -04:00
bnx2fc_io.c locking/atomic, kref: Add kref_read() 2017-01-14 11:37:18 +01:00
bnx2fc_tgt.c scsi: libfc: Replace ->rport_logoff callback with function call 2016-11-08 17:29:55 -05:00
bnx2fc.h scsi: bnx2fc: fix race condition in bnx2fc_get_host_stats() 2017-05-24 15:14:42 -04:00
Kconfig bnx2fc: Remove 'NetXtreme II' from source files. 2015-11-09 17:29:04 -08:00
Makefile [SCSI] bnx2fc: Reduce object size by consolidating formats 2012-07-20 08:58:17 +01:00