Re: Adding Flow Director sysctls to ixgbe(4) (was: netmap: traffic distribution)

2013-10-07 Thread hiren panchasara
On Mon, Oct 7, 2013 at 12:01 AM, Takuya ASADA wrote: > Hi, > > This is updated version of "ixgbetool" patch. I will try to give this a try tomorrow. Cheers, Hiren > Here's improved feature list: > - signature filter list feature available > - user-defined filter can be use with an ATR. > To enabl

Re: Adding Flow Director sysctls to ixgbe(4) (was: netmap: traffic distribution)

2013-10-07 Thread Takuya ASADA
Hi, This is updated version of "ixgbetool" patch. Here's improved feature list: - signature filter list feature available - user-defined filter can be use with an ATR. To enable it, add "hw.ixgbe.cooperative_atr=1" on /boot/loader.conf Usage is as follows: ixgbetool [operation] add_sig_filte

Re: Adding Flow Director sysctls to ixgbe(4) (was: netmap: traffic distribution)

2013-09-30 Thread hiren panchasara
On Sep 30, 2013 5:08 AM, "Takuya ASADA" wrote: > > Hi, > > This is updated version of the patch. I will give this a try today. Cheers Hiren > Signature filter list feature is added. > > Here're usage of ixgbetool: > - add a filter > ixgbetool ix0 add_sig_filter tcpv4 10.1.0.1 34763 10.1.0.2 22

Re: Adding Flow Director sysctls to ixgbe(4) (was: netmap: traffic distribution)

2013-09-30 Thread Takuya ASADA
Hi, This is updated version of the patch. Signature filter list feature is added. Here're usage of ixgbetool: - add a filter ixgbetool ix0 add_sig_filter tcpv4 10.1.0.1 34763 10.1.0.2 22 3 - show filters ixgbetool ix0 show_sig_filter - del a filter ixgbetool ix0 del_sig_filter 1 2013/9/30 Taku

Re: Adding Flow Director sysctls to ixgbe(4) (was: netmap: traffic distribution)

2013-09-29 Thread Takuya ASADA
Hi, I just implemented device specific ioctl with device specific configuration tool. It still doesn't support some important features such as: - FDIR enable / disable via sysctl or tunable params - ATR enable / disable via sysctl or tunable params - IPv6 support on signature filter - signatur

Re: Adding Flow Director sysctls to ixgbe(4) (was: netmap: traffic distribution)

2013-09-27 Thread hiren panchasara
On Fri, Sep 27, 2013 at 1:58 AM, Takuya ASADA wrote: > 2013/9/27 Adrian Chadd > >> On 27 September 2013 00:43, hiren panchasara >> wrote: >> >> >>> Takuya, >>> >>> I see a lot of responses/comments on proposed changes. Was anything >>> decided >>> at the end of it? As far as I can tell, its sti

Re: Adding Flow Director sysctls to ixgbe(4)

2013-09-27 Thread Adrian Chadd
On 27 September 2013 03:09, Julian Elischer wrote: > On 9/27/13 4:53 PM, Adrian Chadd wrote: > >> I don't care about whether there's a generic API right now. I'd rather see >> it done as a staged thing, but _not_ sysctls. >> >> Having sysctls to add/remove entries from things is just plain evil.

Re: Adding Flow Director sysctls to ixgbe(4)

2013-09-27 Thread Julian Elischer
On 9/27/13 4:53 PM, Adrian Chadd wrote: I don't care about whether there's a generic API right now. I'd rather see it done as a staged thing, but _not_ sysctls. Having sysctls to add/remove entries from things is just plain evil. I'd rather instead come up with a device specific ioctl API for t

Re: Adding Flow Director sysctls to ixgbe(4) (was: netmap: traffic distribution)

2013-09-27 Thread Takuya ASADA
2013/9/27 Adrian Chadd > On 27 September 2013 00:43, hiren panchasara > wrote: > > >> Takuya, >> >> I see a lot of responses/comments on proposed changes. Was anything >> decided >> at the end of it? As far as I can tell, its still not committed to the >> tree. >> > > I'd rather see an ioctl API

Re: Adding Flow Director sysctls to ixgbe(4) (was: netmap: traffic distribution)

2013-09-27 Thread Adrian Chadd
I don't care about whether there's a generic API right now. I'd rather see it done as a staged thing, but _not_ sysctls. Having sysctls to add/remove entries from things is just plain evil. I'd rather instead come up with a device specific ioctl API for this for now w/ a userland tool for each pa

Re: Adding Flow Director sysctls to ixgbe(4) (was: netmap: traffic distribution)

2013-09-27 Thread Takuya ASADA
Hi, I think there were many comment which says "don't use device specific sysctls, we should have more generic interface to configure NIC filter, like Linux's ethtool". And I heard same idea in last BSDCan, but there's still no proposal of "generic interface for NIC filter", I suppose. So, honestl

Re: Adding Flow Director sysctls to ixgbe(4) (was: netmap: traffic distribution)

2013-09-27 Thread Adrian Chadd
On 27 September 2013 00:43, hiren panchasara wrote: > Takuya, > > I see a lot of responses/comments on proposed changes. Was anything decided > at the end of it? As far as I can tell, its still not committed to the > tree. > I'd rather see an ioctl API for that chipset and then have a separate t

Re: Adding Flow Director sysctls to ixgbe(4)

2011-09-23 Thread Sami Halabi
Hi, i don't know what version of the driver currently on head, but on 8.1-R it isn't the latest driver on INTEL's site. my dual 10g card 82599EB didn't work well until i upgraded the driver(2.3.8) and recompiled the kernel. after that the card worked fine. Sami On Fri, Sep 23, 2011 at 4:59 PM, Ta

Re: Adding Flow Director sysctls to ixgbe(4)

2011-09-23 Thread Takuya ASADA
Hi, On Sep 9, 2011, at 10:56 AM, owner-freebsd-...@freebsd.org wrote: > On Fri, Sep 09, 2011 at 01:44:34AM +0100, Ben Hutchings wrote: >> On Thu, 2011-09-08 at 20:13 -0400, George Neville-Neil wrote: >>> On Sep 8, 2011, at 14:49 , Navdeep Parhar wrote: >>> On Thu, Sep 08, 2011 at 08:34:11AM

Re: Adding Flow Director sysctls to ixgbe(4)

2011-09-09 Thread Ben Hutchings
On Fri, 2011-09-09 at 13:18 +0900, Takuya ASADA wrote: > On Sep 9, 2011, at 9:44 AM, Ben Hutchings wrote: > > > But it would be a lot nicer if this could be done automatically. Which > > I believe it can - see the RFS and XPS features in Linux. > > Does it cooperate with hw queues and hw hashin

Re: Adding Flow Director sysctls to ixgbe(4)

2011-09-09 Thread K. Macy
> What this means is that we have > a failure of abstraction.  Abstraction has a cost, and some of the people who > want > access to low level queues are not interested in paying an extra abstraction > cost. I think a case can be made that that isn't necessarily the case depending on how well th

Re: Adding Flow Director sysctls to ixgbe(4)

2011-09-08 Thread Takuya ASADA
On Sep 9, 2011, at 9:44 AM, Ben Hutchings wrote: > But it would be a lot nicer if this could be done automatically. Which > I believe it can - see the RFS and XPS features in Linux. Does it cooperate with hw queues and hw hashing now? When I saw RFS code, it was just worked with RPS. __

Re: Adding Flow Director sysctls to ixgbe(4)

2011-09-08 Thread Navdeep Parhar
On Fri, Sep 09, 2011 at 01:44:34AM +0100, Ben Hutchings wrote: > On Thu, 2011-09-08 at 20:13 -0400, George Neville-Neil wrote: > > On Sep 8, 2011, at 14:49 , Navdeep Parhar wrote: > > > > > On Thu, Sep 08, 2011 at 08:34:11AM -0400, John Baldwin wrote: > > >> On Monday, September 05, 2011 7:21:12 a

Re: Adding Flow Director sysctls to ixgbe(4)

2011-09-08 Thread Ben Hutchings
On Thu, 2011-09-08 at 20:13 -0400, George Neville-Neil wrote: > On Sep 8, 2011, at 14:49 , Navdeep Parhar wrote: > > > On Thu, Sep 08, 2011 at 08:34:11AM -0400, John Baldwin wrote: > >> On Monday, September 05, 2011 7:21:12 am Ben Hutchings wrote: > >>> On Mon, 2011-09-05 at 15:51 +0900, Takuya AS

Re: Adding Flow Director sysctls to ixgbe(4)

2011-09-08 Thread George Neville-Neil
On Sep 8, 2011, at 10:48 , K. Macy wrote: > On Thu, Sep 8, 2011 at 2:34 PM, John Baldwin wrote: >> On Monday, September 05, 2011 7:21:12 am Ben Hutchings wrote: >>> On Mon, 2011-09-05 at 15:51 +0900, Takuya ASADA wrote: Hi, I implemented Ethernet Flow Director sysctls to ixgbe(4)

Re: Adding Flow Director sysctls to ixgbe(4)

2011-09-08 Thread George Neville-Neil
On Sep 8, 2011, at 14:49 , Navdeep Parhar wrote: > On Thu, Sep 08, 2011 at 08:34:11AM -0400, John Baldwin wrote: >> On Monday, September 05, 2011 7:21:12 am Ben Hutchings wrote: >>> On Mon, 2011-09-05 at 15:51 +0900, Takuya ASADA wrote: Hi, I implemented Ethernet Flow Director sys

Re: Adding Flow Director sysctls to ixgbe(4)

2011-09-08 Thread Navdeep Parhar
On Thu, Sep 08, 2011 at 08:34:11AM -0400, John Baldwin wrote: > On Monday, September 05, 2011 7:21:12 am Ben Hutchings wrote: > > On Mon, 2011-09-05 at 15:51 +0900, Takuya ASADA wrote: > > > Hi, > > > > > > I implemented Ethernet Flow Director sysctls to ixgbe(4), here's a detail: > > > > > > - A

Re: Adding Flow Director sysctls to ixgbe(4)

2011-09-08 Thread Ben Hutchings
On Thu, 2011-09-08 at 18:28 +0200, K. Macy wrote: > > Whatever the mechanism is, the interface should allow for: > > > > - Flexible matching on layer 2, 3 and 4 header fields > > - Masking out some bits before matching (e.g. ignoring priority bits of > > VLAN tag or least significant bits of IPv4

Re: Adding Flow Director sysctls to ixgbe(4)

2011-09-08 Thread K. Macy
> Whatever the mechanism is, the interface should allow for: > > - Flexible matching on layer 2, 3 and 4 header fields > - Masking out some bits before matching (e.g. ignoring priority bits of >  VLAN tag or least significant bits of IPv4 address) > - Priority of rules in case several match a singl

Re: Adding Flow Director sysctls to ixgbe(4)

2011-09-08 Thread Ben Hutchings
On Thu, 2011-09-08 at 11:06 -0400, John Baldwin wrote: > On Thursday, September 08, 2011 10:48:25 am K. Macy wrote: > > On Thu, Sep 8, 2011 at 2:34 PM, John Baldwin wrote: > > > On Monday, September 05, 2011 7:21:12 am Ben Hutchings wrote: > > >> On Mon, 2011-09-05 at 15:51 +0900, Takuya ASADA wro

Re: Adding Flow Director sysctls to ixgbe(4)

2011-09-08 Thread John Baldwin
On Thursday, September 08, 2011 10:48:25 am K. Macy wrote: > On Thu, Sep 8, 2011 at 2:34 PM, John Baldwin wrote: > > On Monday, September 05, 2011 7:21:12 am Ben Hutchings wrote: > >> On Mon, 2011-09-05 at 15:51 +0900, Takuya ASADA wrote: > >> > Hi, > >> > > >> > I implemented Ethernet Flow Direct

Re: Adding Flow Director sysctls to ixgbe(4)

2011-09-08 Thread K. Macy
On Thu, Sep 8, 2011 at 2:34 PM, John Baldwin wrote: > On Monday, September 05, 2011 7:21:12 am Ben Hutchings wrote: >> On Mon, 2011-09-05 at 15:51 +0900, Takuya ASADA wrote: >> > Hi, >> > >> > I implemented Ethernet Flow Director sysctls to ixgbe(4), here's a detail: >> > >> > - Adding removing si

Re: Adding Flow Director sysctls to ixgbe(4)

2011-09-08 Thread Vlad Galu
On Sep 8, 2011, at 4:35 PM, Ben Hutchings wrote: > On Thu, 2011-09-08 at 10:55 +0200, Vlad Galu wrote: >> On Sep 8, 2011, at 10:11 AM, Takuya ASADA wrote: >>> Hi, >>> >>> 2011/9/5 Ben Hutchings : On Mon, 2011-09-05 at 15:51 +0900, Takuya ASADA wrote: [...] Linux also has a gen

Re: Adding Flow Director sysctls to ixgbe(4)

2011-09-08 Thread Ben Hutchings
On Thu, 2011-09-08 at 10:55 +0200, Vlad Galu wrote: > On Sep 8, 2011, at 10:11 AM, Takuya ASADA wrote: > > Hi, > > > > 2011/9/5 Ben Hutchings : > >> On Mon, 2011-09-05 at 15:51 +0900, Takuya ASADA wrote: > >>> Hi, > >>> > >>> I implemented Ethernet Flow Director sysctls to ixgbe(4), here's a deta

Re: Adding Flow Director sysctls to ixgbe(4)

2011-09-08 Thread Ben Hutchings
On Thu, 2011-09-08 at 08:34 -0400, John Baldwin wrote: > On Monday, September 05, 2011 7:21:12 am Ben Hutchings wrote: > > On Mon, 2011-09-05 at 15:51 +0900, Takuya ASADA wrote: > > > Hi, > > > > > > I implemented Ethernet Flow Director sysctls to ixgbe(4), here's a detail: > > > > > > - Adding r

Re: Adding Flow Director sysctls to ixgbe(4)

2011-09-08 Thread John Baldwin
On Monday, September 05, 2011 7:21:12 am Ben Hutchings wrote: > On Mon, 2011-09-05 at 15:51 +0900, Takuya ASADA wrote: > > Hi, > > > > I implemented Ethernet Flow Director sysctls to ixgbe(4), here's a detail: > > > > - Adding removing signature filter > > On linux version of ixgbe driver, it has

Re: Adding Flow Director sysctls to ixgbe(4)

2011-09-08 Thread Vlad Galu
On Sep 8, 2011, at 10:11 AM, Takuya ASADA wrote: > Hi, > > 2011/9/5 Ben Hutchings : >> On Mon, 2011-09-05 at 15:51 +0900, Takuya ASADA wrote: >>> Hi, >>> >>> I implemented Ethernet Flow Director sysctls to ixgbe(4), here's a detail: >>> >>> - Adding removing signature filter >>> On linux version

Re: Adding Flow Director sysctls to ixgbe(4)

2011-09-08 Thread Takuya ASADA
Hi, 2011/9/5 Ben Hutchings : > On Mon, 2011-09-05 at 15:51 +0900, Takuya ASADA wrote: >> Hi, >> >> I implemented Ethernet Flow Director sysctls to ixgbe(4), here's a detail: >> >> - Adding removing signature filter >> On linux version of ixgbe driver, it has ability to set/remove perfect >> filter

Re: Adding Flow Director sysctls to ixgbe(4)

2011-09-05 Thread Ben Hutchings
On Mon, 2011-09-05 at 15:51 +0900, Takuya ASADA wrote: > Hi, > > I implemented Ethernet Flow Director sysctls to ixgbe(4), here's a detail: > > - Adding removing signature filter > On linux version of ixgbe driver, it has ability to set/remove perfect > filter from userland using ethtool command.