netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] net/mlx5e: IPoIB, Fix copy-paste bug in flow steering refactoring
@ 2018-01-27  0:16 Saeed Mahameed
  2018-01-29 19:25 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Saeed Mahameed @ 2018-01-27  0:16 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev, Gal Pressman, Saeed Mahameed

From: Gal Pressman <galp@mellanox.com>

On TTC table creation, the indirection TIRs should be used instead of
the inner indirection TIRs.

Fixes: 1ae1df3a1193 ("net/mlx5e: Refactor RSS related objects and code")
Signed-off-by: Gal Pressman <galp@mellanox.com>
Reviewed-by: Shalom Lagziel <shaloml@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
---
 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c b/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c
index 264504a990ca..1f50b77a081d 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c
@@ -271,7 +271,7 @@ static int mlx5i_create_flow_steering(struct mlx5e_priv *priv)
 
 	mlx5e_set_ttc_ft_params(&ttc_params);
 	for (tt = 0; tt < MLX5E_NUM_INDIR_TIRS; tt++)
-		ttc_params.indir_tirn[tt] = priv->inner_indir_tir[tt].tirn;
+		ttc_params.indir_tirn[tt] = priv->indir_tir[tt].tirn;
 
 	err = mlx5e_create_ttc_table(priv, &ttc_params, &priv->fs.ttc);
 	if (err) {
-- 
2.14.3

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

* Re: [PATCH net-next] net/mlx5e: IPoIB, Fix copy-paste bug in flow steering refactoring
  2018-01-27  0:16 [PATCH net-next] net/mlx5e: IPoIB, Fix copy-paste bug in flow steering refactoring Saeed Mahameed
@ 2018-01-29 19:25 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2018-01-29 19:25 UTC (permalink / raw)
  To: saeedm; +Cc: netdev, galp

From: Saeed Mahameed <saeedm@mellanox.com>
Date: Fri, 26 Jan 2018 16:16:45 -0800

> From: Gal Pressman <galp@mellanox.com>
> 
> On TTC table creation, the indirection TIRs should be used instead of
> the inner indirection TIRs.
> 
> Fixes: 1ae1df3a1193 ("net/mlx5e: Refactor RSS related objects and code")
> Signed-off-by: Gal Pressman <galp@mellanox.com>
> Reviewed-by: Shalom Lagziel <shaloml@mellanox.com>
> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>

Applied, thanks.

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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-27  0:16 [PATCH net-next] net/mlx5e: IPoIB, Fix copy-paste bug in flow steering refactoring Saeed Mahameed
2018-01-29 19:25 ` David Miller

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