Re: [RFC PATCH v3 1/2] dts: add port config mtu options to testpmd shell

2024-08-22 Thread Juraj Linkeš
+def configure_port_mtu_all(self, mtu_length: int) -> None: +"""Set the MTU length on all designated ports. + +Args: +mtu_length: The MTU length to be set on all ports. +""" +for port in self.show_port_info_all(): +self.send_command(f"por

Re: [RFC PATCH v3 1/2] dts: add port config mtu options to testpmd shell

2024-08-02 Thread Jeremy Spewock
Hey Nick, Looks good to me, I just had one comment about what looks like a mistake in a merge, and then another more general question. On Fri, Jul 26, 2024 at 10:13 AM Nicholas Pratte wrote: > > Testpmd offers mtu configuration options that omit ethernet overhead > calculations when set. This pa

[RFC PATCH v3 1/2] dts: add port config mtu options to testpmd shell

2024-07-26 Thread Nicholas Pratte
Testpmd offers mtu configuration options that omit ethernet overhead calculations when set. This patch adds easy-of-use methods to leverage these runtime options. Bugzilla ID: 1421 Signed-off-by: Nicholas Pratte --- dts/framework/remote_session/testpmd_shell.py | 20 ++- 1 file