On Wed, 8 Jan 2025 13:10:11 +0100 Tomasz Duszynski <[email protected]> wrote:
> From: Tomasz Duszynski <[email protected]> > To: <[email protected]>, Stephen Hemminger <[email protected]>, > "Pascal Mazon" <[email protected]> > CC: <[email protected]>, Tomasz Duszynski <[email protected]> > Subject: [PATCH] net/tap: fix compilation issues if HAVE_TCA_FLOWER is missing > Date: Wed, 8 Jan 2025 13:10:11 +0100 > X-Mailer: git-send-email 2.34.1 > > If HAVE_TCA_FLOWER is undefined compilation errors / warnings may > appear. This addresses following spotted issues: > > ../drivers/net/tap/rte_eth_tap.c:2113:1: error: label ‘disable_rte_flow’ > defined but not used [-Werror=unused-label] > > ../drivers/net/tap/rte_eth_tap.c:1908:26: error: unused parameter > ‘remote_iface’ [-Werror=unused-parameter] > > Fixes: bf7b7f437b49 ("net/tap: create netdevice during probing") > Cc: [email protected] > > Signed-off-by: Tomasz Duszynski <[email protected]> Looks good, but realize that flower was added in kernel 4.2 and the current oldest supported upstream kernel is 4.4. So if you are using a supported kernel, flower will be present.

