On Fri, 21 Nov 2025 14:19:51 +0800
Jiawen Wu <[email protected]> wrote:
> Now lib security is enabled by default, and cannot be disabled if the
> driver is intended to be used. But there are some functional scenarios
> where lib security should be disabled, just like to enale Tx descriptor
> hardware check. See commit 0eabdfcd4af4 ("net/txgbe: enable Tx
> descriptor error interrupt").
>
> So remove the build dependency on lib security for the driver.
>
> Signed-off-by: Jiawen Wu <[email protected]>
I would like a review by other maintainers.
Several other drivers including cn10k, cn20k, ixgbe already have
similar dependencies. Can't the security library just have stubs
to always return NULL if not used.