Re: [PATCH rdma-next V1 0/7] Extend flow steering IPv4 and IPv6 specification.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/30/2016 9:58 AM, Leon Romanovsky wrote:
> This patch set extends the IPv4 and IPv6 flow specification.
> 
> New fields in IPv4:
>  1. Type of Service
>  2. Time to Live
>  3. Flags
>  4. Protocol
> 
> New fields in IPv6:
>  1. Traffic Class
>  2. Flow Label
>  3. Next Header
>  4. Hop Limit
> 
> The first patch in this series adds support to extend the flow
> steering specification. Previously, user flow specification
> and kernel flow specification were must to be equal in their size.
> 
> To support extensions, we change the flow specifications conditions
> test to be as following:
>  1. Every mask field that is given by the user and doesn't exist in
>     kernel is validated to be zero. Thus, new user-space would only fail
>     if it's using (i.e field_mask != 0) a field which doesn't exist in
>     the current kernel version.
>  2. All types are known by the kernel.
>  3. If the kernel is newer than the user-space, all fields (and by
>     that, their masks) weren't given by the user are assumed as zeros
>     and ignored.
>  4. The ABI declares filters as 32bit aligned. This is necessary to
>     avoid unaligned access when reading the header.
> 
> Changes from v0 to v1:
>  * Add Reviewed-by from Sagi G.
>  * Split mlx4, mlx5 and uverbs to separate patches
>  * Rename IB/core to be IB/uverbs
> 
> Available in the "topic/ext-flow" topic branch of this git repo:
> git://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git
> 
> Or for browsing:
> https://git.kernel.org/cgit/linux/kernel/git/leon/linux-rdma.git/log/?h=topic/ext-flow

Extension was done in a way that made sense and adhered to the standard.
 All items added to the extension are generic flow variables that make
sense for anyone that would implement raw eth flow rules.  Series applied.

-- 
Doug Ledford <dledford@xxxxxxxxxx>
    GPG Key ID: 0E572FDD

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux