[PATCH 7/7] net/iavf: remove undocumented conditional macros
Loftus, Ciara
ciara.loftus at intel.com
Thu Sep 3 16:15:38 CEST 2026
> Subject: [PATCH 7/7] net/iavf: remove undocumented conditional macros
>
> The iavf driver included two #defines which enabled the QinQ and
> checksum offload in the code. The intent as documented in code comments
> was that any user not taking advantage of these features could remove
> the #defines to cut out some code. However, this was never actually
> publicly documented, and the use of these defines was never tested in
> any builds, making them fragile - if not already broken. Therefore, just
> remove these build time macros.
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
Acked-by: Ciara Loftus <ciara.loftus at intel.com>
> ---
> drivers/net/intel/iavf/iavf_rxtx_vec_avx2.c | 6 ------
> drivers/net/intel/iavf/iavf_rxtx_vec_avx512.c | 6 ------
> drivers/net/intel/iavf/iavf_rxtx_vec_common.h | 18 ------------------
> 3 files changed, 30 deletions(-)
>
More information about the dev
mailing list