[Intel-wired-lan] [next-queue RFC 0/4] ethtool: Add support for frame preemption
Vinicius Costa Gomes
vinicius.gomes at intel.com
Mon May 18 19:05:04 UTC 2020
Hi,
David Miller <davem at davemloft.net> writes:
> From: Vladimir Oltean <olteanv at gmail.com>
> Date: Sun, 17 May 2020 00:03:39 +0300
>
>> As to why this doesn't go to tc but to ethtool: why would it go to tc?
>
> Maybe you can't %100 duplicate the on-the-wire special format and
> whatever, but the queueing behavior ABSOLUTELY you can emulate in
> software.
Just saying what Vladimir said in different words: the queueing behavior
is already implemented in software, by mqprio or taprio, for example.
That is to say, if we add frame preemption support to those qdiscs all
they will do is pass the information to the driver, and that's it. They
won't be able to use that information at all.
The mental model I have for this feature is that is more similar to the
segmentation offloads, energy efficient ethernet or auto-negotiation
than it is to a traffic shaper like CBS.
>
> And then you have the proper hooks added for HW offload which can
> do the on-the-wire stuff.
>
> That's how we do these things, not with bolted on ethtool stuff.
Cheers,
--
Vinicius
More information about the Intel-wired-lan
mailing list