/drivers/net/ethernet/intel/igb/ |
D | e1000_mac.c | 178 u32 regidx, vfta_delta, vfta, bits; in igb_vfta_set() local 197 vfta = adapter->shadow_vfta[regidx]; in igb_vfta_set() 203 vfta_delta &= vlan_on ? ~vfta : vfta; in igb_vfta_set() 204 vfta ^= vfta_delta; in igb_vfta_set() 240 hw->mac.ops.write_vfta(hw, regidx, vfta); in igb_vfta_set() 271 hw->mac.ops.write_vfta(hw, regidx, vfta); in igb_vfta_set()
|
D | igb_main.c | 5118 u32 vfta[VFTA_BLOCK_SIZE] = { 0 }; in igb_scrub_vfta() local 5126 vfta[(vid - vid_start) / 32] |= BIT(vid % 32); in igb_scrub_vfta() 5145 vfta[(vid - vid_start) / 32] |= BIT(vid % 32); in igb_scrub_vfta() 5165 vfta[i] |= adapter->active_vlans[word] >> bits; in igb_scrub_vfta() 5167 hw->mac.ops.write_vfta(hw, vfta_offset + i, vfta[i]); in igb_scrub_vfta() 7169 u32 vfta_mask, vid, vfta; in igb_clear_vf_vfta() local 7190 vfta = adapter->shadow_vfta[vid / 32]; in igb_clear_vf_vfta() 7191 if (vfta & vfta_mask) in igb_clear_vf_vfta() 7192 hw->mac.ops.write_vfta(hw, vid / 32, vfta ^ vfta_mask); in igb_clear_vf_vfta()
|
/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_main.c | 2150 u32 vfta, index; in ixgb_vlan_rx_add_vid() local 2155 vfta = IXGB_READ_REG_ARRAY(&adapter->hw, VFTA, index); in ixgb_vlan_rx_add_vid() 2156 vfta |= (1 << (vid & 0x1F)); in ixgb_vlan_rx_add_vid() 2157 ixgb_write_vfta(&adapter->hw, index, vfta); in ixgb_vlan_rx_add_vid() 2167 u32 vfta, index; in ixgb_vlan_rx_kill_vid() local 2172 vfta = IXGB_READ_REG_ARRAY(&adapter->hw, VFTA, index); in ixgb_vlan_rx_kill_vid() 2173 vfta &= ~(1 << (vid & 0x1F)); in ixgb_vlan_rx_kill_vid() 2174 ixgb_write_vfta(&adapter->hw, index, vfta); in ixgb_vlan_rx_kill_vid()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sriov.c | 588 u32 bits[2], vlvfb, vid, vfta, vlvf; in ixgbe_clear_vf_vlans() local 623 vfta = IXGBE_READ_REG(hw, IXGBE_VFTA(vid / 32)); in ixgbe_clear_vf_vlans() 624 if (vfta & mask) in ixgbe_clear_vf_vlans() 625 IXGBE_WRITE_REG(hw, IXGBE_VFTA(vid / 32), vfta ^ mask); in ixgbe_clear_vf_vlans()
|
D | ixgbe_common.c | 3122 u32 regidx, vfta_delta, vfta, bits; in ixgbe_set_vfta_generic() local 3142 vfta = IXGBE_READ_REG(hw, IXGBE_VFTA(regidx)); in ixgbe_set_vfta_generic() 3148 vfta_delta &= vlan_on ? ~vfta : vfta; in ixgbe_set_vfta_generic() 3149 vfta ^= vfta_delta; in ixgbe_set_vfta_generic() 3186 IXGBE_WRITE_REG(hw, IXGBE_VFTA(regidx), vfta); in ixgbe_set_vfta_generic() 3219 IXGBE_WRITE_REG(hw, IXGBE_VFTA(regidx), vfta); in ixgbe_set_vfta_generic()
|
D | ixgbe_main.c | 4602 u32 vfta[VFTA_BLOCK_SIZE] = { 0 }; in ixgbe_scrub_vfta() local 4619 vfta[(vid - vid_start) / 32] |= BIT(vid % 32); in ixgbe_scrub_vfta() 4639 vfta[i] |= adapter->active_vlans[word] >> bits; in ixgbe_scrub_vfta() 4641 IXGBE_WRITE_REG(hw, IXGBE_VFTA(vfta_offset + i), vfta[i]); in ixgbe_scrub_vfta()
|
/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 4950 u32 vfta, index; in e1000_vlan_rx_add_vid() local 4962 vfta = E1000_READ_REG_ARRAY(hw, VFTA, index); in e1000_vlan_rx_add_vid() 4963 vfta |= (1 << (vid & 0x1F)); in e1000_vlan_rx_add_vid() 4964 e1000_write_vfta(hw, index, vfta); in e1000_vlan_rx_add_vid() 4976 u32 vfta, index; in e1000_vlan_rx_kill_vid() local 4985 vfta = E1000_READ_REG_ARRAY(hw, VFTA, index); in e1000_vlan_rx_kill_vid() 4986 vfta &= ~(1 << (vid & 0x1F)); in e1000_vlan_rx_kill_vid() 4987 e1000_write_vfta(hw, index, vfta); in e1000_vlan_rx_kill_vid()
|
/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 2710 u32 vfta, index; in e1000_vlan_rx_add_vid() local 2721 vfta = E1000_READ_REG_ARRAY(hw, E1000_VFTA, index); in e1000_vlan_rx_add_vid() 2722 vfta |= BIT((vid & 0x1F)); in e1000_vlan_rx_add_vid() 2723 hw->mac.ops.write_vfta(hw, index, vfta); in e1000_vlan_rx_add_vid() 2736 u32 vfta, index; in e1000_vlan_rx_kill_vid() local 2749 vfta = E1000_READ_REG_ARRAY(hw, E1000_VFTA, index); in e1000_vlan_rx_kill_vid() 2750 vfta &= ~BIT((vid & 0x1F)); in e1000_vlan_rx_kill_vid() 2751 hw->mac.ops.write_vfta(hw, index, vfta); in e1000_vlan_rx_kill_vid()
|