aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/dev/format.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2023-11-08 19:12:27 +0000
committerDamjan Marion <damarion@cisco.com>2023-11-13 12:21:45 +0000
commite596ca1b51d25c24bd06132f9824d4bd0c6a5ecc (patch)
tree9d44c3ede674ef6f8822328117a2561ec10c1f1d /src/vnet/dev/format.c
parent64d6463d2eac0c0fe434f3a7aa56fe4d85c046d9 (diff)
dev: add change_max_rx_frame_size capability
Type: improvement Change-Id: I922e216818b78f2fe7689c21a1d27d74a0ae28b8 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/dev/format.c')
-rw-r--r--src/vnet/dev/format.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vnet/dev/format.c b/src/vnet/dev/format.c
index 2c95e3adf25..8816c0e552c 100644
--- a/src/vnet/dev/format.c
+++ b/src/vnet/dev/format.c
@@ -117,9 +117,9 @@ format_vnet_dev_port_info (u8 *s, va_list *args)
s = format (s, " %U", format_vnet_dev_hw_addr, a);
}
}
- s = format (s, "\n%UMax frame size is %u (max supported %u)",
- format_white_space, indent, port->max_frame_size,
- port->attr.max_supported_frame_size);
+ s = format (s, "\n%UMax RX frame size is %u (max supported %u)",
+ format_white_space, indent, port->max_rx_frame_size,
+ port->attr.max_supported_rx_frame_size);
if (port->port_ops.format_status)
s = format (s, "\n%U%U", format_white_space, indent,
port->port_ops.format_status, a, port);