sfc: check ef100 RX packets are from the wire
authorEdward Cree <ecree.xilinx@gmail.com>
Thu, 28 Jul 2022 18:57:47 +0000 (19:57 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 30 Jul 2022 04:22:06 +0000 (21:22 -0700)
commit08d0b16ecb3649025336e104d8d25f56abde563c
treee668ca324c16131bd8a3455d4fb1d5ae9a97422c
parent6f6838aabff5ea99af1c78ab02838b8d471f218d
sfc: check ef100 RX packets are from the wire

If not, for now drop them and warn.  A subsequent patch will look up
 the source m-port to try and find a representor to deliver them to.

Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/sfc/ef100_rx.c
drivers/net/ethernet/sfc/ethtool_common.c
drivers/net/ethernet/sfc/net_driver.h