net/dpaa2: fix flow control switch case break
authorHemant Agrawal <hemant.agrawal@nxp.com>
Tue, 11 Jul 2017 14:55:53 +0000 (20:25 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 14 Jul 2017 13:51:54 +0000 (15:51 +0200)
Fixes: 977d0006ada1 ("net/dpaa2: add support for flow control")

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/net/dpaa2/dpaa2_ethdev.c

index c19f726..acedc7c 100644 (file)
@@ -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;