xdp-newbies.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* xdp with mlx5 not working as expected
@ 2019-11-08  1:30 David Ahern
       [not found] ` <VI1PR05MB5102CF9D51954A7674C1F92DBE7B0@VI1PR05MB5102.eurprd05.prod.outlook.com>
  0 siblings, 1 reply; 2+ messages in thread
From: David Ahern @ 2019-11-08  1:30 UTC (permalink / raw)
  To: Saeed Mahameed, Tariq Toukan, Jesper Dangaard Brouer; +Cc: xdp-newbies

Hi:

I am trying to get an XDP program working with an mlx5 based nic and not
having much success. The same program works fine with sfc and i40e, but
with mlx5 it seems to be limited. I added a trace_printk and basically
it seems to only run cpu 1 and rx queue 0. Fiddling with the number of
channels (ethtool -L) I was, for a brief moment, seeing the program
running on different cpu with a different rx-queue id. I am clearly
missing some setting that is needed for mlx5, but I have not been able
to find any wiki, conference paper or git commit message with helpful
hints. Do you have any references you can forward?

Server has 48 cores, 96 threads and RPS is configureed. The card is:
d8:00.0 Ethernet controller: Mellanox Technologies MT27710 Family
[ConnectX-4 Lx]

Thanks,
David

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

* Re: xdp with mlx5 not working as expected
       [not found] ` <VI1PR05MB5102CF9D51954A7674C1F92DBE7B0@VI1PR05MB5102.eurprd05.prod.outlook.com>
@ 2019-11-08  3:36   ` David Ahern
  0 siblings, 0 replies; 2+ messages in thread
From: David Ahern @ 2019-11-08  3:36 UTC (permalink / raw)
  To: Saeed Mahameed, Tariq Toukan, Jesper Dangaard Brouer; +Cc: xdp-newbies


I think it is a vlan problem. Host traffic is untagged; VM traffic is
tagged.

Never mind; I think I see the problem.

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

end of thread, other threads:[~2019-11-08  3:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-08  1:30 xdp with mlx5 not working as expected David Ahern
     [not found] ` <VI1PR05MB5102CF9D51954A7674C1F92DBE7B0@VI1PR05MB5102.eurprd05.prod.outlook.com>
2019-11-08  3:36   ` David Ahern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).