Re: High priority for the tx queue in netmap

2017-01-24 Thread Xiaoye Sun
I'm using the typical intel 10 Gbps nic. Does ethtool have related configuration command? On Tue, Jan 24, 2017 at 12:57 AM Sepherosa Ziehau wrote: > On Tue, Jan 24, 2017 at 4:09 AM, Xiaoye Sun wrote: > > > Hi, > > > > > > In my application, there are multiple tx queues in the OS, and the netma

Re: High priority for the tx queue in netmap

2017-01-24 Thread Vincenzo Maffione
Hi, I think with ethtool on Linux you can play at least with the weight to give to each TX queue for the round-robin algorithm. Of course not all the cards implement this. I think Intel 10Gbit cards support it. Cheers, VIncenzo 2017-01-24 8:17 GMT+01:00 Sepherosa Ziehau : > On Tue, Jan 24, 2

Re: High priority for the tx queue in netmap

2017-01-23 Thread Sepherosa Ziehau
On Tue, Jan 24, 2017 at 3:00 PM, Xiaoye Sun wrote: > I'm using the typical intel 10 Gbps nic. > Does ethtool have related configuration command? You can check Intel's spec on their website for the chip you use. They have very good documentation. IIRC, the default behavior is to round-robin TX qu

Re: High priority for the tx queue in netmap

2017-01-23 Thread Sepherosa Ziehau
On Tue, Jan 24, 2017 at 4:09 AM, Xiaoye Sun wrote: > Hi, > > In my application, there are multiple tx queues in the OS, and the netmap > program uses one tx queue. I wondering if I can give the netmap tx queue > higher priority so that the NIC always sends the packets from this queue if > netmap p

High priority for the tx queue in netmap

2017-01-23 Thread Xiaoye Sun
Hi, In my application, there are multiple tx queues in the OS, and the netmap program uses one tx queue. I wondering if I can give the netmap tx queue higher priority so that the NIC always sends the packets from this queue if netmap put any packet to it. I am using Linux 3.16. Thanks! Best, Xi