diff options
| author | Eric Dumazet <edumazet@google.com> | 2017-03-08 08:17:17 -0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-03-09 09:54:46 -0800 |
| commit | 6969cf0fdbe9e67ed14cdf7ec95977abcf4a14af (patch) | |
| tree | 2b24c8da27c1e7f603fd915258a192667a346714 /lib/mpi/mpi-cmp.c | |
| parent | 02e6fd3e5598bace683e05ee783f134722cb21b4 (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-cmp.c')
0 files changed, 0 insertions, 0 deletions
