mirror of
https://github.com/openvswitch/ovs
synced 2025-10-29 15:28:56 +00:00
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>
This commit is contained in:
committed by
Pravin B Shelar
parent
a28ddd11c6
commit
9477751009
@@ -117,6 +117,7 @@ static const struct rte_eth_txconf tx_conf = {
|
||||
},
|
||||
.tx_free_thresh = 0,
|
||||
.tx_rs_thresh = 0,
|
||||
.txq_flags = ETH_TXQ_FLAGS_NOMULTSEGS|ETH_TXQ_FLAGS_NOOFFLOADS,
|
||||
};
|
||||
|
||||
enum { MAX_RX_QUEUE_LEN = 64 };
|
||||
|
||||
Reference in New Issue
Block a user