| /dpdk/drivers/net/ixgbe/base/ |
| H A D | ixgbe_hv_vf.c | 46 static s32 ixgbevf_hv_set_vfta_vf(struct ixgbe_hw *hw, u32 vlan, u32 vind, in ixgbevf_hv_set_vfta_vf() argument 49 UNREFERENCED_5PARAMETER(hw, vlan, vind, vlan_on, vlvf_bypass); in ixgbevf_hv_set_vfta_vf() 74 static s32 ixgbevf_hv_set_rar_vf(struct ixgbe_hw *hw, u32 index, u8 *addr, u32 vlan, u32 vind) in ixgbevf_hv_set_rar_vf() argument 76 UNREFERENCED_5PARAMETER(hw, index, addr, vlan, vind); in ixgbevf_hv_set_rar_vf()
|
| H A D | ixgbe_82598.h | 13 s32 ixgbe_set_vfta_82598(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on,
|
| H A D | ixgbe_common.h | 108 u32 vind, bool vlan_on, bool vlvf_bypass); 109 s32 ixgbe_set_vlvf_generic(struct ixgbe_hw *hw, u32 vlan, u32 vind,
|
| H A D | ixgbe_vf.h | 109 s32 ixgbe_set_vfta_vf(struct ixgbe_hw *hw, u32 vlan, u32 vind,
|
| H A D | ixgbe_api.c | 1076 s32 ixgbe_set_vfta(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on, in ixgbe_set_vfta() argument 1079 return ixgbe_call_func(hw, hw->mac.ops.set_vfta, (hw, vlan, vind, in ixgbe_set_vfta() 1096 s32 ixgbe_set_vlvf(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on, in ixgbe_set_vlvf() argument 1099 return ixgbe_call_func(hw, hw->mac.ops.set_vlvf, (hw, vlan, vind, in ixgbe_set_vlvf()
|
| H A D | ixgbe_api.h | 100 u32 vind, bool vlan_on, bool vlvf_bypass); 101 s32 ixgbe_set_vlvf(struct ixgbe_hw *hw, u32 vlan, u32 vind,
|
| H A D | ixgbe_vf.c | 436 s32 ixgbe_set_vfta_vf(struct ixgbe_hw *hw, u32 vlan, u32 vind, in ixgbe_set_vfta_vf() argument 441 UNREFERENCED_2PARAMETER(vind, vlvf_bypass); in ixgbe_set_vfta_vf()
|
| H A D | ixgbe_common.c | 3934 s32 ixgbe_set_vfta_generic(struct ixgbe_hw *hw, u32 vlan, u32 vind, in ixgbe_set_vfta_generic() argument 3942 if (vlan > 4095 || vind > 63) in ixgbe_set_vfta_generic() 3972 ret_val = ixgbe_set_vlvf_generic(hw, vlan, vind, vlan_on, &vfta_delta, in ixgbe_set_vfta_generic() 4001 s32 ixgbe_set_vlvf_generic(struct ixgbe_hw *hw, u32 vlan, u32 vind, in ixgbe_set_vlvf_generic() argument 4010 if (vlan > 4095 || vind > 63) in ixgbe_set_vlvf_generic() 4027 bits = IXGBE_READ_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + vind / 32)); in ixgbe_set_vlvf_generic() 4030 bits |= 1 << (vind % 32); in ixgbe_set_vlvf_generic() 4035 bits ^= 1 << (vind % 32); in ixgbe_set_vlvf_generic() 4038 !IXGBE_READ_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + 1 - vind / 32))) { in ixgbe_set_vlvf_generic() 4048 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + vind / 32), 0); in ixgbe_set_vlvf_generic() [all …]
|
| H A D | ixgbe_82598.c | 974 s32 ixgbe_set_vfta_82598(struct ixgbe_hw *hw, u32 vlan, u32 vind, in ixgbe_set_vfta_82598() argument 999 bits |= (vind << bitindex); in ixgbe_set_vfta_82598()
|
| /dpdk/drivers/net/ngbe/base/ |
| H A D | ngbe_hw.c | 1354 s32 ngbe_set_vfta(struct ngbe_hw *hw, u32 vlan, u32 vind, in ngbe_set_vfta() argument 1360 if (vlan > 4095 || vind > 63) in ngbe_set_vfta() 1390 err = ngbe_set_vlvf(hw, vlan, vind, vlan_on, &vfta_delta, in ngbe_set_vfta() 1419 s32 ngbe_set_vlvf(struct ngbe_hw *hw, u32 vlan, u32 vind, in ngbe_set_vlvf() argument 1427 if (vlan > 4095 || vind > 63) in ngbe_set_vlvf() 1446 bits = rd32(hw, NGBE_PSRVLANPLM(vind / 32)); in ngbe_set_vlvf() 1449 bits |= 1 << (vind % 32); in ngbe_set_vlvf() 1454 bits ^= 1 << (vind % 32); in ngbe_set_vlvf() 1457 !rd32(hw, NGBE_PSRVLANPLM(vind / 32))) { in ngbe_set_vlvf() 1467 wr32(hw, NGBE_PSRVLANPLM(vind / 32), 0); in ngbe_set_vlvf() [all …]
|
| H A D | ngbe_hw.h | 63 u32 vind, bool vlan_on, bool vlvf_bypass); 64 s32 ngbe_set_vlvf(struct ngbe_hw *hw, u32 vlan, u32 vind,
|
| H A D | ngbe_type.h | 303 u32 vind, bool vlan_on, bool vlvf_bypass); 304 s32 (*set_vlvf)(struct ngbe_hw *hw, u32 vlan, u32 vind,
|
| /dpdk/drivers/net/txgbe/base/ |
| H A D | txgbe_hw.h | 51 u32 vind, bool vlan_on, bool vlvf_bypass); 52 s32 txgbe_set_vlvf(struct txgbe_hw *hw, u32 vlan, u32 vind,
|
| H A D | txgbe_vf.h | 55 s32 txgbe_set_vfta_vf(struct txgbe_hw *hw, u32 vlan, u32 vind,
|
| H A D | txgbe_hw.c | 1616 s32 txgbe_set_vfta(struct txgbe_hw *hw, u32 vlan, u32 vind, in txgbe_set_vfta() argument 1622 if (vlan > 4095 || vind > 63) in txgbe_set_vfta() 1652 err = txgbe_set_vlvf(hw, vlan, vind, vlan_on, &vfta_delta, in txgbe_set_vfta() 1681 s32 txgbe_set_vlvf(struct txgbe_hw *hw, u32 vlan, u32 vind, in txgbe_set_vlvf() argument 1689 if (vlan > 4095 || vind > 63) in txgbe_set_vlvf() 1708 bits = rd32(hw, TXGBE_PSRVLANPLM(vind / 32)); in txgbe_set_vlvf() 1711 bits |= 1 << (vind % 32); in txgbe_set_vlvf() 1716 bits ^= 1 << (vind % 32); in txgbe_set_vlvf() 1719 !rd32(hw, TXGBE_PSRVLANPLM(vind / 32))) { in txgbe_set_vlvf() 1729 wr32(hw, TXGBE_PSRVLANPLM(vind / 32), 0); in txgbe_set_vlvf() [all …]
|
| H A D | txgbe_vf.c | 388 s32 txgbe_set_vfta_vf(struct txgbe_hw *hw, u32 vlan, u32 vind, in txgbe_set_vfta_vf() argument 393 UNREFERENCED_PARAMETER(vind, vlvf_bypass); in txgbe_set_vfta_vf()
|
| H A D | txgbe_type.h | 573 u32 vind, bool vlan_on, bool vlvf_bypass); 574 s32 (*set_vlvf)(struct txgbe_hw *hw, u32 vlan, u32 vind,
|