numam-dpdk/drivers
Viacheslav Ovsiienko 0deb984fd7 net/mlx5: fix TC rule handle assignment
When tc rule is created via Netlink message application
can provide the unique rule value which can be accepted
by the kernel. Than rule is managed with this assigned
handle. It was found that kernel can reject the proposed
handle and assign its own handle value, the rule control
is lost, because application uses its initially prorosed
rule handle and knows nothing about handle been repleced.

The kernel can assign handle automatically, the application
can get the assigned handle value by specifying NLM_F_ECHO
flag in Netlink message when rule is being created. The
kernel sends back the full descriptor of rule and handle
can be retrieved from and stored by application for further
rule management.

Fixes: 57123c00c1 ("net/mlx5: add Linux TC flower driver for E-Switch flow")
Cc: stable@dpdk.org

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
2019-01-24 14:53:10 +01:00
..
baseband bb/turbo_sw: update for FlexRAN 18.09 2018-12-19 11:19:10 +01:00
bus vfio: fix error message 2019-01-23 22:49:11 +01:00
common compress/qat: fix dequeue error counter 2018-12-19 11:19:10 +01:00
compress compress/isal: fix build with old library version 2019-01-19 00:07:52 +01:00
crypto crypto/aesni_mb: fix build with custom dependency path 2019-01-22 17:14:04 +01:00
event fix global variable issues 2018-10-29 02:34:27 +01:00
mempool mempool/dpaa2: support saving context of buffer pool 2019-01-14 17:44:29 +01:00
net net/mlx5: fix TC rule handle assignment 2019-01-24 14:53:10 +01:00
raw raw/ifpga: fix memory leak 2019-01-19 00:07:52 +01:00
Makefile drivers: add common as dependency for bus 2018-10-16 14:54:25 +02:00
meson.build build: change default driver installation directory 2018-10-27 23:22:12 +02:00