sfc: add ability for extra channels to receive raw RX buffers
authorEdward Cree <ecree.xilinx@gmail.com>
Mon, 14 Nov 2022 13:15:53 +0000 (13:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2022 09:07:02 +0000 (09:07 +0000)
commit36df6136a7d0a32f6b7e5862aeef4702b8b087d2
tree0669058cf11540b58ad548f2c5723a0489ff4d3d
parent85697f97fd3cdb1766ba53ac2d129bbc34e6df98
sfc: add ability for extra channels to receive raw RX buffers

The TC extra channel will need its own special RX handling, which must
 operate before any code that expects the RX buffer to contain a network
 packet; buffers on this RX queue contain MAE counter packets in a
 special format that does not resemble an Ethernet frame, and many fields
 of the RX packet prefix are not populated.
The USER_MARK field, however, is populated with the generation count from
 the counter subsystem, which needs to be passed on to the RX handler.

Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef100_rx.c
drivers/net/ethernet/sfc/net_driver.h