[dpdk-dev] [EXT] Re: [PATCH v3] net/kni: calc mbuf&mtu according to given mb_pool

Liron Himi lironh at marvell.com
Sun Mar 24 11:05:29 CET 2019


Fixed. thanks

From: Rami Rosen <ramirose at gmail.com>
Sent: Saturday, March 23, 2019 23:49
To: Liron Himi <lironh at marvell.com>
Cc: ferruh.yigit at intel.com; dev at dpdk.org; Alan Winkowski <walan at marvell.com>
Subject: [EXT] Re: [dpdk-dev] [PATCH v3] net/kni: calc mbuf&mtu according to given mb_pool

External Email
________________________________

<lironh at marvell.com<mailto:lironh at marvell.com>>:
From: Liron Himi <lironh at marvell.com<mailto:lironh at marvell.com>>

- mbuf_size and mtu are now being calculated according
to the given mb-pool.

- max_mtu is now being set according to the given mtu

the above two changes provide the ability to work with jumbo frames

Signed-off-by: Liron Himi <lironh at marvell.com<mailto:lironh at marvell.com>>

Minors:
without it-> Without it
th given-> the given
if the bm-pool -> if the mb-pool

+* **Updated KNI kernel module, KNI PMD driver.**
+
+  Updated the KNI kernel module to set the max_mtu according to the given
+  initial mtu size. without it, the maximum mtu was 1500.
+
+  Updated the KNI PMD driver to set the mbuf_size and mtu based on
+  th given mb-pool. This provide the ability to pass jumbo frames
+  if the bm-pool contains suitable buffers' size.
+

Reviewd-by: Rami Rosen <ramirose at gmail.com<mailto:ramirose at gmail.com>>



More information about the dev mailing list