Re: [PATCH v01] net/af_packet: add rollover and defrag options

2024-10-30 Thread Stephen Hemminger
On Wed, 30 Oct 2024 08:22:16 +0200 Gur Stavi wrote: > > > + if (strstr(pair->key, ETH_AF_PACKET_ROLLOVER) != NULL) { > > > + rollover = atoi(pair->value); > > > + if (rollover != 0 && rollover != 1) { > > > + PMD_LOG(ERR, > > > +

RE: [PATCH v01] net/af_packet: add rollover and defrag options

2024-10-29 Thread Gur Stavi
> > + if (strstr(pair->key, ETH_AF_PACKET_ROLLOVER) != NULL) { > > + rollover = atoi(pair->value); > > + if (rollover != 0 && rollover != 1) { > > + PMD_LOG(ERR, > > + "%s: invalid rollover val

RE: [PATCH v01] net/af_packet: add rollover and defrag options

2024-10-29 Thread Gur Stavi
> On Tue, 29 Oct 2024 15:48:05 +0200 > Gur Stavi wrote: > > > net_af_packet PMD multi "queue" support relies on Linux FANOUT > capability. > > Linux FANOUT is a SW based load balancer that is similar to HW RSS > which is > > more common for DPDK PMDs. Instead of multiple HW descriptor queues, AF

[PATCH v01] net/af_packet: add rollover and defrag options

2024-10-29 Thread Gur Stavi
net_af_packet PMD multi "queue" support relies on Linux FANOUT capability. Linux FANOUT is a SW based load balancer that is similar to HW RSS which is more common for DPDK PMDs. Instead of multiple HW descriptor queues, AF PACKET uses multiple sockets. HW RSS will typically drop a packet if its sel