aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorSebastian Sanchez <[email protected]>2018-02-01 10:46:31 -0800
committerJason Gunthorpe <[email protected]>2018-02-01 15:43:29 -0700
commitbdaf96f6500880401fe692cd0bf57afb596b135c (patch)
treeb5117c177ea94b87fc5c531a1b3693bb69485868 /net/unix/sysctl_net_unix.c
parent6d6b8848c882b22e3170cc9f217101773e8bd8d2 (diff)
IB/hfi1: Look up ibport using a pointer in receive path
In the receive path, hfi1_ibport is looked up by indexing into an array. A profile shows this to be expensive. The receive context data has a pointer to the ibport data, use that pointer instead. 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