net/bonding: fix transmit in 802.3ad mode
Subsystems (2)
PATCH 1/1 net/bonding: fix transmit in 802.3ad mode
We can transmit if there is at least one distributing slave.
Fixes 09150784a776 ("net/bonding: burst mode hash calculation")
Signed-off-by Chas Williams <[email protected]>
--- drivers/net/bonding/rte_eth_bond_pmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/bonding/rte_eth_bond_pmd.c +1 -1
@@ -1319,7 +1319,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
Signature · 1 line
2.17.2
Ferruh Yigit
AppliedQuoted 6 lines · Chas Williams
We can transmit if there is at least one distributing slave.
Fixes 09150784a776 ("net/bonding: burst mode hash calculation")Signed-off-by Chas Williams <[email protected]>
Applied to dpdk-next-net/master, thanks.