Searched refs:mta_list (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 1413 u8 *mta_list = NULL; in igbvf_set_multi() local 1417 mta_list = kmalloc_array(netdev_mc_count(netdev), ETH_ALEN, in igbvf_set_multi() 1419 if (!mta_list) in igbvf_set_multi() 1426 memcpy(mta_list + (i++ * ETH_ALEN), ha->addr, ETH_ALEN); in igbvf_set_multi() 1430 hw->mac.ops.update_mc_addr_list(hw, mta_list, i, 0, 0); in igbvf_set_multi() 1433 kfree(mta_list); in igbvf_set_multi()
|
/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 3310 u8 *mta_list; in e1000e_write_mc_addr_list() local 3319 mta_list = kcalloc(netdev_mc_count(netdev), ETH_ALEN, GFP_ATOMIC); in e1000e_write_mc_addr_list() 3320 if (!mta_list) in e1000e_write_mc_addr_list() 3326 memcpy(mta_list + (i++ * ETH_ALEN), ha->addr, ETH_ALEN); in e1000e_write_mc_addr_list() 3328 hw->mac.ops.update_mc_addr_list(hw, mta_list, i); in e1000e_write_mc_addr_list() 3329 kfree(mta_list); in e1000e_write_mc_addr_list()
|
/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 4823 u8 *mta_list; in igb_write_mc_addr_list() local 4833 mta_list = kcalloc(netdev_mc_count(netdev), 6, GFP_ATOMIC); in igb_write_mc_addr_list() 4834 if (!mta_list) in igb_write_mc_addr_list() 4840 memcpy(mta_list + (i++ * ETH_ALEN), ha->addr, ETH_ALEN); in igb_write_mc_addr_list() 4842 igb_update_mc_addr_list(hw, mta_list, i); in igb_write_mc_addr_list() 4843 kfree(mta_list); in igb_write_mc_addr_list()
|