Lines Matching refs:vmdq
1821 * @vmdq: VMDq "set" or "pool" index
1826 int ixgbe_set_rar_generic(struct ixgbe_hw *hw, u32 index, u8 *addr, u32 vmdq,
1839 hw->mac.ops.set_vmdq(hw, index, vmdq);
2943 * @vmdq: VMDq pool index to remove from the rar
2945 int ixgbe_clear_vmdq_generic(struct ixgbe_hw *hw, u32 rar, u32 vmdq)
2965 if (vmdq == IXGBE_CLEAR_VMDQ_ALL) {
2974 } else if (vmdq < 32) {
2975 mpsar_lo &= ~BIT(vmdq);
2978 mpsar_hi &= ~BIT(vmdq - 32);
2994 * @vmdq: VMDq pool index
2996 int ixgbe_set_vmdq_generic(struct ixgbe_hw *hw, u32 rar, u32 vmdq)
3007 if (vmdq < 32) {
3009 mpsar |= BIT(vmdq);
3013 mpsar |= BIT(vmdq - 32);
3022 * @vmdq: VMDq pool index
3029 int ixgbe_set_vmdq_san_mac_generic(struct ixgbe_hw *hw, u32 vmdq)
3033 if (vmdq < 32) {
3034 IXGBE_WRITE_REG(hw, IXGBE_MPSAR_LO(rar), BIT(vmdq));
3038 IXGBE_WRITE_REG(hw, IXGBE_MPSAR_HI(rar), BIT(vmdq - 32));