netdev-dpdk: Disable NIC offloading and multiseg mbufs
authorDaniele Di Proietto <ddiproietto@vmware.com>
Tue, 24 Jun 2014 23:05:02 +0000 (16:05 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Wed, 25 Jun 2014 17:54:04 +0000 (10:54 -0700)
commit94777510095693b9746fbff95a84660510f874ae
tree2366ec3e48b94ef852e524c0aed66730996faec1
parenta28ddd11c683abd3c0767d1c358f6d45f9457c4e
netdev-dpdk: Disable NIC offloading and multiseg mbufs

We do not use any offloading (now) or multiple segments per packet, so
we might as well disable those features while configuring the NIC.

This could give performance improvements. For ixgbe, for example, this change
allows the driver to use a simpler tx routine, resulting in throuput
improvements (~7.5%)

Signed-off-by: Daniele Di Proietto <ddiproietto@vmware.com>
Acked-by: Thomas Graf <tgraf@noironetworks.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
lib/netdev-dpdk.c