commit | 085793f038be88af8aa840f2dff3505e99ba9034 | [log] [tgz] |
---|---|---|
author | Edward Cree <ecree@solarflare.com> | Thu Mar 12 19:21:39 2020 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat Mar 14 20:57:25 2020 -0700 |
tree | c5b38c84b640eff4eb213642dde1bfe0905ed09a | |
parent | fa83820e5c58d200f41d08003ecb5f61cad3113b [diff] |
sfc: support configuring vf spoofchk on EF10 VFs Corresponds to the MAC_SPOOFING_TX privilege in the hardware. Some firmware versions on some cards don't support the feature, so check the TX_MAC_SECURITY capability and fail EOPNOTSUPP if trying to enable spoofchk on a NIC that doesn't support it. Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>