Skip to content

Commit

Permalink
Dpdk link failover not working.
Browse files Browse the repository at this point in the history
closes-jira-bug: CEM-7346
Issue in the dpdk bond driver. When the number of slaves
becomes less than 2, the driver doesnt send out the packet
with regular tx function. The issue is not present in the
fast tx function of the driver.

Change-Id: Ifb41561587648f10388dc78fbf54cdc37e2b3733
  • Loading branch information
Jeya ganesh babu J committed Jul 26, 2019
1 parent 0f0aff7 commit d2642c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/bonding/rte_eth_bond_pmd.c
Expand Up @@ -1321,7 +1321,7 @@ bond_ethdev_tx_burst_8023ad(void *queue, struct rte_mbuf **bufs,
slave_port_ids[i];
}

if (likely(dist_slave_count > 1)) {
if (likely(dist_slave_count > 0)) {

/*
* Populate slaves mbuf with the packets which are to be sent
Expand Down

0 comments on commit d2642c3

Please sign in to comment.