diff options
author | Shahed Shaikh <shahed.shaikh@cavium.com> | 2018-09-20 21:22:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-21 19:14:21 +0300 |
commit | 753039650455b0efcbbcc3f1f28ac429f9edd717 (patch) | |
tree | 7296034bd301373e727349b36c5ebccb2e190b1f /drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h | |
parent | 66ab23598696072c19344591f8d9846332e66e23 (diff) | |
download | linux-753039650455b0efcbbcc3f1f28ac429f9edd717.tar.xz |
bnx2x: Add VF spoof-checking configuration
Add support for `ndo_set_vf_spoofchk' to allow PF control over
its VF spoof-checking configuration.
Signed-off-by: Shahed Shaikh <shahed.shaikh@cavium.com>
Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h index eb814c65152f..b6ebd92ec565 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h @@ -142,6 +142,8 @@ struct bnx2x_virtf { bool flr_clnup_stage; /* true during flr cleanup */ bool malicious; /* true if FW indicated so, until FLR */ + /* 1(true) if spoof check is enabled */ + u8 spoofchk; /* dma */ dma_addr_t fw_stat_map; |