]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: add a hashtable for offloaded TC rules
authorEdward Cree <ecree.xilinx@gmail.com>
Mon, 26 Sep 2022 18:57:34 +0000 (19:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Sep 2022 08:43:22 +0000 (09:43 +0100)
commitf54a28a211664017531aebc997bf3c6a279e0d6f
tree0e49de2343dcadb5dab9747acbd61c10bec604ce
parent7c9d266d8faffab935fb7b30056a476289c2a4a3
sfc: add a hashtable for offloaded TC rules

Nothing inserts into this table yet, but we have code to remove rules
 on FLOW_CLS_DESTROY or at driver teardown time, in both cases also
 attempting to remove the corresponding hardware rules.

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