diff options
author | Nick Nunley <nicholasx.d.nunley@intel.com> | 2010-03-26 12:36:47 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-31 08:42:27 +0200 |
commit | 757b77e2b208490868cf21fd22d796eb9bd199c5 (patch) | |
tree | 628dccdbed780dc38d9843bb30d5c5920b830258 /drivers/net/igb/igb.h | |
parent | MAINTAINERS: ipg: Jesse Huang's email address bounces (diff) | |
download | linux-757b77e2b208490868cf21fd22d796eb9bd199c5.tar.xz linux-757b77e2b208490868cf21fd22d796eb9bd199c5.zip |
igb: add per-packet timestamping
This patch adds support for per-packet timestamping for the
82580 adapter. The rx timestamp code is also pulled out of the
inlined rx hotpath and instead moved to a seperate function.
This version adds a comment explaining the per-packet timestamping
code added to igb_hwtstamp_ioctl().
Signed-off-by: Nicholas Nunley <nicholasx.d.nunley@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/igb.h')
-rw-r--r-- | drivers/net/igb/igb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h index a1775705b24c..4f69b6d951b3 100644 --- a/drivers/net/igb/igb.h +++ b/drivers/net/igb/igb.h @@ -107,6 +107,7 @@ struct vf_data_storage { #define MAXIMUM_ETHERNET_VLAN_SIZE 1522 /* Supported Rx Buffer Sizes */ +#define IGB_RXBUFFER_64 64 /* Used for packet split */ #define IGB_RXBUFFER_128 128 /* Used for packet split */ #define IGB_RXBUFFER_1024 1024 #define IGB_RXBUFFER_2048 2048 @@ -324,6 +325,7 @@ struct igb_adapter { #define IGB_82576_TSYNC_SHIFT 19 #define IGB_82580_TSYNC_SHIFT 24 +#define IGB_TS_HDR_LEN 16 enum e1000_state_t { __IGB_TESTING, __IGB_RESETTING, |