octeon: add support for max_rx_frame_size update 23/40823/17
authorAlok Mishra <almishra@marvell.com>
Fri, 26 Apr 2024 10:15:49 +0000 (15:45 +0530)
committerDamjan Marion <dmarion@0xa5.net>
Wed, 21 Aug 2024 11:54:29 +0000 (11:54 +0000)
commitf7f26e5b328617ae6527fa05e4cb7ab23a283045
tree4a925e3210c5c9459ef606026a77d8ccb3487443
parente00ce39714d4c6b9d107f6de2b8cf440713e3cf5
octeon: add support for max_rx_frame_size update

This patch adds capability to update max_rx_frame_size on octeon
port.
Initial MTU value is being set in the "oct_port_start", which is
invoked every time the Ethernet interface is brought up, thus
overwriting any MTU value set by VPP CLI.
Moved the MTU initialization to "oct_port_init" to address this.

Type: feature

Change-Id: I00d0d52bc7711062cde47b8fe52e6823bb718d08
Signed-off-by: Alok Mishra <almishra@marvell.com>
src/plugins/dev_octeon/port.c
src/vnet/dev/port.c