Re: [ovs-dev] [Q]what is 'may_steal' for in netdev API?

2017-06-21 Thread Gao Zhenyu
* If 'may_steal' is false, the caller retains ownership of all the * packets. If 'may_steal' is true, the caller transfers ownership of all * the packets to the network device, regardless of success. * * If 'concurrent_txq' is true, the caller may perform concurrent calls

Re: [ovs-dev] [Q]what is 'may_steal' for in netdev API?

2017-06-21 Thread Joo Kim
Hello experts, Can somebody help answer? On Fri, Dec 30, 2016 at 3:00 AM, Joo Kim wrote: > Hello, > > I got following gdb backtrace for ovs2.6. And netdev_dpdk_send__() > definition is shown at bottom. > I try to understand what 'may_steal' is for but not clear yet. Can > anybody explain w

[ovs-dev] [Q]what is 'may_steal' for in netdev API?

2016-12-30 Thread Joo Kim
Hello, I got following gdb backtrace for ovs2.6. And netdev_dpdk_send__() definition is shown at bottom. I try to understand what 'may_steal' is for but not clear yet. Can anybody explain what it is? #0 netdev_dpdk_eth_send (netdev=0x7f235285ed40, qid=0, batch=0x7f2541ff7130, may_steal=true,