summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/realtek
diff options
context:
space:
mode:
authorRichard Cochran <richardcochran@gmail.com>2012-03-10 07:29:42 +0000
committerDavid S. Miller <davem@davemloft.net>2012-03-11 15:43:40 -0700
commit5047fb5d1dfcc92cf2133f246c1fe7b447ec4e5f (patch)
tree1d37d20e552df8a125f5184ccab9a13380cd19b2 /drivers/net/ethernet/realtek
parenta997cbb330689f476646330a9708725dd1523aba (diff)
downloadblackbird-op-linux-5047fb5d1dfcc92cf2133f246c1fe7b447ec4e5f.tar.gz
blackbird-op-linux-5047fb5d1dfcc92cf2133f246c1fe7b447ec4e5f.zip
r8169: enable transmit time stamping.
This patch has been tested on a machine with the Realtek RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05). Cc: Realtek linux nic maintainers <nic_swsd@realtek.com> Cc: Francois Romieu <romieu@fr.zoreil.com> Signed-off-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/realtek')
-rw-r--r--drivers/net/ethernet/realtek/r8169.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c
index 4aa419487ced..27c358c8f4dc 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b/drivers/net/ethernet/realtek/r8169.c
@@ -5154,6 +5154,8 @@ static netdev_tx_t rtl8169_start_xmit(struct sk_buff *skb,
netdev_sent_queue(dev, skb->len);
+ skb_tx_timestamp(skb);
+
wmb();
/* Anti gcc 2.95.3 bugware (sic) */
OpenPOWER on IntegriCloud