Home
last modified time | relevance | path

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

/f-stack/dpdk/lib/librte_gso/
H A Drte_gso.c28 const struct rte_gso_ctx *gso_ctx, in rte_gso_segment() argument
38 if (pkt == NULL || pkts_out == NULL || gso_ctx == NULL || in rte_gso_segment()
40 (ILLEGAL_UDP_GSO_CTX(gso_ctx) && in rte_gso_segment()
41 ILLEGAL_TCP_GSO_CTX(gso_ctx))) in rte_gso_segment()
44 if (gso_ctx->gso_size >= pkt->pkt_len) { in rte_gso_segment()
49 direct_pool = gso_ctx->direct_pool; in rte_gso_segment()
50 indirect_pool = gso_ctx->indirect_pool; in rte_gso_segment()
51 gso_size = gso_ctx->gso_size; in rte_gso_segment()
52 ipid_delta = (gso_ctx->flag != RTE_GSO_FLAG_IPID_FIXED); in rte_gso_segment()
64 (gso_ctx->gso_types & DEV_TX_OFFLOAD_TCP_TSO)) { in rte_gso_segment()
[all …]
/f-stack/dpdk/drivers/net/tap/
H A Drte_eth_tap.c743 struct rte_gso_ctx *gso_ctx = &txq->gso_ctx; in pmd_tx_burst() local
757 gso_ctx->gso_size = tso_segsz; in pmd_tx_burst()
760 gso_ctx, /* gso control block */ in pmd_tx_burst()
1440 gso_ctx->direct_pool = pmd->gso_ctx_mp; in tap_gso_ctx_setup()
1442 gso_ctx->gso_types = gso_types; in tap_gso_ctx_setup()
1444 gso_ctx->flag = 0; in tap_gso_ctx_setup()
1463 struct rte_gso_ctx *gso_ctx; in tap_setup_queue() local
1469 gso_ctx = NULL; in tap_setup_queue()
1474 gso_ctx = &tx->gso_ctx; in tap_setup_queue()
1480 gso_ctx = NULL; in tap_setup_queue()
[all …]
H A Drte_eth_tap.h63 struct rte_gso_ctx gso_ctx; /* GSO context */ member
/f-stack/dpdk/app/test-pmd/
H A Dcsumonly.c798 struct rte_gso_ctx *gso_ctx; in pkt_burst_checksum_forward() local
1077 gso_ctx = &(current_fwd_lcore()->gso_ctx); in pkt_burst_checksum_forward()
1078 gso_ctx->gso_size = gso_max_segment_size; in pkt_burst_checksum_forward()
1080 ret = rte_gso_segment(pkts_burst[i], gso_ctx, in pkt_burst_checksum_forward()
H A Dtestpmd.c1568 fwd_lcores[lc_id]->gso_ctx.direct_pool = mbp; in init_config()
1569 fwd_lcores[lc_id]->gso_ctx.indirect_pool = mbp; in init_config()
1570 fwd_lcores[lc_id]->gso_ctx.gso_types = gso_types; in init_config()
1571 fwd_lcores[lc_id]->gso_ctx.gso_size = RTE_ETHER_MAX_LEN - in init_config()
1573 fwd_lcores[lc_id]->gso_ctx.flag = 0; in init_config()
H A Dtestpmd.h246 struct rte_gso_ctx gso_ctx; /**< GSO context */ member