numam-dpdk/drivers/net/mlx4
Adrien Mazarguil 1d173da83e net/mlx4: fix default RSS hash fields
Using special types value -1 with mlx4_conv_rss_types() is supposed to
return a supported set of Verbs RSS hash fields, that is, priv->hw_rss_sup
unmodified.

Due to the way this function is written and because it is also used to
initially populate priv->hw_rss_sup however, this special value works
properly only once and fails with ENOTSUP errors afterward.

This problem can be seen when re-creating default flows (e.g. by entering
and leaving isolated mode).

Fixes: 024e87bef4 ("net/mlx4: restore UDP RSS by probing capabilities")
Cc: stable@dpdk.org

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
2018-05-02 19:28:48 +02:00
..
Makefile net/mlx: fix warnings for unused compiler arguments 2018-04-14 00:40:21 +02:00
mlx4_ethdev.c drivers/net: update link status 2018-04-27 15:54:56 +01:00
mlx4_flow.c net/mlx4: fix default RSS hash fields 2018-05-02 19:28:48 +02:00
mlx4_flow.h ethdev: flatten RSS configuration in flow API 2018-04-27 18:00:53 +01:00
mlx4_glue.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_glue.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_intr.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_mr.c net/mlx4: fix alignment of memory region 2018-04-27 15:54:56 +01:00
mlx4_prm.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_rxq.c net/mlx4: fix Rx resource leak in case of error 2018-05-02 19:28:48 +02:00
mlx4_rxtx.c net/mlx4: support CRC strip toggling 2018-04-14 00:43:30 +02:00
mlx4_rxtx.h ethdev: flatten RSS configuration in flow API 2018-04-27 18:00:53 +01:00
mlx4_txq.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_utils.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_utils.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4.c net/mlx4: fix default RSS hash fields 2018-05-02 19:28:48 +02:00
mlx4.h net/mlx4: fix Rx resource leak in case of error 2018-05-02 19:28:48 +02:00
rte_pmd_mlx4_version.map