Fix init of ENIC driver to allow receiving of jumbo packets 02/6102/1
authorJohn Lo <[email protected]>
Sat, 8 Apr 2017 03:32:32 +0000 (23:32 -0400)
committerJohn Lo <[email protected]>
Sat, 8 Apr 2017 17:16:33 +0000 (17:16 +0000)
commit16c76de9b50f622a8594e6eb4ad9215a9c9ba7f2
treee42c9b2ec3cf403ca6bdee3d7285e17d8595485c
parentb970bb7f010420d1fa5ea26ac632972e9da54ef1
Fix init of ENIC driver to allow receiving of jumbo packets

Set rxmode.enable_scatter field in DPDK port config parameter so ENIC
driver will use multiple mbuf's for receiving jumbo packets.
Also remove ENIC driver check to disable setting ENIC MTU as this
capability is now working with the new ENIC driver, subject to 9002B
limit.

Change-Id: I563976201c4968d4538c0759505cef2de876934a
Signed-off-by: John Lo <[email protected]>
(cherry picked from commit 250b95b71babdfb558554c788a82cf45ccc34ab8)
src/plugins/dpdk/device/init.c