diff options
author | Sebastian Sanchez <[email protected]> | 2018-02-01 10:46:23 -0800 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2018-02-01 15:43:28 -0700 |
commit | 6d6b8848c882b22e3170cc9f217101773e8bd8d2 (patch) | |
tree | 4e694d7e1ac69e73dcc01d11515189991fce8f76 /net/unix/sysctl_net_unix.c | |
parent | f150e2736f346a3171f002e660c3dfc653cc11cd (diff) |
IB/hfi1: Optimize packet type comparison using 9B and bypass code paths
The packet type comparison used to find out if a packet is a bypass
packet in the hot path is an expensive operation as seen in a profile.
Determine packet's pkey and migration bit through the bypass and 9B
code paths instead.
Reviewed-by: Don Hiatt <[email protected]>
Reviewed-by: Mike Marciniszyn <[email protected]>
Signed-off-by: Sebastian Sanchez <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions