DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] net/iavf: fix TM hierarchy commit and TM ops without QoS
@ 2026-10-14 12:24 Dawid Wesierski
  2026-10-14 12:24 ` [PATCH 1/3] net/iavf: fix invalid free of queue TC map Dawid Wesierski
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Dawid Wesierski @ 2026-10-14 12:24 UTC (permalink / raw)
  To: dev; +Cc: vladimir.medvedkin, bruce.richardson, anatoly.burakov,
	marek.kasiewicz

Three fixes in the iavf traffic manager.

Patch 1 removes a second free of the queue TC map. The fault is in main
only, after commit f6e33f09f766. No release has it.

Patch 2 sets the queue ID and TC of each queue node in the queue
bandwidth message. Without it, a queue node with no shaper profile
resets queue 0, and its own queue keeps the rate limit that the PF
holds from an earlier process.

Patch 3 returns -ENOTSUP from the TM ops that read qos_cap when the PF
does not grant VIRTCHNL_VF_OFFLOAD_QOS, for example the in-tree ice PF.
These ops cause a segmentation fault now.

The Media Transport Library carries patches 2 and 3 on DPDK 26.07, and
tests them on E830 VFs with the out-of-tree ice PF. On a VF that an
earlier process rate limited, a TSC-paced 1080p59.94 stream runs at
27.5 fps. With patch 2, a commit of queue nodes without shaper profiles
removes the old limits, and the stream runs at 59.9 fps.

Dawid Wesierski (3):
  net/iavf: fix invalid free of queue TC map
  net/iavf: fix bandwidth config of unshaped queues
  net/iavf: fix crash in TM ops without QoS capability

 drivers/net/intel/iavf/iavf_tm.c | 42 ++++++++++++++++++++++++++++----
 1 file changed, 37 insertions(+), 5 deletions(-)


base-commit: b39ee12b030f49c524b9d8c350a0f4b04141ccf9
-- 
2.43.0

---------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | Kapital zakladowy 200.000 PLN.
Spolka oswiadcza, ze posiada status duzego przedsiebiorcy w rozumieniu ustawy z dnia 8 marca 2013 r. o przeciwdzialaniu nadmiernym opoznieniom w transakcjach handlowych.

Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek przegladanie lub rozpowszechnianie jest zabronione.
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-10-20  9:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-14 12:24 [PATCH 0/3] net/iavf: fix TM hierarchy commit and TM ops without QoS Dawid Wesierski
2026-10-14 12:24 ` [PATCH 1/3] net/iavf: fix invalid free of queue TC map Dawid Wesierski
2026-10-19 16:47   ` Bruce Richardson
2026-10-19 17:06     ` Bruce Richardson
2026-10-14 12:24 ` [PATCH 2/3] net/iavf: fix bandwidth config of unshaped queues Dawid Wesierski
2026-10-20  9:33   ` Bruce Richardson
2026-10-14 12:24 ` [PATCH 3/3] net/iavf: fix crash in TM ops without QoS capability Dawid Wesierski
2026-10-20  9:50   ` Bruce Richardson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox