diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2017-03-03 17:08:32 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-07 13:47:15 -0800 |
commit | 78d5505432436516456c12abbe705ec8dee7ee2b (patch) | |
tree | 94cbf48009e9ae373502a7495cbaefcc429b5a01 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h | |
parent | bnx2x: fix detection of VLAN filtering feature for VF (diff) | |
download | linux-dev-78d5505432436516456c12abbe705ec8dee7ee2b.tar.xz linux-dev-78d5505432436516456c12abbe705ec8dee7ee2b.zip |
bnx2x: do not rollback VF MAC/VLAN filters we did not configure
On failure to configure a VF MAC/VLAN filter we should not attempt to
rollback filters that we failed to configure with -EEXIST.
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h index 7a6d406f4c11..888d0b6632e8 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h @@ -114,6 +114,7 @@ struct bnx2x_vf_mac_vlan_filter { (BNX2X_VF_FILTER_MAC | BNX2X_VF_FILTER_VLAN) /*shortcut*/ bool add; + bool applied; u8 *mac; u16 vid; }; |