idpf: make virtchnl2.h self-contained
authorAlexander Lobakin <aleksander.lobakin@intel.com>
Wed, 27 Mar 2024 14:22:40 +0000 (15:22 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 29 Mar 2024 01:50:47 +0000 (18:50 -0700)
commitc00d33f1fc7958e6e7f461c994fa025aa2273c13
treedf697c98a238e891313c132478bac1bd15cd62ae
parentca7e324e8ad385a2da15049953c04ea7310687f7
idpf: make virtchnl2.h self-contained

To ease maintaining of virtchnl2.h, which already is messy enough,
make it self-contained by adding missing if_ether.h include due to
%ETH_ALEN usage.
At the same time, virtchnl2_lan_desc.h is not used anywhere in the
file, so move this include to idpf_txrx.h to speed up C preprocessing.

Acked-by: Kees Cook <keescook@chromium.org>
Acked-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Link: https://lore.kernel.org/r/20240327142241.1745989-3-aleksander.lobakin@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/intel/idpf/idpf_txrx.h
drivers/net/ethernet/intel/idpf/virtchnl2.h