Re: [PATCH 4/5] dpaa2-eth: utilize skb->cb[0] for hardware timestamping

2020-09-10 Thread Jakub Kicinski
On Thu, 10 Sep 2020 17:38:34 +0800 Yangbo Lu wrote: > @@ -2107,7 +2111,7 @@ static int dpaa2_eth_xdp_create_fd(struct net_device > *net_dev, > /* We require a minimum headroom to be able to transmit the frame. >* Otherwise return an error and let the original net_device handle it >

[PATCH 4/5] dpaa2-eth: utilize skb->cb[0] for hardware timestamping

2020-09-10 Thread Yangbo Lu
This patch is a preparation for next hardware one-step timestamping support. For DPAA2, the one step timestamping configuration on hardware registers has to be done when there is no one-step timestamping packet in flight. So we will have to use workqueue and skb queue for such packets transmitting,