From: Hemant Agrawal Date: Tue, 11 Jul 2017 14:55:53 +0000 (+0530) Subject: net/dpaa2: fix flow control switch case break X-Git-Tag: spdx-start~2495 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f090a4c3c6b073e19f9f3d96dd3d1a5dfd824b37;p=dpdk.git net/dpaa2: fix flow control switch case break Fixes: 977d0006ada1 ("net/dpaa2: add support for flow control") Signed-off-by: Hemant Agrawal --- diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index c19f7261d2..acedc7c598 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -1255,6 +1255,7 @@ dpaa2_flow_ctrl_set(struct rte_eth_dev *dev, struct rte_eth_fc_conf *fc_conf) */ cfg.options |= DPNI_LINK_OPT_PAUSE; cfg.options &= ~DPNI_LINK_OPT_ASYM_PAUSE; + break; case RTE_FC_TX_PAUSE: /* Enable RX flow control * OPT_PAUSE not set;