X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fdpaa2%2Fdpaa2_ethdev.c;h=82dd8bb53bb759d63c6264907b8ceb13d0bcef38;hb=29dfa62f5feddcb523a44471aedb33e3133b60ae;hp=a1ef1cbca356fea649611f364e91dd142dbab77e;hpb=24a170cd3061d5d85f6ab7cdceb0ac55458e0e02;p=dpdk.git diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index a1ef1cbca3..82dd8bb53b 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -492,8 +492,7 @@ dpaa2_dev_tx_queue_setup(struct rte_eth_dev *dev, if (priv->flags & DPAA2_TX_CGR_SUPPORT) { struct dpni_congestion_notification_cfg cong_notif_cfg; - cong_notif_cfg.units = DPNI_CONGESTION_UNIT_BYTES; - /* Notify about congestion when the queue size is 32 KB */ + cong_notif_cfg.units = DPNI_CONGESTION_UNIT_FRAMES; cong_notif_cfg.threshold_entry = CONG_ENTER_TX_THRESHOLD; /* Notify that the queue is not congested when the data in * the queue is below this thershold.