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
..
2017-06-09 22:30:55 -07:00
2017-06-01 14:49:47 -04:00
2017-05-05 19:33:07 -07:00
2017-06-06 09:37:44 -07:00
2017-04-27 11:54:49 +01:00
2017-06-11 11:29:15 -07:00
2017-04-20 09:54:24 +02:00
2017-05-09 10:01:15 -07:00
2017-05-04 19:15:35 -07:00
2017-06-11 11:25:51 -07:00
2017-05-18 23:54:47 -07:00
2017-06-04 10:23:25 +02:00
2017-06-03 09:47:16 +09:00
2017-05-05 11:36:44 -07:00
2017-05-11 11:12:26 -07:00
2017-06-09 09:59:51 -07:00