summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2021-11-19 11:27:41 +0100
committerDamjan Marion <dmarion@me.com>2021-11-22 10:07:59 +0000
commitd824aac1077cc744f66fba62879e4b668f60ed6a (patch)
tree6278c4b76788681f7f45deeb06a210170ec2f010 /src/plugins/dpdk/device
parentc2810b32cde694a8e245a4f10aa5ce839ad866c7 (diff)
dpdk: fix coverity warning
Add a hint so that it's obvious that fall through in switch statement is intentional. Type: fix Fixes: 34c54dff5c Signed-off-by: Klement Sekera <ksekera@cisco.com> Change-Id: I12271227424761fb89b03a390f626c2ab466472c
Diffstat (limited to 'src/plugins/dpdk/device')
-rw-r--r--src/plugins/dpdk/device/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/dpdk/device/init.c b/src/plugins/dpdk/device/init.c
index f9927dbeebc..fddbf2aba73 100644
--- a/src/plugins/dpdk/device/init.c
+++ b/src/plugins/dpdk/device/init.c
@@ -476,6 +476,7 @@ dpdk_lib_init (dpdk_main_t * dm)
/* Drivers with valid speed_capa set */
case VNET_DPDK_PMD_I40E:
xd->flags |= DPDK_DEVICE_FLAG_INT_UNMASKABLE;
+ /* fall through */
case VNET_DPDK_PMD_E1000EM:
case VNET_DPDK_PMD_IGB:
case VNET_DPDK_PMD_IGC:
@@ -519,6 +520,7 @@ dpdk_lib_init (dpdk_main_t * dm)
/* SR-IOV VFs */
case VNET_DPDK_PMD_I40EVF:
xd->flags |= DPDK_DEVICE_FLAG_INT_UNMASKABLE;
+ /* fall through */
case VNET_DPDK_PMD_IGBVF:
case VNET_DPDK_PMD_IXGBEVF:
xd->port_type = VNET_DPDK_PORT_TYPE_ETH_VF;