Lines Matching defs:lg_act
1371 struct ice_sw_rule_lg_act *lg_act;
1392 lg_act_size = (u16)ice_struct_size(lg_act, act, num_lg_acts);
1395 lg_act = (struct ice_sw_rule_lg_act *)ice_malloc(hw, rules_size);
1396 if (!lg_act)
1399 rx_tx = (struct ice_sw_rule_lkup_rx_tx *)((u8 *)lg_act + lg_act_size);
1402 lg_act->hdr.type = CPU_TO_LE16(ICE_AQC_SW_RULES_T_LG_ACT);
1403 lg_act->index = CPU_TO_LE16(l_id);
1404 lg_act->size = CPU_TO_LE16(num_lg_acts);
1416 lg_act->act[0] = CPU_TO_LE32(act);
1422 lg_act->act[1] = CPU_TO_LE32(act);
1432 lg_act->act[2] = CPU_TO_LE32(act);
1449 status = ice_aq_sw_rules(hw, lg_act, rules_size, 2,
1456 ice_free(hw, lg_act);
1472 struct ice_sw_rule_lg_act *lg_act;
1490 lg_act_size = (u16)ice_struct_size(lg_act, act, num_acts);
1493 lg_act = (struct ice_sw_rule_lg_act *)ice_malloc(hw, rules_size);
1494 if (!lg_act)
1497 rx_tx = (struct ice_sw_rule_lkup_rx_tx *)((u8 *)lg_act +
1501 lg_act->hdr.type = CPU_TO_LE16(ICE_AQC_SW_RULES_T_LG_ACT);
1502 lg_act->index = CPU_TO_LE16(l_id);
1503 lg_act->size = CPU_TO_LE16(num_acts);
1516 lg_act->act[0] = CPU_TO_LE32(act);
1522 lg_act->act[1] = CPU_TO_LE32(act);
1539 status = ice_aq_sw_rules(hw, lg_act, rules_size, 2,
1546 ice_free(hw, lg_act);