[ovs-dev] [PATCH] netdev-linux: Handle flags for 10G and 40G speeds

Ben Pfaff blp at ovn.org
Sun Nov 29 19:25:55 UTC 2015


On Fri, Nov 27, 2015 at 02:54:57PM +0900, Simon Horman wrote:
> Handle advertised and supported flags for the following speeds:
> 
> * 10G base KX4, KR, R
> * 40G base KR4, CR4, SR4, LR4
> 
> Signed-off-by: Simon Horman <simon.horman at netronome.com>
> 
> ---
> 
> * The defines used in this patch are provided by Linux kernel headers.
>   The defines for the 10G speeds were added in v2.6.30 and
>   the defines for the 40G speeds were added in v3.5.
>   The source file in question is only compiled when building for a Linux
>   host.  I am unsure of that compatibility considerations are regarding
>   Linux kernel versions and OVS user-space code.

netdev-linux.c has some compatibility #defines for kernels as old as
2.6.14, so I'd suggest adding them for these newer macros as well.



More information about the dev mailing list