diff options
author | Edward Cree <ecree.xilinx@gmail.com> | 2022-07-20 19:29:26 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-22 12:50:06 +0100 |
commit | 95287e1b4e5c656ad3abfbf27f0249792251dd9e (patch) | |
tree | 23228db644623fe1fae90c8e40c2523c2cd68d08 /drivers/net/ethernet/sfc/Makefile | |
parent | 8ca353da9c10461c91565de51c1bf375c49a820f (diff) | |
download | linux-stable-95287e1b4e5c656ad3abfbf27f0249792251dd9e.tar.gz linux-stable-95287e1b4e5c656ad3abfbf27f0249792251dd9e.tar.bz2 linux-stable-95287e1b4e5c656ad3abfbf27f0249792251dd9e.zip |
sfc: detect ef100 MAE admin privilege/capability at probe time
One PCIe function per network port (more precisely, per m-port group) is
responsible for configuring the Match-Action Engine which performs
switching and packet modification in the slice to support flower/OVS
offload. The GRP_MAE bit in the privilege mask indicates whether a
given function has this capability.
At probe time, call MCDIs to read the calling function's privilege mask,
and store the GRP_MAE bit in a new ef100_nic_data member.
Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/Makefile')
0 files changed, 0 insertions, 0 deletions