DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] net/bonding - need for 8023ad slave to be in promisc mode
@ 2017-02-27  8:10 sujith sankar
  2017-03-01  6:17 ` sujith sankar
  0 siblings, 1 reply; 2+ messages in thread
From: sujith sankar @ 2017-02-27  8:10 UTC (permalink / raw)
  To: dev

Hi folks,

Could someone clarify the need to put mode 4 bonding slaves in promiscuous
mode?

840 void
841 bond_mode_8023ad_activate_slave(struct rte_eth_dev *bond_dev, uint8_t
slave_id)
842 {
 .
 .
 .
878     /* use this port as agregator */
879     port->aggregator_port_id = slave_id;
880     rte_eth_promiscuous_enable(slave_id);


The Linux kernel mode bonding driver gets it working by assigning the
bond/primary slave MAC address to the rest of the slaves.  Is there a
reason for not using this method?

I tried this using my app on DPDK 16.04 on 82599, but could not get rx
working.  It would be great if someone could help me with this.

Thanks,
-Sujith

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] net/bonding - need for 8023ad slave to be in promisc mode
  2017-02-27  8:10 [dpdk-dev] net/bonding - need for 8023ad slave to be in promisc mode sujith sankar
@ 2017-03-01  6:17 ` sujith sankar
  0 siblings, 0 replies; 2+ messages in thread
From: sujith sankar @ 2017-03-01  6:17 UTC (permalink / raw)
  To: dev, declan.doherty

Hi Declan,

Got your name from the maintainers' list.
Could you please help me with this?

Thanks,
-Sujith

On Mon, Feb 27, 2017 at 1:40 PM, sujith sankar <sujithsankar2@gmail.com> wrote:
> Hi folks,
>
> Could someone clarify the need to put mode 4 bonding slaves in promiscuous
> mode?
>
> 840 void
> 841 bond_mode_8023ad_activate_slave(struct rte_eth_dev *bond_dev, uint8_t
> slave_id)
> 842 {
>  .
>  .
>  .
> 878     /* use this port as agregator */
> 879     port->aggregator_port_id = slave_id;
> 880     rte_eth_promiscuous_enable(slave_id);
>
>
> The Linux kernel mode bonding driver gets it working by assigning the
> bond/primary slave MAC address to the rest of the slaves.  Is there a reason
> for not using this method?
>
> I tried this using my app on DPDK 16.04 on 82599, but could not get rx
> working.  It would be great if someone could help me with this.
>
> Thanks,
> -Sujith

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-01  6:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-27  8:10 [dpdk-dev] net/bonding - need for 8023ad slave to be in promisc mode sujith sankar
2017-03-01  6:17 ` sujith sankar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).