summaryrefslogtreecommitdiffstats
path: root/drivers/connector
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@mellanox.com>2017-03-29 11:46:10 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2017-04-30 16:03:16 +0300
commit1f5b1e47ee08f6c623db599b6c23ce7c20b79458 (patch)
tree22ba10a6a89b11fccd7d07db2804aa647dbf7783 /drivers/connector
parenta2fa1fe5ad13e7f11b82291fc08bdc654fac741e (diff)
downloadlinux-stable-1f5b1e47ee08f6c623db599b6c23ce7c20b79458.tar.gz
linux-stable-1f5b1e47ee08f6c623db599b6c23ce7c20b79458.tar.bz2
linux-stable-1f5b1e47ee08f6c623db599b6c23ce7c20b79458.zip
net/mlx5e: Optimize poll ICOSQ completion queue
UMR operations are more frequent and important. Check them first, and add a compiler branch predictor hint. According to current design, ICOSQ CQ can contain at most one pending CQE per napi. Poll function is optimized accordingly. Performance: Single-stream packet-rate tested with pktgen. Packets are dropped in tc level to zoom into driver data-path. Larger gain is expected for larger packet sizes, as BW is higher and UMR posts are more frequent. --------------------------------------------- packet size | before | after | gain | 64B | 4,092,370 | 4,113,306 | 0.5% | 1024B | 3,421,435 | 3,633,819 | 6.2% | Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Cc: kernel-team@fb.com Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/connector')
0 files changed, 0 insertions, 0 deletions