Re: [dpdk-dev] 答复: [PATCH] net/bonding: fix double fetch for active_slave_count

2018-11-30 Thread Chas Williams
The problem is that I can't see how the API can ever provide accurate information. By the time you have the information it is potentially stale. There really isn't a way to control if a slave is active since that is protocol dependent. rte_eth_bond_slaves_get() is safer in the sense that you co

[dpdk-dev] 答复: [PATCH] net/bonding: fix double fetch for active_slave_count

2018-11-29 Thread Linhaifeng
Hi, Chars Thank you. I use it for send pkts to the dedicated queue of slaves. Maybe i should not use it. I would though another way. -邮件原件- 发件人: Chas Williams [mailto:3ch...@gmail.com] 发送时间: 2018年11月30日 11:27 收件人: Linhaifeng ; dev@dpdk.org 抄送: ch...@att.com 主题: Re: [dpdk-dev] [PATCH]