Restrict max packet size on rx

2024-10-18 Thread Rajasekhar Pulluru
Team, Does setting mtu using rte_eth_dev_set_mtu limit the maximum size of the packet received on the dpdk port to the configured mtu size? On an intel machine with ixgbe port, with mtu set to 1500, no rx-offloads enabled, ixgbe dpdk port is able to receive packets greater than 1500 size and even

Re: Restrict max packet size on rx

2024-10-18 Thread Stephen Hemminger
On Fri, 18 Oct 2024 22:19:35 +0530 Rajasekhar Pulluru wrote: > Thanks Stephen. > > On Fri, Oct 18, 2024 at 10:13 PM Stephen Hemminger < > step...@networkplumber.org> wrote: > > > On Fri, 18 Oct 2024 22:05:24 +0530 > > Rajasekhar Pulluru wrote: > > > > > Team, > > > Does setting mtu using r

Re: Restrict max packet size on rx

2024-10-18 Thread Rajasekhar Pulluru
Thanks Stephen. On Fri, Oct 18, 2024 at 10:13 PM Stephen Hemminger < step...@networkplumber.org> wrote: > On Fri, 18 Oct 2024 22:05:24 +0530 > Rajasekhar Pulluru wrote: > > > Team, > > Does setting mtu using rte_eth_dev_set_mtu limit the maximum size of the > > packet received on the dpdk port t

Re: Restrict max packet size on rx

2024-10-18 Thread Stephen Hemminger
On Fri, 18 Oct 2024 22:05:24 +0530 Rajasekhar Pulluru wrote: > Team, > Does setting mtu using rte_eth_dev_set_mtu limit the maximum size of the > packet received on the dpdk port to the configured mtu size? > > On an intel machine with ixgbe port, with mtu set to 1500, no rx-offloads > enabled,