forked from Minki/linux
bnx2x: add transmit timestamping support
Signed-off-by: Willem de Bruijn <willemb@google.com> Acked-by: Eilon Greenstein <eilong@broadcom.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
80be3129d7
commit
8373c57d6f
@ -2953,6 +2953,8 @@ netdev_tx_t bnx2x_start_xmit(struct sk_buff *skb, struct net_device *dev)
|
||||
|
||||
netdev_tx_sent_queue(txq, skb->len);
|
||||
|
||||
skb_tx_timestamp(skb);
|
||||
|
||||
txdata->tx_pkt_prod++;
|
||||
/*
|
||||
* Make sure that the BD data is updated before updating the producer
|
||||
|
Loading…
Reference in New Issue
Block a user