projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aff9c78
)
ixgbe: PTP get_ts_info missing software support
author
Jacob Keller
<
[email protected]
>
Wed, 31 Oct 2012 22:30:54 +0000
(22:30 +0000)
committer
David S. Miller
<
[email protected]
>
Thu, 1 Nov 2012 15:22:34 +0000
(11:22 -0400)
This patch corrects the ethtool get_ts_info functon which did not state that
software timestamping was supported, even though it is.
Signed-off-by: Jacob Keller <
[email protected]
>
CC: Stable <
[email protected]
> [3.5]
Tested-by: Stephen Ko <
[email protected]
>
Signed-off-by: Jeff Kirsher <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
b/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
index 56b20d17d0e4c5577828040fddf8bd294868c84d..116f0e901bee2305324c4fa9035d19e6c5676b37 100644
(file)
--- a/
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
+++ b/
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
@@
-2673,6
+2673,9
@@
static int ixgbe_get_ts_info(struct net_device *dev,
case ixgbe_mac_X540:
case ixgbe_mac_82599EB:
info->so_timestamping =
+ SOF_TIMESTAMPING_TX_SOFTWARE |
+ SOF_TIMESTAMPING_RX_SOFTWARE |
+ SOF_TIMESTAMPING_SOFTWARE |
SOF_TIMESTAMPING_TX_HARDWARE |
SOF_TIMESTAMPING_RX_HARDWARE |
SOF_TIMESTAMPING_RAW_HARDWARE;