summaryrefslogtreecommitdiffstats
path: root/ipc/msg.c
diff options
context:
space:
mode:
authorTariq Toukan2016-06-23 16:02:40 +0200
committerDavid S. Miller2016-06-27 10:10:41 +0200
commit9908aa292971ee3320ea13a71d75f90a52929892 (patch)
tree887b74a8d4c93747f8542ef45e3880dfcc21b048 /ipc/msg.c
parentnet/mlx5e: Introduce net device priv flags infrastructure (diff)
downloadkernel-qcow2-linux-9908aa292971ee3320ea13a71d75f90a52929892.tar.gz
kernel-qcow2-linux-9908aa292971ee3320ea13a71d75f90a52929892.tar.xz
kernel-qcow2-linux-9908aa292971ee3320ea13a71d75f90a52929892.zip
net/mlx5e: CQE based moderation
In this mode the moderation timer will restart upon new completion (CQE) generation rather than upon interrupt generation. The outcome is that for bursty traffic the period timer will never expire and thus only the moderation frames counter will dictate interrupt generation, thus the interrupt rate will be relative to the incoming packets size. If the burst seizes for "moderation period" time then an interrupt will be issued immediately. CQE based moderation is off by default and can be controlled via ethtool set_priv_flags. Performance tested on ConnectX4-Lx 50G. Less packet loss in netperf UDP and TCP tests, with no bw degradation, for both single and multi streams, with message sizes of 64, 1024, 1472 and 32768 byte. Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Achiad Shochat <achiad@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: Gal Pressman <galp@mellanox.com> Signed-off-by: Gil Rockah <gilr@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'ipc/msg.c')
0 files changed, 0 insertions, 0 deletions