Searched refs:mta_list (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/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()
|
/Linux-v6.6/drivers/net/ethernet/intel/igc/ |
D | igc_main.c | 1014 u8 *mta_list; in igc_write_mc_addr_list() local 1023 mta_list = kcalloc(netdev_mc_count(netdev), 6, GFP_ATOMIC); in igc_write_mc_addr_list() 1024 if (!mta_list) in igc_write_mc_addr_list() 1030 memcpy(mta_list + (i++ * ETH_ALEN), ha->addr, ETH_ALEN); in igc_write_mc_addr_list() 1032 igc_update_mc_addr_list(hw, mta_list, i); in igc_write_mc_addr_list() 1033 kfree(mta_list); in igc_write_mc_addr_list()
|
/Linux-v6.6/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 3312 u8 *mta_list; in e1000e_write_mc_addr_list() local 3321 mta_list = kcalloc(netdev_mc_count(netdev), ETH_ALEN, GFP_ATOMIC); in e1000e_write_mc_addr_list() 3322 if (!mta_list) in e1000e_write_mc_addr_list() 3328 memcpy(mta_list + (i++ * ETH_ALEN), ha->addr, ETH_ALEN); in e1000e_write_mc_addr_list() 3330 hw->mac.ops.update_mc_addr_list(hw, mta_list, i); in e1000e_write_mc_addr_list() 3331 kfree(mta_list); in e1000e_write_mc_addr_list()
|
/Linux-v6.6/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 5117 u8 *mta_list; in igb_write_mc_addr_list() local 5127 mta_list = kcalloc(netdev_mc_count(netdev), 6, GFP_ATOMIC); in igb_write_mc_addr_list() 5128 if (!mta_list) in igb_write_mc_addr_list() 5134 memcpy(mta_list + (i++ * ETH_ALEN), ha->addr, ETH_ALEN); in igb_write_mc_addr_list() 5136 igb_update_mc_addr_list(hw, mta_list, i); in igb_write_mc_addr_list() 5137 kfree(mta_list); in igb_write_mc_addr_list()
|