numam-dpdk/drivers/net/mlx5
Viacheslav Ovsiienko c9333f457e net/mlx5: fix netlink RDMA socket callback routine
The mlx5 PMD uses Netlink socket to communicate with Infiniband
devices kernel drivers to perform some control and setup operations.
The kernel drivers send the information back to the user mode
with Netlink messages which are processed in libnl callback routine.
This routine perform reply message (or set of messages) processing
and returned the processing result in ibindex field of provided
context structure (of mlx5_nl_ifindex_data type). The zero ibindex
value meant an error of reply message processing. It was found in
some configurations the zero is valid value for ibindex and error
was wrongly raised. To avoid this the new flags field is provided
in context structure, attribute processing flags are introduced
and these flags are used to decide whether no error occurred and
valid queried values are returned.

Fixes: e505508a38 ("net/mlx5: modify get ifindex routine for multiport IB")
Cc: stable@dpdk.org

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
2019-09-20 10:19:41 +02:00
..
Makefile net/mlx5: add VLAN push/pop DR commands to glue 2019-09-20 10:19:41 +02:00
meson.build net/mlx5: add VLAN push/pop DR commands to glue 2019-09-20 10:19:41 +02:00
mlx5_defs.h net/mlx5: fix Tx completion request generation 2019-07-29 18:05:10 +02:00
mlx5_devx_cmds.c net/mlx5: create advanced RxQ table via DevX 2019-07-23 14:31:36 +02:00
mlx5_ethdev.c net/mlx5: support reading module EEPROM data 2019-09-20 10:19:41 +02:00
mlx5_flow_dv.c net/mlx5: support modify VLAN ID on existing VLAN header 2019-09-20 10:19:41 +02:00
mlx5_flow_verbs.c net/mlx5: add workaround for VLAN in virtual machine 2019-08-06 17:42:12 +02:00
mlx5_flow.c net/mlx5: support flow action search in a list 2019-09-20 10:19:41 +02:00
mlx5_flow.h net/mlx5: support modify VLAN ID on existing VLAN header 2019-09-20 10:19:41 +02:00
mlx5_glue.c net/mlx5: add VLAN push/pop DR commands to glue 2019-09-20 10:19:41 +02:00
mlx5_glue.h net/mlx5: add VLAN push/pop DR commands to glue 2019-09-20 10:19:41 +02:00
mlx5_mac.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
mlx5_mp.c net/mlx5: recover secondary process Rx errors 2019-06-14 00:01:06 +09:00
mlx5_mr.c remove useless include of EAL memory config header 2019-10-09 10:22:24 +02:00
mlx5_mr.h remove useless include of EAL memory config header 2019-10-09 10:22:24 +02:00
mlx5_nl.c net/mlx5: fix netlink RDMA socket callback routine 2019-09-20 10:19:41 +02:00
mlx5_prm.h net/mlx5: support modify VLAN ID on existing VLAN header 2019-09-20 10:19:41 +02:00
mlx5_rss.c net/mlx: prefix private structure 2019-03-01 18:17:35 +01:00
mlx5_rxmode.c net/mlx: prefix private structure 2019-03-01 18:17:35 +01:00
mlx5_rxq.c net/mlx5: allow LRO per Rx queue 2019-07-29 16:54:27 +02:00
mlx5_rxtx_vec_neon.h net/mlx5: remove Tx implementation 2019-07-23 14:31:36 +02:00
mlx5_rxtx_vec_sse.h net/mlx5: update LRO fields in completion entry 2019-07-23 14:31:36 +02:00
mlx5_rxtx_vec.c net/mlx5: allow LRO per Rx queue 2019-07-29 16:54:27 +02:00
mlx5_rxtx_vec.h net/mlx5: update LRO fields in completion entry 2019-07-23 14:31:36 +02:00
mlx5_rxtx.c net/mlx5: fix Tx descriptor with VLAN insertions 2019-09-20 10:19:41 +02:00
mlx5_rxtx.h net/mlx5: fix missing packet type for IP-in-IP 2019-09-06 17:15:14 +02:00
mlx5_stats.c net/mlx5: fix RxQ errors stat 2019-06-06 20:21:20 +09:00
mlx5_trigger.c net/mlx5: allow LRO per Rx queue 2019-07-29 16:54:27 +02:00
mlx5_txq.c net/mlx5: fix inline data settings 2019-08-06 17:42:12 +02:00
mlx5_utils.h net/mlx5: fix build on PPC64 2018-11-14 00:35:53 +01:00
mlx5_vlan.c net/mlx5: create advanced RxQ via DevX 2019-07-23 14:31:36 +02:00
mlx5.c net/mlx5: support reading module EEPROM data 2019-09-20 10:19:41 +02:00
mlx5.h net/mlx5: support reading module EEPROM data 2019-09-20 10:19:41 +02:00
rte_pmd_mlx5_version.map mlx5: introduce new driver for Mellanox ConnectX-4 adapters 2015-10-30 22:03:42 +01:00