numam-dpdk/drivers/net/mlx5
Bing Zhao 29e091cefe net/mlx5: fix port action resource initialization
After memory optimization, the organization of some resources are
changed from pointer based LIST to the index based ILIST. A lot of
code parts are touched due to such change.
Some static code checking and analysis tool will complain and raise
a false warning on the uninitialized value using. E.g. in the port
action registering function, the stack variable will be used as the
right value with some uninitialized field to initialize variable
allocated from heap. But indeed, it is not an error because all the
fields set with the uninitialized value will be overwritten in the
following code part and the macros. All the fields will be used as
the left value explicitly.
It makes no sense to clear the stack variable to 0 in this case,
and the extra memset will introduce some cycles overhead. It just
needs to ignore the false warning from the tool, if any.

Fixes: f3faf9ea11 ("net/mlx5: convert port id action to indexed")

Signed-off-by: Bing Zhao <bingz@mellanox.com>
Reviewed-by: Matan Azrad <matan@mellanox.com>
Reviewed-by: Suanming Mou <suanmingm@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
2020-05-18 20:35:57 +02:00
..
Makefile build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
meson.build build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
mlx5_defs.h net/mlx5: add device parameter for MPRQ stride size 2020-04-21 13:57:08 +02:00
mlx5_ethdev.c net/mlx5: support 200G link speed 2020-05-11 22:27:39 +02:00
mlx5_flow_dv.c net/mlx5: fix port action resource initialization 2020-05-18 20:35:57 +02:00
mlx5_flow_meter.c net/mlx5: optimize memory for flow meter 2020-04-21 16:18:13 +02:00
mlx5_flow_verbs.c net/mlx5: fix Verbs counter pool allocation 2020-05-18 20:35:57 +02:00
mlx5_flow.c net/mlx5: fix flow counter container resize 2020-05-18 20:35:57 +02:00
mlx5_flow.h net/mlx5: fix flow counter container resize 2020-05-18 20:35:57 +02:00
mlx5_mac.c common/mlx5: improve assert control 2020-02-05 09:51:21 +01:00
mlx5_mp.c common/mlx5: refactor memory management 2020-04-21 13:57:08 +02:00
mlx5_mr.c common/mlx5: refactor memory management 2020-04-21 13:57:08 +02:00
mlx5_mr.h common/mlx5: refactor memory management 2020-04-21 13:57:08 +02:00
mlx5_rss.c common/mlx5: improve assert control 2020-02-05 09:51:21 +01:00
mlx5_rxmode.c net/mlx5: reduce Netlink commands dependencies 2020-02-05 09:51:20 +01:00
mlx5_rxq.c net/mlx5: improve logging of MPRQ selection 2020-04-21 22:28:06 +02:00
mlx5_rxtx_vec_altivec.h net/mlx5: fix assert in dynamic metadata handling 2020-05-05 15:54:26 +02:00
mlx5_rxtx_vec_neon.h net/mlx5: fix assert in dynamic metadata handling 2020-05-05 15:54:26 +02:00
mlx5_rxtx_vec_sse.h net/mlx5: fix assert in dynamic metadata handling 2020-05-05 15:54:26 +02:00
mlx5_rxtx_vec.c replace cold attributes 2020-04-16 18:30:58 +02:00
mlx5_rxtx_vec.h common/mlx5: refactor memory management 2020-04-21 13:57:08 +02:00
mlx5_rxtx.c net/mlx5: fix packet length assert in MPRQ 2020-05-05 15:54:26 +02:00
mlx5_rxtx.h net/mlx5: set dynamic flow metadata in Rx queues 2020-04-21 22:28:06 +02:00
mlx5_socket.c net/mlx5: replace destructor syntax with common macro 2020-04-16 18:07:29 +02:00
mlx5_stats.c net/mlx5: use open/read/close for ib stats query 2020-04-21 13:57:07 +02:00
mlx5_trigger.c net/mlx5: prefer DevX API to create Rx objects 2020-05-18 20:35:56 +02:00
mlx5_txq.c net/mlx5: fix Tx queue release debug log timing 2020-05-11 22:27:39 +02:00
mlx5_utils.c net/mlx5: fix indexed pool bitmap initialization 2020-05-05 15:54:26 +02:00
mlx5_utils.h net/mlx5: fix indexed pool bitmap initialization 2020-05-05 15:54:26 +02:00
mlx5_vlan.c common/mlx5: improve assert control 2020-02-05 09:51:21 +01:00
mlx5.c net/mlx5: fix doorbell bitmap management offsets 2020-05-18 20:35:57 +02:00
mlx5.h net/mlx5: fix flow counter container resize 2020-05-18 20:35:57 +02:00
rte_pmd_mlx5_version.map net/mlx5: support fine grain dynamic flag 2020-02-05 09:51:20 +01:00
rte_pmd_mlx5.h net/mlx5: support fine grain dynamic flag 2020-02-05 09:51:20 +01:00