Skip to content

Commit

Permalink
Fix for flooding of packets in dpdk vrouter
Browse files Browse the repository at this point in the history
partial-jira-bug: CEM-5251
The bond driver in dpdk by default enables promiscuous mode
It should be enough to have the all multicast mode enabled for
lacp to work.

Change-Id: I2bdbb44ce5686a9207cfbd3b7b1f7e2b328d8ef9
  • Loading branch information
Jeya ganesh babu J committed Jun 6, 2019
1 parent b420bd4 commit 1a2f032
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion drivers/net/bonding/rte_eth_bond_8023ad.c
Expand Up @@ -947,7 +947,11 @@ bond_mode_8023ad_activate_slave(struct rte_eth_dev *bond_dev,

/* use this port as agregator */
port->aggregator_port_id = slave_id;
rte_eth_promiscuous_enable(slave_id);
/* we may not need to enable promiscuous mode
* We just need to enable all multicast mode
*/
/* rte_eth_promiscuous_enable(slave_id); */
rte_eth_allmulticast_enable(slave_id);

timer_cancel(&port->warning_timer);

Expand Down

0 comments on commit 1a2f032

Please sign in to comment.