Re: [PATCH RFC V1 net-next 0/6] Time based packet transmission

From: David Miller
Date: Mon Sep 18 2017 - 12:34:47 EST


From: Richard Cochran <rcochran@xxxxxxxxxxxxx>
Date: Mon, 18 Sep 2017 09:41:15 +0200

> - The driver does not handle out of order packets. If user space
> sends a packet with an earlier Tx time, then the code should stop
> the queue, reshuffle the descriptors accordingly, and then
> restart the queue.

The user should simply be not allowed to do this.

Once the packet is in the device queue, that's it. You cannot insert
a new packet to be transmitted before an already hw queued packet,
period.

Any out of order request should be rejected with an error.

I'd say the same is true for requests to send packets timed
in the past.