commit | 9e8c0395a7e87a8f0eb008297df25ffdf3e0e5b3 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Wed Mar 08 08:17:15 2017 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 09 09:54:46 2017 -0800 |
tree | 8e6e651467966777a696c89841e885d429b7d855 | |
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>