diff options
| author | Eric Dumazet <[email protected]> | 2014-10-05 17:11:27 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-10-06 21:56:28 +0000 |
| commit | fcbeb976d7ce783fd58e63e61c196d9a8912b3be (patch) | |
| tree | c6dde6923e5316b2bfc4bdb04bd6643515cc1598 /net/sched/cls_basic.c | |
| parent | r8152: nway reset after setting eee (diff) | |
| download | kernel-fcbeb976d7ce783fd58e63e61c196d9a8912b3be.tar.gz kernel-fcbeb976d7ce783fd58e63e61c196d9a8912b3be.zip | |
net: introduce netdevice gso_min_segs attribute
Some TSO engines might have a too heavy setup cost, that impacts
performance on hosts sending small bursts (2 MSS per packet).
This patch adds a device gso_min_segs, allowing drivers to set
a minimum segment size for TSO packets, according to the NIC
performance.
Tested on a mlx4 NIC, this allows to get a ~110% increase of
throughput when sending 2 MSS per packet.
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/sched/cls_basic.c')
0 files changed, 0 insertions, 0 deletions
