Message ID | 1496827265-19785-5-git-send-email-bhanuprakash.bodireddy@intel.com |
---|---|
State | Superseded |
Headers | show |
diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index e1c43fe..12f8477 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -3760,6 +3760,8 @@ reload: for (i = 0; i < poll_cnt; i++) { dp_netdev_process_rxq_port(pmd, poll_list[i].rx, poll_list[i].port_no); + + dp_netdev_drain_txq_ports(pmd); } if (lc++ > 1024) { @@ -3780,6 +3782,9 @@ reload: } } + /* Drain the queues as part of reconfiguration logic. */ + dp_netdev_drain_txq_ports(pmd); + poll_cnt = pmd_load_queues_and_ports(pmd, &poll_list); exiting = latch_is_set(&pmd->exit_latch); /* Signal here to make sure the pmd finishes