XDP Newbie developer discussions
 help / color / mirror / Atom feed
* Newbie questions
@ 2021-06-18 16:31 Ethy H. Brito
  2021-06-18 17:40 ` Jesper Dangaard Brouer
  0 siblings, 1 reply; 5+ messages in thread
From: Ethy H. Brito @ 2021-06-18 16:31 UTC (permalink / raw)
  To: xdp-newbies@vger.kernel.org


Hi All.

I've been doing some home work reading the docs and some doubts have raised.
For reference, my environment is 
	Ubuntu 20.04
	kernel 5.4.0-66 
	tc utility, iproute2-ss200127.

1) https://xdp-project.net/areas/cpumap.html#cpumap--Create-script-MQ-HTB-silo-setup says that: 
	"XPS (Transmit Packet Steering) will take precedence over any changes to 
	skb->queue_mapping. You need to disable *XDP* via mask=00 in files 
	/sys/class/net/DEV/queues/tx-*/xps_cpus"

Shouldn't it say I need to disable *XPS* (not XDP) using mask=00??

2) Taking tc_mq_htb_setup_example.sh as reference, how to enable XDP?
Since I have to disable XPS, I assume I have to enable something in replacement, right?
How to set that CPU-0 will deal with mq queue 7FFF:1, CPU-1 will deal with 7FFF:2, and so on?

3) Is XDP available in kernel 5.4.0 ?

4) Is XPS a suitable "substitute" for XDP ?

Thank you for your time.

Regards Ethy

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

end of thread, other threads:[~2021-06-22  9:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-18 16:31 Newbie questions Ethy H. Brito
2021-06-18 17:40 ` Jesper Dangaard Brouer
2021-06-18 20:37   ` Ethy H. Brito
2021-06-22  1:28     ` Ethy H. Brito
2021-06-22  9:18       ` Jesper Dangaard Brouer

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