Re: [PATCH 2/2] macsec_linux: Add support for MACsec hardware offload

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

 



On Wed, Feb 22, 2023 at 09:15:29AM +0100, Benny Lønstrup Ammitzbøll wrote:
> I provided a similar patch earlier where the question was asked "why does
> the user need to configure this?" which I found was a valid point so I made
> a second patch that would try first to enable HW offload and if that failed
> would fallback to SW MACsec.
> 
> So why is it now a good idea to have this configurable? Fine with me, but
> I'm curious.

Maybe due to not remembering and mixing two contributions and there
being no pending patch in the queue for doing this differently.. I'm not
convinced this is good to require/need configuration, but I have no
convenient ways of testing this myself and I don't fully understand how
and why the kernel interface for offload was designed in this manner for
MACsec. As such, it felt safer to get things available for testing in
this manner. Anyway, I'd welcome a followup patch to allow the offload
mechanism to be enabled automatically based on kernel/driver/hardware
capabilities.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap




[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