diff options
author | 2017-03-08 08:17:17 -0800 | |
---|---|---|
committer | 2017-03-09 09:54:46 -0800 | |
commit | 6969cf0fdbe9e67ed14cdf7ec95977abcf4a14af (patch) | |
tree | 2b24c8da27c1e7f603fd915258a192667a346714 /include/linux | |
parent | mlx4: factorize page_address() calls (diff) | |
download | wireguard-linux-6969cf0fdbe9e67ed14cdf7ec95977abcf4a14af.tar.xz wireguard-linux-6969cf0fdbe9e67ed14cdf7ec95977abcf4a14af.zip |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions