]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: support passing a representor to the EF100 TX path
authorEdward Cree <ecree.xilinx@gmail.com>
Wed, 20 Jul 2022 18:33:47 +0000 (19:33 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Jul 2022 11:50:06 +0000 (12:50 +0100)
commit23a87ab17ab7e7a7004ac2845bb358824243a6ad
tree410f31d53c66303f5983963d3354498ff8b01d04
parent4f73efd8c4a05244568f3c0059fae82631684a23
sfc: support passing a representor to the EF100 TX path

A non-null efv in __ef100_enqueue_skb() indicates that the packet is
 from that representor, should be transmitted with a suitable option
 descriptor (to instruct the switch to deliver it to the representee),
 and should not be accounted to the parent PF's stats or BQL.

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