Add support for reception of jumbo frames 07/56107/1
authorXavier Simonart <xavier.simonart@intel.com>
Sat, 14 Apr 2018 15:19:41 +0000 (17:19 +0200)
committerDeepak S <deepak.s@linux.intel.com>
Fri, 20 Apr 2018 10:57:52 +0000 (16:27 +0530)
commit86ba409707b11089dc6e59f7b09d8f89c06aed9d
tree20760f8b999789778c37c9d738ca73ed785bb275
parentd8eb33e28c99f959f3066c0fd8960482726db150
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