Re: [PATCH] Enable MACsec HW offload in driver_macsec_linux if supported

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


On Mon, Nov 28, 2022 at 02:04:19PM +0100, Benny Lønstrup Ammitzbøll wrote:
> On 26.11.2022 11.14, Jouni Malinen wrote:
> > This breaks the build with many existing systems since enum
> > macsec_offload is not defined. In other words, this would need some kind
> > of conditional build mechanism to try to include this only if the needed
> > defines are available.

> Since this is the driver code for linux MACsec I assume that those many
> existing systems are older versions of linux from before the macsec_offload
> was added. How do I check for this?

The most convenient option would be to be able to do #ifdef on something
new defined in the header file that defines these items. Alas, that
might not be available. If there is no convenient automated mechanism
for this, this might require a new wpa_supplicant/hostapd build option
to add safely.

Jouni Malinen                                            PGP id EFC895FA

Hostap mailing list

[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux