Commit 64900e8f authored by Sasha Neftin's avatar Sasha Neftin Committed by Jeff Kirsher

igc: Fix double definition

IGC_START_ITR has beed defined twice
This patch come to fix it
Signed-off-by: default avatarSasha Neftin <sasha.neftin@intel.com>
Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent b8a61ea1
...@@ -246,9 +246,6 @@ extern char igc_driver_version[]; ...@@ -246,9 +246,6 @@ extern char igc_driver_version[];
/* flags controlling PTP/1588 function */ /* flags controlling PTP/1588 function */
#define IGC_PTP_ENABLED BIT(0) #define IGC_PTP_ENABLED BIT(0)
/* Interrupt defines */
#define IGC_START_ITR 648 /* ~6000 ints/sec */
/* Flags definitions */ /* Flags definitions */
#define IGC_FLAG_HAS_MSI BIT(0) #define IGC_FLAG_HAS_MSI BIT(0)
#define IGC_FLAG_QUEUE_PAIRS BIT(3) #define IGC_FLAG_QUEUE_PAIRS BIT(3)
...@@ -270,6 +267,7 @@ extern char igc_driver_version[]; ...@@ -270,6 +267,7 @@ extern char igc_driver_version[];
#define IGC_MRQC_RSS_FIELD_IPV4_UDP 0x00400000 #define IGC_MRQC_RSS_FIELD_IPV4_UDP 0x00400000
#define IGC_MRQC_RSS_FIELD_IPV6_UDP 0x00800000 #define IGC_MRQC_RSS_FIELD_IPV6_UDP 0x00800000
/* Interrupt defines */
#define IGC_START_ITR 648 /* ~6000 ints/sec */ #define IGC_START_ITR 648 /* ~6000 ints/sec */
#define IGC_4K_ITR 980 #define IGC_4K_ITR 980
#define IGC_20K_ITR 196 #define IGC_20K_ITR 196
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment