igc: Fix MAX_ETYPE_FILTER value
authorAndre Guedes <andre.guedes@intel.com>
Tue, 7 Apr 2020 21:07:09 +0000 (14:07 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 19 May 2020 22:40:43 +0000 (15:40 -0700)
The I225 controller has 8 ethertype filters, not 4. This patch fixes the
MAX_ETYPE_FILTER macro accordingly.

Signed-off-by: Andre Guedes <andre.guedes@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igc/igc.h

index e4169fe..8389569 100644 (file)
@@ -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 {