igb: introduce IGB_PTP_OVERFLOW_CHECK flag
authorJacob Keller <jacob.e.keller@intel.com>
Tue, 24 May 2016 20:56:28 +0000 (13:56 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 29 Jun 2016 17:51:34 +0000 (10:51 -0700)
commit63737166a056fdcc83be46175ad4f63538279d7c
treec06c8be6daec311cc9161637bec87638cc5ab27f
parent462f11888207934bbecd0f154f6cf0bedac5ecd0
igb: introduce IGB_PTP_OVERFLOW_CHECK flag

Don't continue to use complex MAC type checks for handling various cases
where we have overflow check code. Make this code more obvious by
introducing a flag which is enabled for hardware that needs these
checks.

Signed-off-by: Jacob Keller <jacob.e.keller@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/igb/igb.h
drivers/net/ethernet/intel/igb/igb_ptp.c