Date: Wed, 11 Jan 2017 20:14:27 -0800 From: Adrian Chadd <adrian@freebsd.org> To: Sepherosa Ziehau <sepherosa@gmail.com> Cc: David Belle-Isle <dbelleisle@gmail.com>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: Changing NIC ring weight in indirection table Message-ID: <CAJ-VmomFpZ_4D4=wMPmh--o92Hx1FrWsNnug_dJce21M9VKKUA@mail.gmail.com> In-Reply-To: <CAMOc5cx_hWLkCPZfUSBdwiMh2CFVgAgT2LKu%2Bku%2B5Cu=HUq9Yw@mail.gmail.com> References: <CAN56noy0ORvNDt5RcUfufH75=yqfCaD=V-qMK8CKhkauyo0qMQ@mail.gmail.com> <CAMOc5cx_hWLkCPZfUSBdwiMh2CFVgAgT2LKu%2Bku%2B5Cu=HUq9Yw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
yeah, adrian is currently busy doing non-paid wifi work, so getting onto non-paid RSS configuration work is taking a backburner. Patches gratefully accepted though! -a On 3 January 2017 at 17:19, Sepherosa Ziehau <sepherosa@gmail.com> wrote: > On Fri, Dec 30, 2016 at 11:34 PM, David Belle-Isle <dbelleisle@gmail.com> wrote: >> Hi, >> >> Can anyone tell me how to set the weight of a ring from the indirection >> table on FreeBSD? My plan is to yank out a TX ring and to use it solely >> with netmap to receive packets but want to make sure the kernel won't be >> receiving any packets on this ring. > > TX side is not related to the RSS's indirect table at all. I believe > you need to modify the drivers you are using. > >> >> Based on a quick search this is something that ethtool would be able to do >> on Linux but I doubt this can be done on FreeBSD using the same tool? > > adrian@ has proposed something in this area, RSS key and RSS indirect > table, though not much happens yet. I have implemented the indirect > table changes through a driver specific sysctl for hn(4), you probably > could do the same for the drivers that you are using. But again, you > will have to change the code. > > Thanks, > sephe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomFpZ_4D4=wMPmh--o92Hx1FrWsNnug_dJce21M9VKKUA>