Home
last modified time | relevance | path

Searched refs:vind (Results 1 – 17 of 17) sorted by relevance

/dpdk/drivers/net/ixgbe/base/
H A Dixgbe_hv_vf.c46 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 Dixgbe_82598.h13 s32 ixgbe_set_vfta_82598(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on,
H A Dixgbe_common.h108 u32 vind, bool vlan_on, bool vlvf_bypass);
109 s32 ixgbe_set_vlvf_generic(struct ixgbe_hw *hw, u32 vlan, u32 vind,
H A Dixgbe_vf.h109 s32 ixgbe_set_vfta_vf(struct ixgbe_hw *hw, u32 vlan, u32 vind,
H A Dixgbe_api.c1076 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 Dixgbe_api.h100 u32 vind, bool vlan_on, bool vlvf_bypass);
101 s32 ixgbe_set_vlvf(struct ixgbe_hw *hw, u32 vlan, u32 vind,
H A Dixgbe_vf.c436 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 Dixgbe_common.c3934 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 Dixgbe_82598.c974 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 Dngbe_hw.c1354 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 Dngbe_hw.h63 u32 vind, bool vlan_on, bool vlvf_bypass);
64 s32 ngbe_set_vlvf(struct ngbe_hw *hw, u32 vlan, u32 vind,
H A Dngbe_type.h303 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 Dtxgbe_hw.h51 u32 vind, bool vlan_on, bool vlvf_bypass);
52 s32 txgbe_set_vlvf(struct txgbe_hw *hw, u32 vlan, u32 vind,
H A Dtxgbe_vf.h55 s32 txgbe_set_vfta_vf(struct txgbe_hw *hw, u32 vlan, u32 vind,
H A Dtxgbe_hw.c1616 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 Dtxgbe_vf.c388 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 Dtxgbe_type.h573 u32 vind, bool vlan_on, bool vlvf_bypass);
574 s32 (*set_vlvf)(struct txgbe_hw *hw, u32 vlan, u32 vind,