xdp-tutorial icon indicating copy to clipboard operation
xdp-tutorial copied to clipboard

Core affinity setting in xdp

Open Adarsh97 opened this issue 3 years ago • 2 comments

I would like to know about, how to set core affinity during run to completion and poll mode options using xdp. Any specific api is there for this? @magnus-karlsson @tohojo

Adarsh97 avatar Jul 06 '22 17:07 Adarsh97

can we do affinity setting currently ?

Adarsh97 avatar Jul 09 '22 17:07 Adarsh97

Adarsh Sunilkumar @.***> writes:

can we do affinity setting currently ?

You can configure the hardware RSS to send packets to a specific RX-queue and pin the interrupts for that queue to a particular CPU. Or you can use CPUMAP to steer packets to a CPU after they're received...

tohojo avatar Jul 10 '22 11:07 tohojo