Searched refs:mta_list (Results 1 – 4 of 4) sorted by relevance
/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 1421 u8 *mta_list = NULL; in igbvf_set_multi() local 1425 mta_list = kmalloc_array(netdev_mc_count(netdev), ETH_ALEN, in igbvf_set_multi() 1427 if (!mta_list) in igbvf_set_multi() 1434 memcpy(mta_list + (i++ * ETH_ALEN), ha->addr, ETH_ALEN); in igbvf_set_multi() 1438 hw->mac.ops.update_mc_addr_list(hw, mta_list, i, 0, 0); in igbvf_set_multi() 1441 kfree(mta_list); in igbvf_set_multi()
|
/drivers/net/ethernet/intel/igc/ |
D | igc_main.c | 876 u8 *mta_list; in igc_write_mc_addr_list() local 885 mta_list = kcalloc(netdev_mc_count(netdev), 6, GFP_ATOMIC); in igc_write_mc_addr_list() 886 if (!mta_list) in igc_write_mc_addr_list() 892 memcpy(mta_list + (i++ * ETH_ALEN), ha->addr, ETH_ALEN); in igc_write_mc_addr_list() 894 igc_update_mc_addr_list(hw, mta_list, i); in igc_write_mc_addr_list() 895 kfree(mta_list); in igc_write_mc_addr_list()
|
/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 3319 u8 *mta_list; in e1000e_write_mc_addr_list() local 3328 mta_list = kcalloc(netdev_mc_count(netdev), ETH_ALEN, GFP_ATOMIC); in e1000e_write_mc_addr_list() 3329 if (!mta_list) in e1000e_write_mc_addr_list() 3335 memcpy(mta_list + (i++ * ETH_ALEN), ha->addr, ETH_ALEN); in e1000e_write_mc_addr_list() 3337 hw->mac.ops.update_mc_addr_list(hw, mta_list, i); in e1000e_write_mc_addr_list() 3338 kfree(mta_list); in e1000e_write_mc_addr_list()
|
/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 5031 u8 *mta_list; in igb_write_mc_addr_list() local 5041 mta_list = kcalloc(netdev_mc_count(netdev), 6, GFP_ATOMIC); in igb_write_mc_addr_list() 5042 if (!mta_list) in igb_write_mc_addr_list() 5048 memcpy(mta_list + (i++ * ETH_ALEN), ha->addr, ETH_ALEN); in igb_write_mc_addr_list() 5050 igb_update_mc_addr_list(hw, mta_list, i); in igb_write_mc_addr_list() 5051 kfree(mta_list); in igb_write_mc_addr_list()
|