[dpdk-dev] [PATCH] Added jumboframe RX offload flag in example using 9KB packets

Burdick, Cliff Cliff.Burdick at viasat.com
Wed Nov 7 00:06:09 CET 2018


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 at 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



More information about the dev mailing list