On 9/8/2021 9:37 AM, Jiawen Wu wrote:
> Add to support Rx jumbo frames.
> 
> Signed-off-by: Jiawen Wu <jiawe...@trustnetic.com>
> ---
>  doc/guides/nics/features/ngbe.ini |  1 +
>  doc/guides/nics/ngbe.rst          |  1 +
>  drivers/net/ngbe/ngbe_rxtx.c      | 11 ++++++++++-
>  3 files changed, 12 insertions(+), 1 deletion(-)
> 
> diff --git a/doc/guides/nics/features/ngbe.ini 
> b/doc/guides/nics/features/ngbe.ini
> index 2a472d9434..30fdfe62c7 100644
> --- a/doc/guides/nics/features/ngbe.ini
> +++ b/doc/guides/nics/features/ngbe.ini
> @@ -8,6 +8,7 @@ Speed capabilities   = Y
>  Link status          = Y
>  Link status event    = Y
>  Queue start/stop     = Y
> +Jumbo frame          = Y
>  Scattered Rx         = Y
>  TSO                  = Y
>  CRC offload          = P
> diff --git a/doc/guides/nics/ngbe.rst b/doc/guides/nics/ngbe.rst
> index 6a6ae39243..702a455041 100644
> --- a/doc/guides/nics/ngbe.rst
> +++ b/doc/guides/nics/ngbe.rst
> @@ -14,6 +14,7 @@ Features
>  - Packet type information
>  - Checksum offload
>  - TSO offload
> +- Jumbo frames
>  - Link state information
>  - Scattered and gather for TX and RX
>  
> diff --git a/drivers/net/ngbe/ngbe_rxtx.c b/drivers/net/ngbe/ngbe_rxtx.c
> index f9d8cf9d19..4238fbe3b8 100644
> --- a/drivers/net/ngbe/ngbe_rxtx.c
> +++ b/drivers/net/ngbe/ngbe_rxtx.c
> @@ -2008,6 +2008,7 @@ ngbe_get_rx_port_offloads(struct rte_eth_dev *dev 
> __rte_unused)
>                  DEV_RX_OFFLOAD_UDP_CKSUM   |
>                  DEV_RX_OFFLOAD_TCP_CKSUM   |
>                  DEV_RX_OFFLOAD_KEEP_CRC    |
> +                DEV_RX_OFFLOAD_JUMBO_FRAME |

There is a patch to remove this offload flag [1], would you be OK to postpone
this patch?

[1]
https://patches.dpdk.org/project/dpdk/list/?series=17956

Reply via email to