Re: [PATCH] net/af_packet: allow disabling packet fanout

2025-01-06 Thread Tudor Cornea
> This is a great idea. Would introducing a new devarg, (e.g > 'fanout_mode') be the proper way to allow the application to customize > fanout in more detail ? > > --vdev=net_af_packet0,iface=eth1,blocksz=4096,framesz=2048,framecnt=512,qpairs=1,fanout_mode=[fanout_hash|fanout_cpu|fanout_rnd|fanout_

Re: [PATCH] net/af_packet: allow disabling packet fanout

2024-12-16 Thread Tudor Cornea
> Controlling fanout more is a good idea but not sure what this patch > is trying to do with it. I am maintaining a DPDK application which should run on a large number of setups. Unfortunately, I do not have a lot of control over the environment the application runs on (e.g kernel). The problem I

[PATCH] net/af_packet: allow disabling packet fanout

2024-12-12 Thread Tudor Cornea
This allows us to control whether the PMD will attempt to use the PACKET_FANOUT socket option, and allows the binary compiled against newer kernel headers to run on an older kernel, which lacks support for it. Signed-off-by: Tudor Cornea --- doc/guides/nics/af_packet.rst | 4 ++- dr