summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-03-08 08:17:17 -0800
committerDavid S. Miller <davem@davemloft.net>2017-03-09 09:54:46 -0800
commit6969cf0fdbe9e67ed14cdf7ec95977abcf4a14af (patch)
tree2b24c8da27c1e7f603fd915258a192667a346714 /lib/mpi/mpi-internal.h
parent02e6fd3e5598bace683e05ee783f134722cb21b4 (diff)
mlx4: make validate_loopback() more generic
Testing a boolean in fast path is not worth duplicating the code allocating packets, when GRO is on or off. If this proves to be a problem, we might later use a jump label. Next patch will remove this duplicated code and ease code review. Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions