numam-dpdk/drivers/net/mlx5
Ferruh Yigit aee3d4d6d5 net/mlx5: fix build with gcc 7.1
build error:
.../dpdk/drivers/net/mlx5/mlx5_fdir.c:
  In function ‘fdir_filter_to_flow_desc’:
.../dpdk/drivers/net/mlx5/mlx5_fdir.c:146:18:
 error: this statement may fall through [-Werror=implicit-fallthrough=]
   desc->dst_port = fdir_filter->input.flow.udp4_flow.dst_port;
   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.../dpdk/drivers/net/mlx5/mlx5_fdir.c:147:2: note: here
  case RTE_ETH_FLOW_NONFRAG_IPV4_OTHER:
  ^~~~

Fixed by adding fallthrough comment to the code.

Fixes: 76f5c99e68 ("mlx5: support flow director")
Cc: stable@dpdk.org

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
2017-06-14 22:54:31 +02:00
..
Makefile
mlx5_defs.h
mlx5_ethdev.c drivers/net: add generic ethdev macro to get PCI device 2017-06-12 10:41:25 +01:00
mlx5_fdir.c net/mlx5: fix build with gcc 7.1 2017-06-14 22:54:31 +02:00
mlx5_flow.c net/mlx5: fix flow application order on stop/start 2017-06-12 10:41:27 +01:00
mlx5_mac.c ethdev: fix adding invalid MAC address 2017-05-05 16:27:11 +02:00
mlx5_mr.c
mlx5_prm.h
mlx5_rss.c
mlx5_rxmode.c
mlx5_rxq.c net/mlx5: fix completion buffer size 2017-06-12 10:41:26 +01:00
mlx5_rxtx.c net/mlx5: remove already initialised mbuf fields 2017-06-12 10:41:27 +01:00
mlx5_rxtx.h
mlx5_stats.c
mlx5_trigger.c net/mlx5: fix rollback when starting device 2017-05-10 21:41:25 +02:00
mlx5_txq.c net/mlx5: fix redundant free of Tx buffer 2017-06-12 10:41:27 +01:00
mlx5_utils.h
mlx5_vlan.c
mlx5.c net/mlx5: fix flow application order on stop/start 2017-06-12 10:41:27 +01:00
mlx5.h net/mlx5: fix flow application order on stop/start 2017-06-12 10:41:27 +01:00
rte_pmd_mlx5_version.map