[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87ftbvolwv.fsf@intel.com>
Date: Tue, 19 May 2020 10:49:04 -0700
From: Vinicius Costa Gomes <vinicius.gomes@...el.com>
To: Murali Karicheri <m-karicheri2@...com>,
Jakub Kicinski <kuba@...nel.org>
Cc: David Miller <davem@...emloft.net>, olteanv@...il.com,
intel-wired-lan@...ts.osuosl.org, jeffrey.t.kirsher@...el.com,
netdev@...r.kernel.org, vladimir.oltean@....com, po.liu@....com,
Jose.Abreu@...opsys.com
Subject: Re: [next-queue RFC 0/4] ethtool: Add support for frame preemption
Murali Karicheri <m-karicheri2@...com> writes:
>> That was the (only?) strong argument in favor of having frame preemption
>> in the TC side when this was last discussed.
>>
>> We can have a hybrid solution, we can move the express/preemptible per
>> queue map to mqprio/taprio/whatever. And have the more specific
>> configuration knobs, minimum fragment size, etc, in ethtool.
>
> Isn't this a pure h/w feature? FPE is implemented at L2 and involves
> fragments that are only seen by h/w and never at Linux network core
> unlike IP fragments and is transparent to network stack. However it
> enhances priority handling at h/w to the next level by pre-empting
> existing lower priority traffic to give way to express queue traffic
> and improve latency. So everything happens in h/w. So ethtool makes
> perfect sense here as it is a queue configuration. I agree with Vinicius
> and Vladmir to support this in ethtool instead of TC.
The way I see, the issue that Jakub is pointing here is more of
usability/understandability.
By having the express/preemptible queue mapping in TC, we have the
configuration near where the "priority to queue" mapping happens. That
improves the ease of configuration, makes it easier to spot mistakes,
that kind of thing, all of which are a big plus.
Right now, I am seeing this hybrid approach as a good compromise, we
have the queue settings near to where the kinds of traffic are mapped to
queues, and we have the rest of the hardware configuration in ethtool.
Cheers,
--
Vinicius
Powered by blists - more mailing lists