Re: [PATCH v2] ethdev: account for smaller MTU when setting default

2023-11-08 Thread Ferruh Yigit
On 11/8/2023 5:05 PM, Ajit Khaparde wrote: > On Wed, Nov 8, 2023 at 7:07 AM Andrew Rybchenko > wrote: >> >> On 11/8/23 09:05, Joshua Washington wrote: >>> Currently, if not specified in the user configuration, >>> rte_eth_dev_configure() sets the MTU of the device to RTE_EHTER_MTU. >>> This value

Re: [PATCH v2] ethdev: account for smaller MTU when setting default

2023-11-08 Thread Ajit Khaparde
On Wed, Nov 8, 2023 at 7:07 AM Andrew Rybchenko wrote: > > On 11/8/23 09:05, Joshua Washington wrote: > > Currently, if not specified in the user configuration, > > rte_eth_dev_configure() sets the MTU of the device to RTE_EHTER_MTU. > > This value could potentially be larger than the MTU that the

Re: [PATCH v2] ethdev: account for smaller MTU when setting default

2023-11-08 Thread Andrew Rybchenko
On 11/8/23 09:05, Joshua Washington wrote: Currently, if not specified in the user configuration, rte_eth_dev_configure() sets the MTU of the device to RTE_EHTER_MTU. This value could potentially be larger than the MTU that the device supports. This change updates the configured MTU to be the min

[PATCH v2] ethdev: account for smaller MTU when setting default

2023-11-07 Thread Joshua Washington
Currently, if not specified in the user configuration, rte_eth_dev_configure() sets the MTU of the device to RTE_EHTER_MTU. This value could potentially be larger than the MTU that the device supports. This change updates the configured MTU to be the minimum of the maximum suported MTU and the defa