diff options
| author | Eric Dumazet <edumazet@google.com> | 2017-03-08 08:17:15 -0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-03-09 09:54:46 -0800 |
| commit | 9e8c0395a7e87a8f0eb008297df25ffdf3e0e5b3 (patch) | |
| tree | 8e6e651467966777a696c89841e885d429b7d855 /lib/mpi/mpi-cmp.c | |
| parent | 7d7bfc6a3f69d2debe104656fadd8d568fda0e5b (diff) | |
mlx4: do not access rx_desc from mlx4_en_process_rx_cq()
Instead of fetching dma address from rx_desc->data[0].addr,
prefer using frags[0].dma + frags[0].page_offset to avoid
a potential cache line miss.
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
