Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48425b14 authored by Richard Cochran's avatar Richard Cochran Committed by Jeff Kirsher
Browse files

e100: enable transmit time stamping.



This patch enables software (and phy device) transmit time stamping.
Tested on an old PIII laptop with built in NIC.

Signed-off-by: default avatarRichard Cochran <richardcochran@gmail.com>
Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent abe0c5d1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1759,6 +1759,7 @@ static void e100_xmit_prepare(struct nic *nic, struct cb *cb,
		skb->data, skb->len, PCI_DMA_TODEVICE));
	/* check for mapping failure? */
	cb->u.tcb.tbd.size = cpu_to_le16(skb->len);
	skb_tx_timestamp(skb);
}

static netdev_tx_t e100_xmit_frame(struct sk_buff *skb,