From: Bruce Richardson Date: Thu, 4 May 2017 15:38:16 +0000 (+0100) Subject: net/ixgbe: add switch fall-through comments X-Git-Tag: spdx-start~3262 X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=commitdiff_plain;h=6104a5224d9b263297aa7c88aab8ba099202b676 net/ixgbe: add switch fall-through comments Add a comment documenting explicitly that we are falling through the case statements to the next one. Fixes: f9072f8b90bb ("ixgbe: migrate flow director filtering to new API") Signed-off-by: Bruce Richardson Acked-by: Wenzhuo Lu --- diff --git a/drivers/net/ixgbe/ixgbe_fdir.c b/drivers/net/ixgbe/ixgbe_fdir.c index d6e48e9aef..7f6c7b58fa 100644 --- a/drivers/net/ixgbe/ixgbe_fdir.c +++ b/drivers/net/ixgbe/ixgbe_fdir.c @@ -730,6 +730,7 @@ ixgbe_fdir_filter_to_atr_input(const struct rte_eth_fdir_filter *fdir_filter, fdir_filter->input.flow.udp4_flow.src_port; input->formatted.dst_port = fdir_filter->input.flow.udp4_flow.dst_port; + /* fall-through */ /*for SCTP flow type, port and verify_tag are meaningless in ixgbe.*/ case RTE_ETH_FLOW_NONFRAG_IPV4_SCTP: case RTE_ETH_FLOW_NONFRAG_IPV4_OTHER: @@ -745,6 +746,7 @@ ixgbe_fdir_filter_to_atr_input(const struct rte_eth_fdir_filter *fdir_filter, fdir_filter->input.flow.udp6_flow.src_port; input->formatted.dst_port = fdir_filter->input.flow.udp6_flow.dst_port; + /* fall-through */ /*for SCTP flow type, port and verify_tag are meaningless in ixgbe.*/ case RTE_ETH_FLOW_NONFRAG_IPV6_SCTP: case RTE_ETH_FLOW_NONFRAG_IPV6_OTHER: