net: mvpp2: cls: Add missing NETIF_F_NTUPLE flag
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Mon, 13 May 2019 07:30:33 +0000 (09:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 May 2019 15:49:58 +0000 (08:49 -0700)
commitda86f59f170df3f46ea5366a519522a2234d1094
treed850d36fa9b4f69836311b742f30e470441d277d
parent69dda13fdaffc5e2dbbc6ffa3a6963073b748ac3
net: mvpp2: cls: Add missing NETIF_F_NTUPLE flag

Now that the mvpp2 driver supports classification offloading, we must
add the NETIF_F_NTUPLE to the features list.

Since the current code doesn't allow disabling the feature, we don't set
the flag in dev->hw_features.

Fixes: 90b509b39ac9 ("net: mvpp2: cls: Add Classification offload support")
Reported-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c