Searched refs:gso_ctx (Results 1 – 6 of 6) sorted by relevance
29 const struct rte_gso_ctx *gso_ctx, in rte_gso_segment() argument39 if (pkt == NULL || pkts_out == NULL || gso_ctx == NULL || in rte_gso_segment()41 (ILLEGAL_UDP_GSO_CTX(gso_ctx) && in rte_gso_segment()42 ILLEGAL_TCP_GSO_CTX(gso_ctx))) in rte_gso_segment()45 if (gso_ctx->gso_size >= pkt->pkt_len) { in rte_gso_segment()50 direct_pool = gso_ctx->direct_pool; in rte_gso_segment()51 indirect_pool = gso_ctx->indirect_pool; in rte_gso_segment()52 gso_size = gso_ctx->gso_size; in rte_gso_segment()66 (gso_ctx->gso_types & RTE_ETH_TX_OFFLOAD_UDP_TSO)) { in rte_gso_segment()72 (gso_ctx->gso_types & RTE_ETH_TX_OFFLOAD_TCP_TSO)) { in rte_gso_segment()[all …]
725 struct rte_gso_ctx *gso_ctx = &txq->gso_ctx; in pmd_tx_burst() local739 gso_ctx->gso_size = tso_segsz; in pmd_tx_burst()742 gso_ctx, /* gso control block */ in pmd_tx_burst()1503 gso_ctx->direct_pool = pmd->gso_ctx_mp; in tap_gso_ctx_setup()1505 gso_ctx->gso_types = gso_types; in tap_gso_ctx_setup()1507 gso_ctx->flag = 0; in tap_gso_ctx_setup()1526 struct rte_gso_ctx *gso_ctx; in tap_setup_queue() local1532 gso_ctx = NULL; in tap_setup_queue()1537 gso_ctx = &tx->gso_ctx; in tap_setup_queue()1543 gso_ctx = NULL; in tap_setup_queue()[all …]
63 struct rte_gso_ctx gso_ctx; /* GSO context */ member
816 struct rte_gso_ctx *gso_ctx; in pkt_burst_checksum_forward() local1112 gso_ctx = &(current_fwd_lcore()->gso_ctx); in pkt_burst_checksum_forward()1113 gso_ctx->gso_size = gso_max_segment_size; in pkt_burst_checksum_forward()1117 ret = rte_gso_segment(pkts_burst[i], gso_ctx, in pkt_burst_checksum_forward()
1729 fwd_lcores[lc_id]->gso_ctx.direct_pool = mbp; in init_config()1730 fwd_lcores[lc_id]->gso_ctx.indirect_pool = mbp; in init_config()1731 fwd_lcores[lc_id]->gso_ctx.gso_types = gso_types; in init_config()1732 fwd_lcores[lc_id]->gso_ctx.gso_size = RTE_ETHER_MAX_LEN - in init_config()1734 fwd_lcores[lc_id]->gso_ctx.flag = 0; in init_config()
297 struct rte_gso_ctx gso_ctx; /**< GSO context */ member