]> 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)
commit731e56950ceae70538deb8dcb419bd7f1e6eb8bd
treedf7b1de730a738dd537fba17b6e17aec509d812e
parent603cc9c5760ee32e546e44f7729333b7045542aa
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