numam-dpdk/drivers
Dekel Peled 19e13263ed net/mlx5: fix hairpin flow split decision
Previously, the identification of hairpin queue was done using
mlx5_rxq_get_type() function.
Recent patch replaced it with use of mlx5_rxq_get_hairpin_conf(),
and check of the return value conf != NULL.
The case of return value is NULL (queue is not hairpin) was not handled.
As result, non-hairpin flows were wrongly handled.
This patch adds the required check for return value is NULL.

Fixes: 509f8470de ("net/mlx5: do not split hairpin flow in explicit mode")
Cc: stable@dpdk.org

Signed-off-by: Dekel Peled <dekelp@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2021-01-13 19:45:30 +01:00
..
baseband baseband/acc100: remove useless checks 2020-11-02 09:24:40 +01:00
bus bus/pci: ignore missing NUMA node on Windows 2021-01-05 23:01:36 +01:00
common net/octeontx2: support 24B custom L2 header parsing 2021-01-13 19:39:08 +01:00
compress compress/isal: check allocation in queue setup 2020-11-22 13:17:10 +01:00
crypto build: update meson for Marvell Armada drivers 2021-01-08 16:03:05 +01:00
event event/octeontx2: unlink queues during port release 2020-11-20 18:53:47 +01:00
mempool build: align wording of non-support reasons 2020-11-20 16:05:35 +01:00
net net/mlx5: fix hairpin flow split decision 2021-01-13 19:45:30 +01:00
raw raw/ifpga/base: check adapter pointer before dereference 2020-11-13 16:26:54 +01:00
regex regex/mlx5: add response flags 2021-01-12 23:32:04 +01:00
vdpa vdpa/mlx5: add hardware queue moderation 2021-01-08 18:07:56 +01:00
meson.build build: align wording of non-support reasons 2020-11-20 16:05:35 +01:00