[dpdk-dev] [PATCH v5] net/kni: calc mbuf&mtu according to given mb_pool
Ferruh Yigit
ferruh.yigit at intel.com
Mon Mar 25 22:11:04 CET 2019
On 3/25/2019 8:48 PM, lironh at marvell.com wrote:
> From: Liron Himi <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>
> ---
<...>
> @@ -187,6 +187,8 @@ The ``struct rte_kni_conf`` structure contains fields which allow the
> user to specify the interface name, set the MTU size, set an explicit or
> random MAC address and control the affinity of the kernel Rx thread(s)
> (both single and multi-threaded modes).
> +by default kni sample gets mtu from matching device, and for kni pmd it
> +is derived from mbuf buffer length,
Hi Liron,
I can see you copy/pasted the comment to the doc, but the intention was not to
use it exactly. This is a public documentation, can you please correct the
wording, cases and punctuation, please make it something documentation quality.
More information about the dev
mailing list