From: Andre Guedes Date: Tue, 7 Apr 2020 21:07:09 +0000 (-0700) Subject: igc: Fix MAX_ETYPE_FILTER value X-Git-Tag: v5.10.7~2469^2~146^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4d48d96eaec9bff4139dcbeb9590869fc765aa9;p=platform%2Fkernel%2Flinux-rpi.git igc: Fix MAX_ETYPE_FILTER value The I225 controller has 8 ethertype filters, not 4. This patch fixes the MAX_ETYPE_FILTER macro accordingly. Signed-off-by: Andre Guedes Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- diff --git a/drivers/net/ethernet/intel/igc/igc.h b/drivers/net/ethernet/intel/igc/igc.h index e4169fe..8389569 100644 --- a/drivers/net/ethernet/intel/igc/igc.h +++ b/drivers/net/ethernet/intel/igc/igc.h @@ -26,7 +26,7 @@ void igc_set_ethtool_ops(struct net_device *); #define MAX_Q_VECTORS 8 #define MAX_STD_JUMBO_FRAME_SIZE 9216 -#define MAX_ETYPE_FILTER 4 +#define MAX_ETYPE_FILTER 8 #define IGC_RETA_SIZE 128 struct igc_tx_queue_stats {