DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/mlx5: fix MTU update Changing the MTU is not related to changing the number of segments, activating or not the multi-segment support should be handled by the application.
@ 2018-01-28 13:39 Erez Ferber
  2018-01-29  8:16 ` Nélio Laranjeiro
  0 siblings, 1 reply; 2+ messages in thread
From: Erez Ferber @ 2018-01-28 13:39 UTC (permalink / raw)
  To: dev; +Cc: Erez Ferber

This is a backport based on commit
a0edafe4099b1ef139242abb7baa2c2a48b83fd2
Signed-off-by: Erez Ferber <erezf@mellanox.com>
---
 drivers/net/mlx5/mlx5_ethdev.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/net/mlx5/mlx5_ethdev.c b/drivers/net/mlx5/mlx5_ethdev.c
index c0f73e9..f73d26e 100644
--- a/drivers/net/mlx5/mlx5_ethdev.c
+++ b/drivers/net/mlx5/mlx5_ethdev.c
@@ -930,9 +930,7 @@ recover:
 		/* Provide new values to rxq_setup(). */
 		dev->data->dev_conf.rxmode.jumbo_frame = sp;
 		dev->data->dev_conf.rxmode.max_rx_pkt_len = max_frame_len;
-		if (rehash)
-			ret = rxq_rehash(dev, rxq_ctrl);
-		else
+		if (!rehash)
 			ret = rxq_ctrl_setup(dev, rxq_ctrl, 1 << rxq->elts_n,
 					     rxq_ctrl->socket, NULL, rxq->mp);
 		if (!ret)
-- 
1.8.2.3

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

* Re: [dpdk-dev] [PATCH] net/mlx5: fix MTU update Changing the MTU is not related to changing the number of segments, activating or not the multi-segment support should be handled by the application.
  2018-01-28 13:39 [dpdk-dev] [PATCH] net/mlx5: fix MTU update Changing the MTU is not related to changing the number of segments, activating or not the multi-segment support should be handled by the application Erez Ferber
@ 2018-01-29  8:16 ` Nélio Laranjeiro
  0 siblings, 0 replies; 2+ messages in thread
From: Nélio Laranjeiro @ 2018-01-29  8:16 UTC (permalink / raw)
  To: Erez Ferber; +Cc: dev

Hi Erez,

On Sun, Jan 28, 2018 at 03:39:47PM +0200, Erez Ferber wrote:
> This is a backport based on commit
> a0edafe4099b1ef139242abb7baa2c2a48b83fd2

There is some issues in this commit, first the title line exceed the
75 characters.

Second it is submitted on the dev mailing list whereas it seems to be
targeting a stable branch, in should have been posted on
stable@dpdk.org and according to the sha-1 I would say the target is
the 17.08.

Can you make things clearer?

> Signed-off-by: Erez Ferber <erezf@mellanox.com>
> ---
>  drivers/net/mlx5/mlx5_ethdev.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/drivers/net/mlx5/mlx5_ethdev.c b/drivers/net/mlx5/mlx5_ethdev.c
> index c0f73e9..f73d26e 100644
> --- a/drivers/net/mlx5/mlx5_ethdev.c
> +++ b/drivers/net/mlx5/mlx5_ethdev.c
> @@ -930,9 +930,7 @@ recover:
>  		/* Provide new values to rxq_setup(). */
>  		dev->data->dev_conf.rxmode.jumbo_frame = sp;
>  		dev->data->dev_conf.rxmode.max_rx_pkt_len = max_frame_len;
> -		if (rehash)
> -			ret = rxq_rehash(dev, rxq_ctrl);
> -		else
> +		if (!rehash)
>  			ret = rxq_ctrl_setup(dev, rxq_ctrl, 1 << rxq->elts_n,
>  					     rxq_ctrl->socket, NULL, rxq->mp);
>  		if (!ret)
> -- 
> 1.8.2.3

-- 
Nélio Laranjeiro
6WIND

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

end of thread, other threads:[~2018-01-29  8:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-28 13:39 [dpdk-dev] [PATCH] net/mlx5: fix MTU update Changing the MTU is not related to changing the number of segments, activating or not the multi-segment support should be handled by the application Erez Ferber
2018-01-29  8:16 ` Nélio Laranjeiro

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