Add support for reception of jumbo frames 87/55787/1
authorXavier Simonart <xavier.simonart@intel.com>
Sat, 14 Apr 2018 15:19:41 +0000 (17:19 +0200)
committerXavier Simonart <xavier.simonart@intel.com>
Sun, 15 Apr 2018 13:41:16 +0000 (15:41 +0200)
commite9da2a14ec116912033a88f08261bc193a9c445d
tree20760f8b999789778c37c9d738ca73ed785bb275
parent3981ce6fed44db09af235100526ab8bc1666e38e
Add support for reception of jumbo frames

Jumbo frames are now supported through the addition of a "mtu"
parameter of the port in the config file.
Setting the mtu to a value higher than 1500 bytes will enable
the reception of jumbo frames.
In addition, the rte_eth_dev_set_mtu is now set for all pmds.
Finally, setting mbuf_size does not set MEMPOOL_F_NO_SPREAD
anymore. This option was only used for pure debugging.

Big packets can be received using two ways
- Using multiple "small" mbufs, i.e. around 2K. This is the default.
- Using one big mbuf holding the whole packet. This can be enabled
  by setting a parameter mbuf_size in the receiving core configuration

Change-Id: Idd60ad31f41c89f9522dff4d894af2696b7a2ea1
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
VNFs/DPPD-PROX/main.c
VNFs/DPPD-PROX/prox_args.c
VNFs/DPPD-PROX/prox_port_cfg.c