diff options
author | Damjan Marion <damarion@cisco.com> | 2023-11-08 19:12:27 +0000 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2023-11-13 12:21:45 +0000 |
commit | e596ca1b51d25c24bd06132f9824d4bd0c6a5ecc (patch) | |
tree | 9d44c3ede674ef6f8822328117a2561ec10c1f1d /src/vnet/dev/handlers.c | |
parent | 64d6463d2eac0c0fe434f3a7aa56fe4d85c046d9 (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/handlers.c')
-rw-r--r-- | src/vnet/dev/handlers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/dev/handlers.c b/src/vnet/dev/handlers.c index 41d4cba963b..fcaef14221f 100644 --- a/src/vnet/dev/handlers.c +++ b/src/vnet/dev/handlers.c @@ -23,8 +23,8 @@ vnet_dev_port_set_max_frame_size (vnet_main_t *vnm, vnet_hw_interface_t *hw, vnet_dev_rv_t rv; vnet_dev_port_cfg_change_req_t req = { - .type = VNET_DEV_PORT_CFG_MAX_FRAME_SIZE, - .max_frame_size = frame_size, + .type = VNET_DEV_PORT_CFG_MAX_RX_FRAME_SIZE, + .max_rx_frame_size = frame_size, }; log_debug (p->dev, "size %u", frame_size); |