Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2017 09:23:16 +0100
From:      Vincenzo Maffione <v.maffione@gmail.com>
To:        Sepherosa Ziehau <sepherosa@gmail.com>
Cc:        Xiaoye Sun <Xiaoye.Sun@rice.edu>, FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: High priority for the tx queue in netmap
Message-ID:  <CA%2B_eA9hEjf=wM8rj5v0%2BMR5S4WyNsDn905rCT1=5KNSXFs5OVQ@mail.gmail.com>
In-Reply-To: <CAMOc5czNQvbftNO6T2trh5cSukuN5QdoUxKxNtamvcEHThfUAA@mail.gmail.com>
References:  <CAJnByzg2PspHhvFyDWpYfXZWNGTmmAJ992jMa=FPwAfM-LEiJA@mail.gmail.com> <CAMOc5cxapOdEv1dX8t-3r-UJ7UoCTrfjArQ7YV0D03iefNEEMw@mail.gmail.com> <CAJnByzjzM8J9PP0NAOGOvmHZjm87LbFd2%2B%2BLdBWnpgfHXU7bLQ@mail.gmail.com> <CAMOc5czNQvbftNO6T2trh5cSukuN5QdoUxKxNtamvcEHThfUAA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <sepherosa@gmail.com>:

> On Tue, Jan 24, 2017 at 3:00 PM, Xiaoye Sun <Xiaoye.Sun@rice.edu> 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 queue on packet boundary (after TSO segementation).
>
> Don't know about Linux driver's state, but you have the detailed
> document, you can always change the code as you like for your own
> stuffs.
>
> Thanks,
> sephe
>
> --
> Tomorrow Will Never Die
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>



-- 
Vincenzo Maffione



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B_eA9hEjf=wM8rj5v0%2BMR5S4WyNsDn905rCT1=5KNSXFs5OVQ>