Searched refs:rar_entries (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_82598.c834 u32 rar_entries = hw->mac.num_rar_entries; ixgbe_set_vmdq_82598() local
837 if (rar >= rar_entries) { ixgbe_set_vmdq_82598()
858 u32 rar_entries = hw->mac.num_rar_entries; ixgbe_clear_vmdq_82598() local
862 if (rar >= rar_entries) { ixgbe_clear_vmdq_82598()
H A Dixgbe_common.c1786 u32 rar_entries = hw->mac.num_rar_entries; ixgbe_set_rar_generic() local
1789 if (index >= rar_entries) { ixgbe_set_rar_generic()
1833 u32 rar_entries = hw->mac.num_rar_entries; ixgbe_clear_rar_generic() local
1836 if (index >= rar_entries) { ixgbe_clear_rar_generic()
1869 u32 rar_entries = hw->mac.num_rar_entries; ixgbe_init_rx_addrs_generic() local
1896 hw_dbg(hw, "Clearing RAR[1-%d]\n", rar_entries - 1); ixgbe_init_rx_addrs_generic()
1897 for (i = 1; i < rar_entries; i++) { ixgbe_init_rx_addrs_generic()
2874 u32 rar_entries = hw->mac.num_rar_entries; ixgbe_clear_vmdq_generic() local
2877 if (rar >= rar_entries) { ixgbe_clear_vmdq_generic()
2923 u32 rar_entries = hw->mac.num_rar_entries; ixgbe_set_vmdq_generic() local
2926 if (rar >= rar_entries) { ixgbe_set_vmdq_generic()
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c3361 unsigned int rar_entries; e1000e_write_uc_addr_list() local
3364 rar_entries = hw->mac.ops.rar_get_count(hw); e1000e_write_uc_addr_list()
3367 rar_entries--; e1000e_write_uc_addr_list()
3371 rar_entries--; e1000e_write_uc_addr_list()
3374 if (netdev_uc_count(netdev) > rar_entries) e1000e_write_uc_addr_list()
3377 if (!netdev_uc_empty(netdev) && rar_entries) { e1000e_write_uc_addr_list()
3386 if (!rar_entries) netdev_for_each_uc_addr()
3388 rval = hw->mac.ops.rar_set(hw, ha->addr, rar_entries--); netdev_for_each_uc_addr()
3396 for (; rar_entries > 0; rar_entries--) {
3397 ew32(RAH(rar_entries), 0);
3398 ew32(RAL(rar_entries), 0);
/linux-4.4.14/drivers/net/ethernet/intel/igb/
H A Digb_main.c3970 unsigned int rar_entries = hw->mac.rar_entry_count - (vfn + 1); igb_write_uc_addr_list() local
3974 if (netdev_uc_count(netdev) > rar_entries) igb_write_uc_addr_list()
3977 if (!netdev_uc_empty(netdev) && rar_entries) { igb_write_uc_addr_list()
3981 if (!rar_entries) netdev_for_each_uc_addr()
3984 rar_entries--, netdev_for_each_uc_addr()
3990 for (; rar_entries > 0 ; rar_entries--) {
3991 wr32(E1000_RAH(rar_entries), 0);
3992 wr32(E1000_RAL(rar_entries), 0);
/linux-4.4.14/drivers/net/ethernet/intel/e1000/
H A De1000_main.c2244 int i, rar_entries = E1000_RAR_ENTRIES; e1000_set_rx_mode() local
2268 if (netdev_uc_count(netdev) > rar_entries - 1) { e1000_set_rx_mode()
2292 if (i == rar_entries) netdev_for_each_uc_addr()
2298 if (i == rar_entries) { netdev_for_each_mc_addr()
2311 for (; i < rar_entries; i++) {

Completed in 255 milliseconds