DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/mlx4: advertise jumbo frame support in Rx
@ 2018-07-31 16:13 Moti Haimovsky
  2018-08-01 10:14 ` Matan Azrad
  0 siblings, 1 reply; 3+ messages in thread
From: Moti Haimovsky @ 2018-07-31 16:13 UTC (permalink / raw)
  To: matan; +Cc: dev, Moti Haimovsky

This commit adds the missing Rx jumbo frame support advertisement
in Rx offload capabilities.

Signed-off-by: Moti Haimovsky <motih@mellanox.com>
---
 drivers/net/mlx4/mlx4_rxq.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/mlx4/mlx4_rxq.c b/drivers/net/mlx4/mlx4_rxq.c
index e8bef1d..9737da2 100644
--- a/drivers/net/mlx4/mlx4_rxq.c
+++ b/drivers/net/mlx4/mlx4_rxq.c
@@ -679,7 +679,8 @@ struct mlx4_rss *
 {
 	uint64_t offloads = DEV_RX_OFFLOAD_SCATTER |
 			    DEV_RX_OFFLOAD_CRC_STRIP |
-			    DEV_RX_OFFLOAD_KEEP_CRC;
+			    DEV_RX_OFFLOAD_KEEP_CRC |
+			    DEV_RX_OFFLOAD_JUMBO_FRAME;
 
 	if (priv->hw_csum)
 		offloads |= DEV_RX_OFFLOAD_CHECKSUM;
-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] net/mlx4: advertise jumbo frame support in Rx
  2018-07-31 16:13 [dpdk-dev] [PATCH] net/mlx4: advertise jumbo frame support in Rx Moti Haimovsky
@ 2018-08-01 10:14 ` Matan Azrad
  2018-08-01 12:51   ` Shahaf Shuler
  0 siblings, 1 reply; 3+ messages in thread
From: Matan Azrad @ 2018-08-01 10:14 UTC (permalink / raw)
  To: Mordechay Haimovsky; +Cc: dev

Hi Moti

From: Mordechay Haimovsky
> This commit adds the missing Rx jumbo frame support advertisement in Rx
> offload capabilities.
> 
> Signed-off-by: Moti Haimovsky <motih@mellanox.com>
> ---
>  drivers/net/mlx4/mlx4_rxq.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/net/mlx4/mlx4_rxq.c b/drivers/net/mlx4/mlx4_rxq.c index
> e8bef1d..9737da2 100644
> --- a/drivers/net/mlx4/mlx4_rxq.c
> +++ b/drivers/net/mlx4/mlx4_rxq.c
> @@ -679,7 +679,8 @@ struct mlx4_rss *
>  {
>  	uint64_t offloads = DEV_RX_OFFLOAD_SCATTER |
>  			    DEV_RX_OFFLOAD_CRC_STRIP |
> -			    DEV_RX_OFFLOAD_KEEP_CRC;
> +			    DEV_RX_OFFLOAD_KEEP_CRC |
> +			    DEV_RX_OFFLOAD_JUMBO_FRAME;
> 
>  	if (priv->hw_csum)
>  		offloads |= DEV_RX_OFFLOAD_CHECKSUM;
> --

This patch should be backported to the stable branch.

Shahaf, can you add cc stable in the integration?

Cc: stable@dpdk.org

Acked-by: Matan Azrad <matan@mellanox.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] net/mlx4: advertise jumbo frame support in Rx
  2018-08-01 10:14 ` Matan Azrad
@ 2018-08-01 12:51   ` Shahaf Shuler
  0 siblings, 0 replies; 3+ messages in thread
From: Shahaf Shuler @ 2018-08-01 12:51 UTC (permalink / raw)
  To: Matan Azrad, Mordechay Haimovsky; +Cc: dev

Wednesday, August 1, 2018 1:15 PM, Matan Azrad:
> Subject: Re: [dpdk-dev] [PATCH] net/mlx4: advertise jumbo frame support in
> Rx
> 
> Hi Moti
> 
> From: Mordechay Haimovsky
> > This commit adds the missing Rx jumbo frame support advertisement in
> > Rx offload capabilities.
> >
> > Signed-off-by: Moti Haimovsky <motih@mellanox.com>
> > ---
> >  drivers/net/mlx4/mlx4_rxq.c | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/drivers/net/mlx4/mlx4_rxq.c b/drivers/net/mlx4/mlx4_rxq.c
> > index
> > e8bef1d..9737da2 100644
> > --- a/drivers/net/mlx4/mlx4_rxq.c
> > +++ b/drivers/net/mlx4/mlx4_rxq.c
> > @@ -679,7 +679,8 @@ struct mlx4_rss *
> >  {
> >  	uint64_t offloads = DEV_RX_OFFLOAD_SCATTER |
> >  			    DEV_RX_OFFLOAD_CRC_STRIP |
> > -			    DEV_RX_OFFLOAD_KEEP_CRC;
> > +			    DEV_RX_OFFLOAD_KEEP_CRC |
> > +			    DEV_RX_OFFLOAD_JUMBO_FRAME;
> >
> >  	if (priv->hw_csum)
> >  		offloads |= DEV_RX_OFFLOAD_CHECKSUM;
> > --
> 
> This patch should be backported to the stable branch.
> 
> Shahaf, can you add cc stable in the integration?
> 
> Cc: stable@dpdk.org
> 
> Acked-by: Matan Azrad <matan@mellanox.com>

Applied to next-net-mlx with Cc'ing stable. Thanks. 

> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-08-01 12:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-31 16:13 [dpdk-dev] [PATCH] net/mlx4: advertise jumbo frame support in Rx Moti Haimovsky
2018-08-01 10:14 ` Matan Azrad
2018-08-01 12:51   ` Shahaf Shuler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).