git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8562b0
)
net/bonding: fix Tx in 802.3ad mode
author
Chas Williams
<chas3@att.com>
Mon, 11 Feb 2019 16:34:36 +0000
(11:34 -0500)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Wed, 13 Feb 2019 13:07:34 +0000
(14:07 +0100)
We can transmit if there is at least one distributing slave.
Fixes:
09150784a776
("net/bonding: burst mode hash calculation")
Cc: stable@dpdk.org
Signed-off-by: Chas Williams <chas3@att.com>
drivers/net/bonding/rte_eth_bond_pmd.c
patch
|
blob
|
history
diff --git
a/drivers/net/bonding/rte_eth_bond_pmd.c
b/drivers/net/bonding/rte_eth_bond_pmd.c
index
23cec25
..
2304172
100644
(file)
--- a/
drivers/net/bonding/rte_eth_bond_pmd.c
+++ b/
drivers/net/bonding/rte_eth_bond_pmd.c
@@
-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