sfc: interrogate MAE capabilities at probe time
authorEdward Cree <ecree.xilinx@gmail.com>
Mon, 26 Sep 2022 18:57:35 +0000 (19:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Sep 2022 08:43:22 +0000 (09:43 +0100)
commit7ce3e235f21268905864fd9bcf71a026db045588
tree6483d27d3f6d6c57b68d40a67475c77d2360b266
parentf54a28a211664017531aebc997bf3c6a279e0d6f
sfc: interrogate MAE capabilities at probe time

Different versions of EF100 firmware and FPGA bitstreams support different
 matching capabilities in the Match-Action Engine.  Probe for these at
 start of day; subsequent patches will validate TC offload requests
 against the reported capabilities.

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