From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH RFC V1 net-next 0/6] Time based packet transmission Date: Mon, 18 Sep 2017 09:34:36 -0700 (PDT) Message-ID: <20170918.093436.1069699729581966538.davem@davemloft.net> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, intel-wired-lan@lists.osuosl.org, andre.guedes@intel.com, anna-maria@linutronix.de, henrik@austad.us, jesus.sanchez-palencia@intel.com, john.stultz@linaro.org, tglx@linutronix.de, vinicius.gomes@intel.com To: rcochran@linutronix.de Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Richard Cochran 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.