Searched refs:new_rcp (Results 1 – 1 of 1) sorted by relevance
1794 struct ice_aqc_recipe_data_elem *new_rcp; in ice_create_lag_recipe() local1801 new_rcp = kzalloc(ICE_RECIPE_LEN * ICE_MAX_NUM_RECIPES, GFP_KERNEL); in ice_create_lag_recipe()1802 if (!new_rcp) in ice_create_lag_recipe()1805 memcpy(new_rcp, base_recipe, ICE_RECIPE_LEN); in ice_create_lag_recipe()1806 new_rcp->content.act_ctrl_fwd_priority = prio; in ice_create_lag_recipe()1807 new_rcp->content.rid = *rid | ICE_AQ_RECIPE_ID_IS_ROOT; in ice_create_lag_recipe()1808 new_rcp->recipe_indx = *rid; in ice_create_lag_recipe()1809 bitmap_zero((unsigned long *)new_rcp->recipe_bitmap, in ice_create_lag_recipe()1811 set_bit(*rid, (unsigned long *)new_rcp->recipe_bitmap); in ice_create_lag_recipe()1813 err = ice_aq_add_recipe(hw, new_rcp, 1, NULL); in ice_create_lag_recipe()[all …]