Home
last modified time | relevance | path

Searched refs:vind (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
H A De1000_mac.h40 s32 igb_vfta_set(struct e1000_hw *hw, u32 vid, u32 vind,
H A De1000_mac.c167 * @vind: VMDq output index that maps queue to VLAN id
174 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()
210 * set the vind bit in the matching VLVFB in igb_vfta_set()
212 * clear the pool bit and possibly the vind 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/
H A De1000_mac.h40 s32 igb_vfta_set(struct e1000_hw *hw, u32 vid, u32 vind,
H A De1000_mac.c167 * @vind: VMDq output index that maps queue to VLAN id
174 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()
210 * set the vind bit in the matching VLVFB in igb_vfta_set()
212 * clear the pool bit and possibly the vind 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/wangxun/libwx/
H A Dwx_hw.c1743 * @vind: VMDq output index that maps queue to VLAN id in VFVFB
1750 static int wx_set_vlvf(struct wx *wx, u32 vlan, u32 vind, bool vlan_on, in wx_set_vlvf() argument
1759 * set the vind bit in the matching VLVFB in wx_set_vlvf()
1761 * clear the pool bit and possibly the vind in wx_set_vlvf()
1774 if (vind < 32) { in wx_set_vlvf()
1776 bits |= (1 << vind); in wx_set_vlvf()
1780 bits |= (1 << (vind - 32)); in wx_set_vlvf()
1785 if (vind < 32) { in wx_set_vlvf()
1787 bits &= ~(1 << vind); in wx_set_vlvf()
1792 bits &= ~(1 << (vind in wx_set_vlvf()
1818 wx_set_vfta(struct wx *wx, u32 vlan, u32 vind, bool vlan_on) wx_set_vfta() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/
H A Dvf.c620 * @vind: unused by VF drivers
623 static s32 ixgbevf_set_vfta_vf(struct ixgbe_hw *hw, u32 vlan, u32 vind, in ixgbevf_set_vfta_vf() argument
654 * @vind: unused
657 static s32 ixgbevf_hv_set_vfta_vf(struct ixgbe_hw *hw, u32 vlan, u32 vind, in ixgbevf_hv_set_vfta_vf() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbevf/
H A Dvf.c631 * @vind: unused by VF drivers
634 static s32 ixgbevf_set_vfta_vf(struct ixgbe_hw *hw, u32 vlan, u32 vind, in ixgbevf_set_vfta_vf() argument
665 * @vind: unused
668 static s32 ixgbevf_hv_set_vfta_vf(struct ixgbe_hw *hw, u32 vlan, u32 vind, in ixgbevf_hv_set_vfta_vf() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.c3112 * @vind: VMDq output index that maps queue to VLAN id in VFVFB
3118 s32 ixgbe_set_vfta_generic(struct ixgbe_hw *hw, u32 vlan, u32 vind, in ixgbe_set_vfta_generic() argument
3124 if ((vlan > 4095) || (vind > 63)) in ixgbe_set_vfta_generic()
3154 * set the vind bit in the matching VLVFB in ixgbe_set_vfta_generic()
3156 * clear the pool bit and possibly the vind in ixgbe_set_vfta_generic()
3168 bits = IXGBE_READ_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + vind / 32)); in ixgbe_set_vfta_generic()
3171 bits |= BIT(vind % 32); in ixgbe_set_vfta_generic()
3176 bits ^= BIT(vind % 32); in ixgbe_set_vfta_generic()
3179 !IXGBE_READ_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + 1 - vind / 32))) { in ixgbe_set_vfta_generic()
3189 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + vind / 3 in ixgbe_set_vfta_generic()
[all...]
H A Dixgbe_82598.c833 * @vind: VMDq output index that maps queue to VLAN id in VFTA
839 static s32 ixgbe_set_vfta_82598(struct ixgbe_hw *hw, u32 vlan, u32 vind, in ixgbe_set_vfta_82598() argument
860 bits |= (vind << bitindex); in ixgbe_set_vfta_82598()
H A Dixgbe_common.h72 u32 vind, bool vlan_on, bool vlvf_bypass);
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.c3113 * @vind: VMDq output index that maps queue to VLAN id in VFVFB
3119 s32 ixgbe_set_vfta_generic(struct ixgbe_hw *hw, u32 vlan, u32 vind, in ixgbe_set_vfta_generic() argument
3125 if ((vlan > 4095) || (vind > 63)) in ixgbe_set_vfta_generic()
3155 * set the vind bit in the matching VLVFB in ixgbe_set_vfta_generic()
3157 * clear the pool bit and possibly the vind in ixgbe_set_vfta_generic()
3169 bits = IXGBE_READ_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + vind / 32)); in ixgbe_set_vfta_generic()
3172 bits |= BIT(vind % 32); in ixgbe_set_vfta_generic()
3177 bits ^= BIT(vind % 32); in ixgbe_set_vfta_generic()
3180 !IXGBE_READ_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + 1 - vind / 32))) { in ixgbe_set_vfta_generic()
3190 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + vind / 3 in ixgbe_set_vfta_generic()
[all...]
H A Dixgbe_82598.c833 * @vind: VMDq output index that maps queue to VLAN id in VFTA
839 static s32 ixgbe_set_vfta_82598(struct ixgbe_hw *hw, u32 vlan, u32 vind, in ixgbe_set_vfta_82598() argument
860 bits |= (vind << bitindex); in ixgbe_set_vfta_82598()
H A Dixgbe_common.h71 u32 vind, bool vlan_on, bool vlvf_bypass);

Completed in 19 milliseconds