Home
last modified time | relevance | path

Searched refs:new_rcp (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_lag.c1862 struct ice_aqc_recipe_data_elem *new_rcp; in ice_create_lag_recipe() local
1869 new_rcp = kzalloc(ICE_RECIPE_LEN * ICE_MAX_NUM_RECIPES, GFP_KERNEL); in ice_create_lag_recipe()
1870 if (!new_rcp) in ice_create_lag_recipe()
1873 memcpy(new_rcp, base_recipe, ICE_RECIPE_LEN); in ice_create_lag_recipe()
1874 new_rcp->content.act_ctrl_fwd_priority = prio; in ice_create_lag_recipe()
1875 new_rcp->content.rid = *rid | ICE_AQ_RECIPE_ID_IS_ROOT; in ice_create_lag_recipe()
1876 new_rcp->recipe_indx = *rid; in ice_create_lag_recipe()
1877 bitmap_zero((unsigned long *)new_rcp->recipe_bitmap, in ice_create_lag_recipe()
1879 set_bit(*rid, (unsigned long *)new_rcp->recipe_bitmap); in ice_create_lag_recipe()
1881 err = ice_aq_add_recipe(hw, new_rcp, 1, NULL); in ice_create_lag_recipe()
[all …]