[PATCH] macsec_linux: hardware offload requires Linux headers >= v5.7

Jouni Malinen j at w1.fi
Sun Sep 1 07:25:11 PDT 2024


On Thu, Aug 22, 2024 at 12:03:41AM +0300, Sergey Matyukevich wrote:
> Hardware offload in Linux macsec driver is enabled in compile time if
> libnl version is >= v3.6. This is not sufficient for successful build
> since enum 'macsec_offload' has been added to Linux header if_link.h
> in kernels v5.6 and v5.7, see commits:
> - https://github.com/torvalds/linux/commit/21114b7feec29e4425a3ac48a037569c016a46c8
> - https://github.com/torvalds/linux/commit/76564261a7db80c5f5c624e0122a28787f266bdf
> 
> New libnl with older Linux headers is a valid combination. This is how
> hostapd build failure has been detected by Buildroot autobuilder, see:
> - http://autobuild.buildroot.net/results/b59d5bc5bd17683a3a1e3577c40c802e81911f84/
> 
> Extend compile time condition for the enablement of the macsec hardware
> offload adding Linux headers version check.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list