DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] Added jumboframe RX offload flag in example using 9KB packets
@ 2018-11-06 23:06 Burdick, Cliff
  0 siblings, 0 replies; only message in thread
From: Burdick, Cliff @ 2018-11-06 23:06 UTC (permalink / raw)
  To: dev

I apologize if any formatting is wrong here, since this is my first post. I noticed with i40e jumboframes cannot be received without the offload flag set, even though the max_rx_pkt_len is set to 9000. This is the case in the ip_pipeline example, so I don't think packets that large would work until the offload is set.



Signed-off-by: Cliff Burdick <cliff.burdick@viasat.com>

---

examples/ip_pipeline/link.c | 1 +

1 file changed, 1 insertion(+)



diff --git a/examples/ip_pipeline/link.c b/examples/ip_pipeline/link.c index 787eb866a..45d55cd1f 100644

--- a/examples/ip_pipeline/link.c

+++ b/examples/ip_pipeline/link.c

@@ -48,6 +48,7 @@ static struct rte_eth_conf port_conf_default = {

                               .mq_mode = ETH_MQ_RX_NONE,

                               .max_rx_pkt_len = 9000, /* Jumbo frame max packet len */

                               .split_hdr_size = 0, /* Header split buffer size */

+                             .offloads = DEV_RX_OFFLOAD_JUMBO_FRAME,

               },

               .rx_adv_conf = {

                               .rss_conf = {

--

2.17.1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-11-06 23:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-06 23:06 [dpdk-dev] [PATCH] Added jumboframe RX offload flag in example using 9KB packets Burdick, Cliff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).