numam-dpdk/drivers/net/mlx4
Thomas Monjalon 554f06d10b net/mlx4: fix possible uninitialized variable
When compiling with gcc -O1, this error appears:
	drivers/net/mlx4/mlx4_ethdev.c: In function ‘mlx4_rxmode_toggle’:
	rte_log.h:321:3: error:
	‘mode’ may be used uninitialized in this function

The function mlx4_rxmode_toggle is never called with a value which
is not in the switch block, but GCC complains about it with -O1.
So the default case is "fixed" by setting string "undefined".

Fixes: eacaac7bae ("net/mlx4: restore promisc and allmulti support")
Cc: stable@dpdk.org

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
2018-11-23 01:43:39 +01:00
..
Makefile net/mlx4: avoid stripping the glue library 2018-08-02 12:34:17 +02:00
meson.build net/mlx4: support meson build 2018-09-28 01:41:01 +02:00
mlx4_ethdev.c net/mlx4: fix possible uninitialized variable 2018-11-23 01:43:39 +01:00
mlx4_flow.c net/mlx4: refactor RSS conversion functions 2018-05-23 00:35:01 +02:00
mlx4_flow.h net/mlx4: refactor RSS conversion functions 2018-05-23 00:35:01 +02: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: optimize Tx external memory registration 2018-11-16 10:45:37 +01:00
mlx4_mr.h net/mlx4: add new memory region support 2018-05-14 22:31:52 +01:00
mlx4_prm.h net/mlx4: support hardware TSO 2018-07-10 14:02:57 +02:00
mlx4_rxq.c ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
mlx4_rxtx.c net/mlx4: support hardware TSO 2018-07-10 14:02:57 +02:00
mlx4_rxtx.h net/mlx4: optimize Tx external memory registration 2018-11-16 10:45:37 +01:00
mlx4_txq.c net/mlx4: support hardware TSO 2018-07-10 14:02:57 +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 ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
mlx4.h net/mlx4: check RSS queues number limitation 2018-08-02 12:34:16 +02:00
rte_pmd_mlx4_version.map mlx4: move to drivers/net/ 2015-05-22 16:06:22 +02:00