]> git.baikalelectronics.ru Git - kernel.git/commit
packet: enable hardware tx timestamping on tpacket ring
authorDaniel Borkmann <dborkman@redhat.com>
Tue, 23 Apr 2013 00:39:29 +0000 (00:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Apr 2013 05:22:22 +0000 (01:22 -0400)
commitbf87f306420cd9706f124cdf2208ff214f068fcc
treedf7b1de730a738dd537fba17b6e17aec509d812e
parent46f76c3cef602e1e3e62e97288c67d6193f86584
packet: enable hardware tx timestamping on tpacket ring

Currently, we only have software timestamping for the TX ring buffer
path, but this limitation stems rather from the implementation. By
just reusing tpacket_get_timestamp(), we can also allow hardware
timestamping just as in the RX path.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/packet/af_packet.c