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

Takuya ASADA syuu at dokukino.com
Mon Sep 30 12:08:33 UTC 2013


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 Takuya ASADA <syuu at dokukino.com>

> 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
>  - signature filter list
>  - support perfect filter
> But, at least it can configure signature filter manually.
>
> Usage is as follows:
> Usage: ixgbetool <ifname> [operation]
> add_sig_filter <proto> <src_ip> <src_port> <dst_ip> <dst_port> <que_index>
>  del_sig_filter <proto> <src_ip> <src_port> <dst_ip> <dst_port>
>
>
> 2013/9/28 hiren panchasara <hiren.panchasara at gmail.com>
>
>>
>>
>>
>> On Fri, Sep 27, 2013 at 1:58 AM, Takuya ASADA <syuu at dokukino.com> wrote:
>>
>>> 2013/9/27 Adrian Chadd <adrian at freebsd.org>
>>>
>>>> On 27 September 2013 00:43, hiren panchasara <
>>>> hiren.panchasara at gmail.com> 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
>>>> tool program it for now.
>>>>
>>>
>>> Ah, like cxgbetool and cxgbe? (it has device specific tool and ioctls)
>>> http://svnweb.freebsd.org/base/head/tools/tools/cxgbetool/
>>>
>>
>> Something like this for ixgbe would be nice to start with, imo.
>>
>> Cheers,
>> Hiren
>>
>>> http://svnweb.freebsd.org/base/head/sys/dev/cxgb/
>>>
>>>
>>>> So, how bout we hack that up? :)
>>>>
>>>
>>>  Sound's interesting ;-)
>>> Could you tell me more detail about your idea?
>>>
>>>
>>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ixgbetool-v002.diff
Type: application/octet-stream
Size: 22079 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20130930/c302716e/attachment.obj>


More information about the freebsd-net mailing list