summaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@mellanox.com>2017-06-15 14:35:34 +0300
committerDavid S. Miller <davem@davemloft.net>2017-06-15 22:53:23 -0400
commitcc26a4908682698cafdb5bb917f19840aff1a149 (patch)
tree5c5070735501da3d9e0dfaa334862f1fb53ae4eb /net/tipc/node.c
parent9bcee89ac4dbafe77b7a2fc68c4a784358d6e4e4 (diff)
downloadlinux-cc26a4908682698cafdb5bb917f19840aff1a149.tar.bz2
net/mlx4_en: Improve transmit CQ polling
Several small performance improvements in TX CQ polling, including: - Compiler branch predictor hints. - Minimize variables scope. - More proper check of cq type. - Use boolean instead of int for a binary indication. Performance tests: Tested on ConnectX3Pro, Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz Packet-rate tests for both regular stack and XDP use cases: No noticeable gain, no degradation. Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Reviewed-by: Saeed Mahameed <saeedm@mellanox.com> Cc: kernel-team@fb.com Cc: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions