All of lore.kernel.org
 help / color / mirror / Atom feed
* NIC rx/tx ring size vs XSK rx/tx ring size
@ 2021-12-30 12:21 Daniel Salzman
  2021-12-30 13:04 ` Maciej Fijalkowski
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Salzman @ 2021-12-30 12:21 UTC (permalink / raw)
  To: xdp-newbies

Hello,

Please what is the relation between NIC ring sizes and XDP socket ring sizes?
If my app sets XDP_RX_RING and XDP_TX_RING, what are the optimal values for ethtool -G rx/tx?

Also I don't understand why changing TX ring size changes some XDP ring size for the ice driver (Kernel 5.13):
[  424.542118] ice 0000:41:00.0 enp65s0f0: Changing Tx descriptor count from 256 to 2048
[  424.542176] ice 0000:41:00.0 enp65s0f0: Changing XDP descriptor count from 256 to 2048   <- What is that?

In the case of the i40e driver, there is no XDP ring logged:
[847243.925269] i40e 0000:81:00.0 enp129s0f0: Changing Tx descriptor count from 256 to 2048.

Thank you,
Daniel


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

end of thread, other threads:[~2021-12-30 13:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-30 12:21 NIC rx/tx ring size vs XSK rx/tx ring size Daniel Salzman
2021-12-30 13:04 ` Maciej Fijalkowski
2021-12-30 13:56   ` Daniel Salzman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.