Home | History | Annotate | Download | only in ixgbe

Lines Matching defs:vmdq

2405  * @vmdq: VMDq "set" or "pool" index
2410 s32 ixgbe_set_rar_generic(struct ixgbe_hw *hw, u32 index, u8 *addr, u32 vmdq,
2425 /* setup VMDq pool selection before this RAR gets enabled */
2426 hw->mac.ops.set_vmdq(hw, index, vmdq);
2437 * Some parts put the VMDq setting in the extra RAH bits,
2476 * Some parts put the VMDq setting in the extra RAH bits,
2486 /* clear VMDq pool/queue selection for this RAR */
2534 /* clear VMDq pool/queue selection for RAR 0 */
2565 * @vmdq: VMDq "set" or "pool" index
2569 void ixgbe_add_uc_addr(struct ixgbe_hw *hw, u8 *addr, u32 vmdq)
2585 hw->mac.ops.set_rar(hw, rar, addr, vmdq, IXGBE_RAH_AV);
2617 u32 vmdq;
2639 addr = next(hw, &addr_list, &vmdq);
2640 ixgbe_add_uc_addr(hw, addr, vmdq);
2757 u32 vmdq;
2777 ixgbe_set_mta(hw, next(hw, &mc_addr_list, &vmdq));
3742 * @vmdq: VMDq pool to assign
3747 s32 ixgbe_insert_mac_addr_generic(struct ixgbe_hw *hw, u8 *addr, u32 vmdq)
3784 ixgbe_set_vmdq(hw, rar, vmdq);
3788 ixgbe_set_rar(hw, rar, addr, vmdq, IXGBE_RAH_AV);
3791 ixgbe_set_rar(hw, rar, addr, vmdq, IXGBE_RAH_AV);
3808 * ixgbe_clear_vmdq_generic - Disassociate a VMDq pool index from a rx address
3811 * @vmdq: VMDq pool index to remove from the rar
3813 s32 ixgbe_clear_vmdq_generic(struct ixgbe_hw *hw, u32 rar, u32 vmdq)
3836 if (vmdq == IXGBE_CLEAR_VMDQ_ALL) {
3845 } else if (vmdq < 32) {
3846 mpsar_lo &= ~(1 << vmdq);
3849 mpsar_hi &= ~(1 << (vmdq - 32));
3862 * ixgbe_set_vmdq_generic - Associate a VMDq pool index with a rx address
3864 * @rar: receive address register index to associate with a VMDq index
3865 * @vmdq: VMDq pool index
3867 s32 ixgbe_set_vmdq_generic(struct ixgbe_hw *hw, u32 rar, u32 vmdq)
3881 if (vmdq < 32) {
3883 mpsar |= 1 << vmdq;
3887 mpsar |= 1 << (vmdq - 32);
3899 * ixgbe_set_vmdq_san_mac - Associate default VMDq pool index with a rx address
3901 * @vmdq: VMDq pool index
3903 s32 ixgbe_set_vmdq_san_mac_generic(struct ixgbe_hw *hw, u32 vmdq)
3909 if (vmdq < 32) {
3910 IXGBE_WRITE_REG(hw, IXGBE_MPSAR_LO(rar), 1 << vmdq);
3914 IXGBE_WRITE_REG(hw, IXGBE_MPSAR_HI(rar), 1 << (vmdq - 32));
3992 * @vind: VMDq output index that maps queue to VLAN id in VLVFB
4056 * @vind: VMDq output index that maps queue to VLAN id in VLVFB
4145 * Clears the VLAN filter table, and the VMDq index associated with the filter