diff options
author | Eric Dumazet <edumazet@google.com> | 2017-03-08 17:17:16 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-09 18:54:46 +0100 |
commit | 02e6fd3e5598bace683e05ee783f134722cb21b4 (patch) | |
tree | 8d9fa4633734ebb4943c4b6cab15c76b197493d5 /kernel/dma.c | |
parent | mlx4: do not access rx_desc from mlx4_en_process_rx_cq() (diff) | |
download | linux-02e6fd3e5598bace683e05ee783f134722cb21b4.tar.xz linux-02e6fd3e5598bace683e05ee783f134722cb21b4.zip |
mlx4: factorize page_address() calls
We need to compute the frame virtual address at different points.
Do it once.
Following patch will use the new va address for validate_loopback()
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 'kernel/dma.c')
0 files changed, 0 insertions, 0 deletions