aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorTariq Toukan <[email protected]>2017-06-15 11:35:34 +0000
committerDavid S. Miller <[email protected]>2017-06-16 02:53:23 +0000
commitcc26a4908682698cafdb5bb917f19840aff1a149 (patch)
tree5c5070735501da3d9e0dfaa334862f1fb53ae4eb /drivers/net/dsa/dsa_loop.c
parentnet/mlx4_en: Improve receive data-path (diff)
downloadkernel-cc26a4908682698cafdb5bb917f19840aff1a149.tar.gz
kernel-cc26a4908682698cafdb5bb917f19840aff1a149.zip
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 <[email protected]> Reviewed-by: Saeed Mahameed <[email protected]> Cc: [email protected] Cc: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions