Home
last modified time | relevance | path

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

/drivers/net/ethernet/wangxun/libwx/
A Dwx_hw.c1612 u32 vlnctrl, i, vind, bits, reg_idx; in wx_vlan_promisc_enable() local
1632 vind = WX_VF_IND_SHIFT(VMDQ_P(0)); in wx_vlan_promisc_enable()
1635 bits |= BIT(vind); in wx_vlan_promisc_enable()
1658 vind = WX_VF_IND_SHIFT(VMDQ_P(0)); in wx_scrub_vfta()
1661 bits &= ~BIT(vind); in wx_scrub_vfta()
2488 if (vind < 32) { in wx_set_vlvf()
2490 bits |= (1 << vind); in wx_set_vlvf()
2494 bits |= (1 << (vind - 32)); in wx_set_vlvf()
2499 if (vind < 32) { in wx_set_vlvf()
2501 bits &= ~(1 << vind); in wx_set_vlvf()
[all …]
A Dwx_hw.h51 int wx_set_vfta(struct wx *wx, u32 vlan, u32 vind, bool vlan_on);
A Dwx_vf.h123 int wx_set_vfta_vf(struct wx *wx, u32 vlan, u32 vind, bool vlan_on,
A Dwx_vf.c301 int wx_set_vfta_vf(struct wx *wx, u32 vlan, u32 vind, bool vlan_on, in wx_set_vfta_vf() argument
/drivers/net/ethernet/intel/igb/
A De1000_mac.h40 s32 igb_vfta_set(struct e1000_hw *hw, u32 vid, u32 vind,
A De1000_mac.c174 s32 igb_vfta_set(struct e1000_hw *hw, u32 vlan, u32 vind, in igb_vfta_set() argument
181 if ((vlan > 4095) || (vind > 7)) in igb_vfta_set()
227 bits |= BIT(E1000_VLVF_POOLSEL_SHIFT + vind); in igb_vfta_set()
232 bits ^= BIT(E1000_VLVF_POOLSEL_SHIFT + vind); in igb_vfta_set()
/drivers/net/ethernet/intel/ixgbevf/
A Dvf.c634 static s32 ixgbevf_set_vfta_vf(struct ixgbe_hw *hw, u32 vlan, u32 vind, in ixgbevf_set_vfta_vf() argument
668 static s32 ixgbevf_hv_set_vfta_vf(struct ixgbe_hw *hw, u32 vlan, u32 vind, in ixgbevf_hv_set_vfta_vf() argument
/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_common.c3135 int ixgbe_set_vfta_generic(struct ixgbe_hw *hw, u32 vlan, u32 vind, in ixgbe_set_vfta_generic() argument
3141 if ((vlan > 4095) || (vind > 63)) in ixgbe_set_vfta_generic()
3185 bits = IXGBE_READ_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + vind / 32)); in ixgbe_set_vfta_generic()
3188 bits |= BIT(vind % 32); in ixgbe_set_vfta_generic()
3193 bits ^= BIT(vind % 32); in ixgbe_set_vfta_generic()
3196 !IXGBE_READ_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + 1 - vind / 32))) { in ixgbe_set_vfta_generic()
3206 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + vind / 32), 0); in ixgbe_set_vfta_generic()
3229 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + vind / 32), bits); in ixgbe_set_vfta_generic()
A Dixgbe_82598.c840 static int ixgbe_set_vfta_82598(struct ixgbe_hw *hw, u32 vlan, u32 vind, in ixgbe_set_vfta_82598() argument
861 bits |= (vind << bitindex); in ixgbe_set_vfta_82598()
A Dixgbe_common.h71 u32 vind, bool vlan_on, bool vlvf_bypass);

Completed in 26 milliseconds