summaryrefslogtreecommitdiffstats
path: root/vnet
diff options
context:
space:
mode:
authorJohn Lo <loj@cisco.com>2016-03-23 16:42:33 -0400
committerJohn Lo <loj@cisco.com>2016-03-23 16:42:33 -0400
commitd90df1820ae003fb8de2f51cc35b8c4f498e024d (patch)
tree5801c684d75ef6d70ced3c5046eb12e23a1917e4 /vnet
parent3a8f32be9f67546d51de110efa2ada6bcceb454f (diff)
Add dpdk vmxnet3 driver patch and init.c change to allow jumbo packets
Change-Id: I9d7f8b9a0543d885ed10908b859d52a80bf89f56 Signed-off-by: John Lo <loj@cisco.com>
Diffstat (limited to 'vnet')
-rw-r--r--vnet/vnet/devices/dpdk/init.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/vnet/vnet/devices/dpdk/init.c b/vnet/vnet/devices/dpdk/init.c
index eed54098410..8fe95ae5f09 100644
--- a/vnet/vnet/devices/dpdk/init.c
+++ b/vnet/vnet/devices/dpdk/init.c
@@ -158,23 +158,6 @@ static u32 dpdk_flag_change (vnet_main_t * vnm,
{
int rv;
- /*
- * DAW-FIXME: The DPDK VMXNET3 driver does not currently support
- * multi-buffer packets. Max out at 1518 bytes for now.
- *
- * If/when the driver gets fixed, then this should be
- * removed.
- */
- if ((xd->pmd == VNET_DPDK_PMD_VMXNET3) &&
- (hi->max_packet_bytes > 1518))
- {
- hi->max_packet_bytes = 1518;
-
- vlib_cli_output (vlib_get_main(),
- "VMXNET3 driver does not support jumbo frames "
- "yet -- setting mtu to 1518!");
- }
-
xd->port_conf.rxmode.max_rx_pkt_len = hi->max_packet_bytes;
if (xd->admin_up)