Lines Matching defs:segs_cnt

731  * @segs_cnt: number of packet segments provided
733 static int ice_flow_val_hdrs(struct ice_flow_seg_info *segs, u8 segs_cnt)
737 for (i = 0; i < segs_cnt; i++) {
816 for (i = 0; i < params->prof->segs_cnt; i++) {
1290 for (i = 0; i < prof->segs_cnt; i++) {
1352 * @segs_cnt: number of packet segments provided
1360 u8 segs_cnt, bool symm, u16 vsi_handle, u32 conds)
1367 segs_cnt && segs_cnt == p->segs_cnt) {
1384 for (i = 0; i < segs_cnt; i++)
1391 if (i == segs_cnt) {
1445 * @segs_cnt: number of packet segments provided
1454 struct ice_flow_seg_info *segs, u8 segs_cnt,
1491 params->prof->segs_cnt = segs_cnt;
1497 for (i = 0; i < segs_cnt; i++)
1722 * @segs_cnt: number of packet segments provided
1728 struct ice_flow_seg_info *segs, u8 segs_cnt,
1733 if (segs_cnt > ICE_FLOW_SEG_MAX)
1736 if (!segs_cnt)
1742 status = ice_flow_val_hdrs(segs, segs_cnt);
1748 status = ice_flow_add_prof_sync(hw, blk, dir, segs, segs_cnt,
2184 if (prof->segs_cnt == ICE_FLOW_SEG_SINGLE) {
2186 } else if (prof->segs_cnt == ICE_FLOW_SEG_MAX) {
2206 r->hash.hash_flds == prof->segs[prof->segs_cnt - 1].match &&
2207 r->hash.addl_hdrs == prof->segs[prof->segs_cnt - 1].hdrs);
2266 rss_cfg->hash.hash_flds = prof->segs[prof->segs_cnt - 1].match;
2267 rss_cfg->hash.addl_hdrs = prof->segs[prof->segs_cnt - 1].hdrs;
2366 seg = &prof->segs[prof->segs_cnt - 1];
2549 u8 segs_cnt;
2552 segs_cnt = (cfg->hdr_type == ICE_RSS_OUTER_HEADERS) ?
2555 segs = kcalloc(segs_cnt, sizeof(*segs), GFP_KERNEL);
2560 status = ice_flow_set_rss_seg_info(segs, segs_cnt, cfg);
2568 prof = ice_flow_find_prof_conds(hw, blk, ICE_FLOW_RX, segs, segs_cnt,
2581 prof = ice_flow_find_prof_conds(hw, blk, ICE_FLOW_RX, segs, segs_cnt,
2602 prof = ice_flow_find_prof_conds(hw, blk, ICE_FLOW_RX, segs, segs_cnt,
2615 segs, segs_cnt, cfg->symm, &prof);
2697 u8 segs_cnt;
2700 segs_cnt = (cfg->hdr_type == ICE_RSS_OUTER_HEADERS) ?
2702 segs = kcalloc(segs_cnt, sizeof(*segs), GFP_KERNEL);
2707 status = ice_flow_set_rss_seg_info(segs, segs_cnt, cfg);
2711 prof = ice_flow_find_prof_conds(hw, blk, ICE_FLOW_RX, segs, segs_cnt,