Home | History | Annotate | Download | only in ixgbe

Lines Matching refs:vlan

151 	/* RAR, Multicast, VLAN */
1000 * ixgbe_set_vfta_82598 - Set VLAN filter table
1002 * @vlan: VLAN id to write to VLAN filter
1003 * @vind: VMDq output index that maps queue to VLAN id in VFTA
1004 * @vlan_on: boolean flag to turn on/off VLAN in VFTA
1007 * Turn on/off specified VLAN in the VLAN filter table.
1009 s32 ixgbe_set_vfta_82598(struct ixgbe_hw *hw, u32 vlan, u32 vind,
1021 if (vlan > 4095)
1025 regindex = (vlan >> 5) & 0x7F; /* upper seven bits */
1028 vftabyte = ((vlan >> 3) & 0x03); /* bits (4:3) indicating byte array */
1029 bitindex = (vlan & 0x7) << 2; /* lower 3 bits indicate nibble */
1037 /* Determine the location of the bit for this VLAN id */
1038 bitindex = vlan & 0x1F; /* lower five bits */
1042 /* Turn on this VLAN id */
1045 /* Turn off this VLAN id */
1053 * ixgbe_clear_vfta_82598 - Clear VLAN filter table
1056 * Clears the VLAN filter table, and the VMDq index associated with the filter