dev: add change_max_rx_frame_size capability
Type: improvement
Change-Id: I922e216818b78f2fe7689c21a1d27d74a0ae28b8
Signed-off-by: Damjan Marion <damarion@cisco.com>
diff --git a/src/vnet/dev/handlers.c b/src/vnet/dev/handlers.c
index 41d4cba..fcaef14 100644
--- a/src/vnet/dev/handlers.c
+++ b/src/vnet/dev/handlers.c
@@ -23,8 +23,8 @@
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);