numam-dpdk/drivers/net
Stephen Hemminger 74a5a6663b net/netvsc: allow setting Rx and Tx copy break
The values for Rx and Tx copy break should be tunable rather
than hard coded constants.

The rx_copybreak sets the threshold where the driver uses an
external mbuf to avoid having to copy data. Setting 0 for copybreak
will cause driver to always create an external mbuf. Setting
a value greater than the MTU would prevent it from ever making
an external mbuf and always copy. The default value is 256 (bytes).

Likewise the tx_copybreak sets the threshold where the driver
aggregates multiple small packets into one request. If tx_copybreak
is 0 then each packet goes as a VMBus request (no copying).
If tx_copybreak is set larger than the MTU, then all packets smaller
than the chunk size of the VMBus send buffer will be copied; larger
packets always have to go as a single direct request. The default
value is 512 (bytes).

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Long Li <longli@microsoft.com>
2020-11-03 23:35:07 +01:00
..
af_packet build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
af_xdp net/af_xdp: fix integer overflow in umem size calculation 2020-11-03 23:35:06 +01:00
ark net/ark: switch Rx timestamp to dynamic mbuf field 2020-11-03 16:21:15 +01:00
atlantic build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
avp drivers: add headers install helper 2020-10-22 14:16:22 +02:00
axgbe build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
bnx2x build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
bnxt ethdev: remove legacy FDIR filter type support 2020-11-03 23:35:05 +01:00
bonding drivers: add headers install helper 2020-10-22 14:16:22 +02:00
cxgbe build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
dpaa bus/dpaa: switch sequence number to dynamic mbuf field 2020-10-31 22:14:31 +01:00
dpaa2 ethdev: remove legacy filter API functions 2020-11-03 23:35:05 +01:00
e1000 ethdev: remove legacy N-tuple filter type support 2020-11-03 23:35:05 +01:00
ena net/ena: upgrade driver version to v2.2.0 2020-11-03 23:35:06 +01:00
enetc build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
enic net/enic: fix header sizes when copying flow patterns 2020-11-03 23:35:06 +01:00
failsafe net/failsafe: replace references to slave devices 2020-10-20 13:17:08 +02:00
fm10k net/fm10k: fix vector Rx 2020-11-03 23:24:26 +01:00
hinic ethdev: remove legacy EtherType filter type support 2020-11-03 23:35:05 +01:00
hns3 net/hns3: fix enabling SVE Rx/Tx 2020-11-03 23:35:06 +01:00
i40e ethdev: remove legacy FDIR filter type support 2020-11-03 23:35:05 +01:00
iavf net/iavf: support flex desc metadata extraction 2020-11-03 23:35:06 +01:00
ice net/ice: rename dynamic mbuf name 2020-11-03 23:35:06 +01:00
igc ethdev: remove legacy filter API functions 2020-11-03 23:35:05 +01:00
ionic build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
ipn3ke build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
ixgbe ethdev: move L2 tunnel config structure to ixgbe driver 2020-11-03 23:35:06 +01:00
kni build: replace use of old build macros 2020-10-19 22:15:44 +02:00
liquidio build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
memif net/memif: replace master/slave arguments 2020-10-20 13:17:08 +02:00
mlx4 net/mlx: do not enforce RSS hash offload 2020-11-03 23:35:04 +01:00
mlx5 ethdev: remove legacy FDIR filter type support 2020-11-03 23:35:05 +01:00
mvneta build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
mvpp2 net/mvpp2: fix memory leak in error path 2020-11-03 23:24:26 +01:00
netvsc net/netvsc: allow setting Rx and Tx copy break 2020-11-03 23:35:07 +01:00
nfb net/nfb: switch Rx timestamp to dynamic mbuf field 2020-11-03 16:21:15 +01:00
nfp build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
null build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
octeontx build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
octeontx2 net/octeontx2: avoid per packet barrier with multi segment 2020-11-03 23:35:06 +01:00
pcap net/pcap: switch Rx timestamp to dynamic mbuf field 2020-11-03 16:21:15 +01:00
pfe build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
qede ethdev: remove legacy filter API functions 2020-11-03 23:35:05 +01:00
ring drivers: add headers install helper 2020-10-22 14:16:22 +02:00
sfc net/sfc: support aarch64 architecture 2020-11-03 23:35:06 +01:00
softnic net/softnic: fix out-of-bound access 2020-11-03 23:24:24 +01:00
szedata2 build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
tap gso: fix mbuf freeing responsibility 2020-11-03 22:45:02 +01:00
thunderx net/thunderx: fix memory leak on rbdr desc ring failure 2020-11-03 23:35:06 +01:00
txgbe net/txgbe: prevent driver forcing application to exit 2020-11-03 23:35:05 +01:00
vdev_netvsc net/vdev_netvsc: fix device probing error flow 2020-11-03 23:35:05 +01:00
vhost net/vhost: fix xstats after clearing stats 2020-11-03 23:24:26 +01:00
virtio net/virtio-user: set status on socket reconnect 2020-11-03 23:35:05 +01:00
vmxnet3 net/vmxnet3: switch MSS hint to dynamic mbuf field 2020-10-31 16:13:11 +01:00
meson.build net/txgbe: add build and doc infrastructure 2020-11-03 23:24:26 +01:00