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

Rami Rosen ramirose at gmail.com
Sat Mar 23 22:48:48 CET 2019


<lironh at marvell.com>:

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


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>


More information about the dev mailing list