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/plugins/dev_iavf/iavf.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/plugins/dev_iavf/iavf.c')
-rw-r--r-- | src/plugins/dev_iavf/iavf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/dev_iavf/iavf.c b/src/plugins/dev_iavf/iavf.c index f45bea0e669..1a17f46fb52 100644 --- a/src/plugins/dev_iavf/iavf.c +++ b/src/plugins/dev_iavf/iavf.c @@ -160,7 +160,8 @@ iavf_init (vlib_main_t *vm, vnet_dev_t *dev) .type = VNET_DEV_PORT_TYPE_ETHERNET, .max_rx_queues = res.num_queue_pairs, .max_tx_queues = res.num_queue_pairs, - .max_supported_frame_size = res.max_mtu, + .max_supported_rx_frame_size = res.max_mtu, + .caps.change_max_rx_frame_size = 1, }, .ops = { .init = iavf_port_init, |