Re: [dpdk-dev] Overriding rte_config.h

2021-11-04 Thread Stephen Hemminger
On Thu, 4 Nov 2021 11:03:21 + "Ananyev, Konstantin" wrote: > Hi Ben, > > I also don’t think 64 is a common case here. > For such cases we probably should think up some different approach for the > reassembly table. Larger values make it easier to DoS the IP fragment table. See the Linux fr

Re: [dpdk-dev] Overriding rte_config.h

2021-11-04 Thread Ananyev, Konstantin
...@trinitycyber.com; Stefan Baranoff Subject: Re: [dpdk-dev] Overriding rte_config.h Thanks for the clarification. I agree bumping RTE_LIBRTE_IP_FRAG_MAX_FRAG to 8 probably makes sense to easily support jumbo frames. The other use case we have is supporting highly fragmented UDP. To support this we were

Re: [dpdk-dev] Overriding rte_config.h

2021-11-03 Thread Ben Magistro
Thanks for the clarification. I agree bumping RTE_LIBRTE_IP_FRAG_MAX_FRAG to 8 probably makes sense to easily support jumbo frames. The other use case we have is supporting highly fragmented UDP. To support this we were increasing to 64 (next power of 2) based on a 64K UDP max and a link MTU of

Re: [dpdk-dev] Overriding rte_config.h

2021-11-02 Thread Ananyev, Konstantin
> > > > > On Fri, Oct 29, 2021 at 09:48:30AM -0400, Ben Magistro wrote: > > > > > > With the transition to meson, what is the best way to provide > > > > > > custom values > > > > > > to parameters in rte_config.h? When using makefiles, (from memory, > > > > > > I > > > > > > think) we used co

Re: [dpdk-dev] Overriding rte_config.h

2021-11-02 Thread Bruce Richardson
On Tue, Nov 02, 2021 at 12:24:43PM +, Ananyev, Konstantin wrote: > > > > > On Fri, Oct 29, 2021 at 09:48:30AM -0400, Ben Magistro wrote: > > > > > With the transition to meson, what is the best way to provide custom > > > > > values > > > > > to parameters in rte_config.h? When using makefil

Re: [dpdk-dev] Overriding rte_config.h

2021-11-02 Thread Ananyev, Konstantin
> > > On Fri, Oct 29, 2021 at 09:48:30AM -0400, Ben Magistro wrote: > > > > With the transition to meson, what is the best way to provide custom > > > > values > > > > to parameters in rte_config.h? When using makefiles, (from memory, I > > > > think) we used common_base as a template that was

Re: [dpdk-dev] Overriding rte_config.h

2021-11-02 Thread Bruce Richardson
On Tue, Nov 02, 2021 at 11:20:04AM +, Ananyev, Konstantin wrote: > > > On Fri, Oct 29, 2021 at 09:48:30AM -0400, Ben Magistro wrote: > > > With the transition to meson, what is the best way to provide custom > > > values > > > to parameters in rte_config.h? When using makefiles, (from memory

Re: [dpdk-dev] Overriding rte_config.h

2021-11-02 Thread Ananyev, Konstantin
> On Fri, Oct 29, 2021 at 09:48:30AM -0400, Ben Magistro wrote: > > With the transition to meson, what is the best way to provide custom values > > to parameters in rte_config.h? When using makefiles, (from memory, I > > think) we used common_base as a template that was copied in as a > > replac

Re: [dpdk-dev] Overriding rte_config.h

2021-11-01 Thread Bruce Richardson
On Fri, Oct 29, 2021 at 09:48:30AM -0400, Ben Magistro wrote: > With the transition to meson, what is the best way to provide custom values > to parameters in rte_config.h? When using makefiles, (from memory, I > think) we used common_base as a template that was copied in as a > replacement for de

[dpdk-dev] Overriding rte_config.h

2021-10-29 Thread Ben Magistro
With the transition to meson, what is the best way to provide custom values to parameters in rte_config.h? When using makefiles, (from memory, I think) we used common_base as a template that was copied in as a replacement for defconfig_x86 Our current thinking is to apply a locally maintained