Skip to content

Commit

Permalink
igc: Add comment
Browse files Browse the repository at this point in the history
Separate interrupt and flag definitions.
Made the code clear.

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
  • Loading branch information
Sasha Neftin authored and Jeff Kirsher committed Feb 20, 2020
1 parent e055600 commit 67082b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/ethernet/intel/igc/igc.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ extern char igc_driver_version[];

/* Interrupt defines */
#define IGC_START_ITR 648 /* ~6000 ints/sec */

/* Flags definitions */
#define IGC_FLAG_HAS_MSI BIT(0)
#define IGC_FLAG_QUEUE_PAIRS BIT(3)
#define IGC_FLAG_DMAC BIT(4)
Expand Down

0 comments on commit 67082b5

Please sign in to comment.