Home
last modified time | relevance | path

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

/dpdk/lib/gso/
H A Dgso_tunnel_tcp4.c10 struct rte_mbuf **segs, uint16_t nb_segs) in update_tunnel_ipv4_tcp_headers() argument
43 update_ipv4_header(segs[i], outer_ipv4_offset, outer_id); in update_tunnel_ipv4_tcp_headers()
45 update_udp_header(segs[i], udp_gre_offset); in update_tunnel_ipv4_tcp_headers()
46 update_ipv4_header(segs[i], inner_ipv4_offset, inner_id); in update_tunnel_ipv4_tcp_headers()
47 update_tcp_header(segs[i], tcp_offset, sent_seq, i < tail_idx); in update_tunnel_ipv4_tcp_headers()
50 sent_seq += (segs[i]->pkt_len - segs[i]->data_len); in update_tunnel_ipv4_tcp_headers()
H A Dgso_tunnel_udp4.c11 update_tunnel_ipv4_udp_headers(struct rte_mbuf *pkt, struct rte_mbuf **segs, in update_tunnel_ipv4_udp_headers() argument
37 update_ipv4_header(segs[i], outer_ipv4_offset, outer_id); in update_tunnel_ipv4_udp_headers()
38 update_udp_header(segs[i], outer_udp_offset); in update_tunnel_ipv4_udp_headers()
39 update_ipv4_header(segs[i], inner_ipv4_offset, inner_id); in update_tunnel_ipv4_udp_headers()
46 (rte_pktmbuf_mtod(segs[i], char *) + in update_tunnel_ipv4_udp_headers()
51 length = segs[i]->pkt_len - inner_ipv4_offset - pkt->l3_len; in update_tunnel_ipv4_udp_headers()
H A Dgso_tcp4.c10 struct rte_mbuf **segs, uint16_t nb_segs) in update_ipv4_tcp_headers() argument
27 update_ipv4_header(segs[i], l3_offset, id); in update_ipv4_tcp_headers()
28 update_tcp_header(segs[i], l4_offset, sent_seq, i < tail_idx); in update_ipv4_tcp_headers()
30 sent_seq += (segs[i]->pkt_len - segs[i]->data_len); in update_ipv4_tcp_headers()
H A Dgso_udp4.c11 update_ipv4_udp_headers(struct rte_mbuf *pkt, struct rte_mbuf **segs, in update_ipv4_udp_headers() argument
25 ipv4_hdr = rte_pktmbuf_mtod_offset(segs[i], in update_ipv4_udp_headers()
27 length = segs[i]->pkt_len - l2_hdrlen; in update_ipv4_udp_headers()
/dpdk/drivers/net/ice/base/
H A Dice_flow.c1098 hdrs = prof->segs[i].hdrs; in ice_flow_proc_seg_hdrs()
1900 if (segs[i].hdrs != p->segs[i].hdrs || in ice_flow_find_prof_conds()
1902 segs[i].match != p->segs[i].match)) in ice_flow_find_prof_conds()
2221 ice_memcpy(&params->prof->segs[i], &segs[i], sizeof(*segs), in ice_flow_add_prof_sync()
2637 if (!segs) in ice_flow_add_prof()
3744 seg = &segs[seg_cnt - 1]; in ice_flow_set_rss_seg_info()
4205 sizeof(*segs)); in ice_add_rss_cfg_sync()
4206 if (!segs) in ice_add_rss_cfg_sync()
4300 ice_free(hw, segs); in ice_add_rss_cfg_sync()
4368 if (!segs) in ice_rem_rss_cfg_sync()
[all …]
H A Dice_flow.h486 struct ice_flow_seg_info segs[ICE_FLOW_SEG_MAX]; member
550 struct ice_flow_seg_info *segs, u8 segs_cnt);
553 u64 prof_id, struct ice_flow_seg_info *segs, u8 segs_cnt,
/dpdk/doc/guides/tools/
H A Dcomp_perf.rst30 if the max-num-sgl-segs x seg_sz > input size then segments number in
31 the chain will be lower than value passed into max-num-sgl-segs.
81 ``--max-num-sgl-segs N``: maximum number of segments for each mbuf (default: 16)
108 …--compress-level 1:1:9 --num-iter 10 --extended-input-sz 1048576 --max-num-sgl-segs 16 --huffman-…
/dpdk/drivers/net/netvsc/
H A Dhn_rxtx.c1405 unsigned int segs = 0; in hn_fill_sg() local
1417 sg[segs].page = page; in hn_fill_sg()
1418 sg[segs].ofs = offset; in hn_fill_sg()
1419 sg[segs].len = bytes; in hn_fill_sg()
1420 segs++; in hn_fill_sg()
1429 return segs; in hn_fill_sg()
1444 unsigned int segs; in hn_xmit_sg() local
1461 segs = 1; in hn_xmit_sg()
1465 segs += hn_fill_sg(sg + 1, m); in hn_xmit_sg()
1469 segs, nvs_rndis.chim_sz); in hn_xmit_sg()
[all …]
/dpdk/drivers/net/vmxnet3/
H A Dvmxnet3_rxtx.c679 uint8_t segs; in vmxnet3_guess_mss() local
716 segs = *vmxnet3_segs_dynfield(rxm); in vmxnet3_guess_mss()
717 if (segs > 1) in vmxnet3_guess_mss()
718 return (rte_pktmbuf_pkt_len(rxm) - hlen + segs - 1) / segs; in vmxnet3_guess_mss()
/dpdk/drivers/net/qede/base/
H A Decore_cxt.c169 struct ecore_tid_seg *segs = p_cfg->tid_seg; in ecore_cxt_tm_iids() local
175 iids->pf_tids[j] += segs[j].count; in ecore_cxt_tm_iids()
181 iids->per_vf_tids += segs[NUM_TASK_PF_SEGMENTS].count; in ecore_cxt_tm_iids()
199 struct ecore_tid_seg *segs; in ecore_cxt_qm_iids() local
207 segs = p_mngr->conn_cfg[type].tid_seg; in ecore_cxt_qm_iids()
212 iids->tids += segs[j].count; in ecore_cxt_qm_iids()
218 vf_tids += segs[NUM_TASK_PF_SEGMENTS].count; in ecore_cxt_qm_iids()
/dpdk/drivers/net/cnxk/
H A Dcn9k_tx.h471 sg->segs = 3; in cn9k_nix_prepare_mseg()
481 sg->segs = i; in cn9k_nix_prepare_mseg()
716 sg->segs = 3; in cn9k_nix_prepare_mseg_vec_list()
725 sg->segs = i; in cn9k_nix_prepare_mseg_vec_list()
H A Dcn10k_tx.h917 sg->segs = 3; in cn10k_nix_prepare_mseg()
927 sg->segs = i; in cn10k_nix_prepare_mseg()
1318 sg->segs = 3; in cn10k_nix_prepare_mseg_vec_list()
1327 sg->segs = i; in cn10k_nix_prepare_mseg_vec_list()
/dpdk/app/test/
H A Dtest_cryptodev.c8554 int segs = 1; in test_pdcp_proto_SGL() local
8625 ++segs; in test_pdcp_proto_SGL()
8654 ut_params->ibuf->nb_segs = segs; in test_pdcp_proto_SGL()
8656 segs = 1; in test_pdcp_proto_SGL()
8663 ++segs; in test_pdcp_proto_SGL()
13047 uint32_t segs = 1; in test_AES_GMAC_authentication_SGL() local
13108 ++segs; in test_AES_GMAC_authentication_SGL()
14289 int segs = 1; in test_authenticated_encryption_SGL() local
14405 ++segs; in test_authenticated_encryption_SGL()
14448 segs = 1; in test_authenticated_encryption_SGL()
[all …]
/dpdk/drivers/common/cnxk/hw/
H A Dnix.h1558 uint64_t segs : 2; member
1771 uint64_t segs : 2; member