aboutsummaryrefslogtreecommitdiff
path: root/crypto/aead.c
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2008-01-25 14:15:34 -0800
committerRoland Dreier <rolandd@cisco.com>2008-01-25 14:15:34 -0800
commitb3226184af6c13c9d5d38f13f0ef8e03f718bbf7 (patch)
treee79a895f7c320ada2cf8a1faffb735f9fc098c8a /crypto/aead.c
parente57895d38991036f9ccf193b70fc5ebd5f6e6dc9 (diff)
IB/mlx4: Micro-optimize mlx4_ib_poll_one()
Rather than byte-swapping cqe->g_mlpath_rqpn each time we extract a field from it, byte-swap it once into a temporary variable. This results in smaller, better code -- eg, on 32-bit x86: add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-5 (-5) function old new delta mlx4_ib_poll_cq 1188 1183 -5 Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'crypto/aead.c')
0 files changed, 0 insertions, 0 deletions