diff options
author | Moshe Lazer <moshel@mellanox.com> | 2016-03-02 00:13:40 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-01 17:28:00 -0500 |
commit | 0ba422410bbf7081c3c7d7b2dcc10e9eb5cb46f7 (patch) | |
tree | 0acd32393a267c63e7e89286a367b2e9dbe1735e /net/netfilter/xt_connmark.c | |
parent | net/mlx5: Make command timeout way shorter (diff) | |
download | linux-dev-0ba422410bbf7081c3c7d7b2dcc10e9eb5cb46f7.tar.xz linux-dev-0ba422410bbf7081c3c7d7b2dcc10e9eb5cb46f7.zip |
net/mlx5: Fix global UAR mapping
Avoid double mapping of io mapped memory, Device page may be
mapped to non-cached(NC) or to write-combining(WC).
The code before this fix tries to map it both to WC and NC
contrary to what stated in Intel's software developer manual.
Here we remove the global WC mapping of all UARS
"dev->priv.bf_mapping", since UAR mapping should be decided
per UAR (e.g we want different mappings for EQs, CQs vs QPs).
Caller will now have to choose whether to map via
write-combining API or not.
mlx5e SQs will choose write-combining in order to perform
BlueFlame writes.
Fixes: 88a85f99e51f ('TX latency optimization to save DMA reads')
Signed-off-by: Moshe Lazer <moshel@mellanox.com>
Reviewed-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/xt_connmark.c')
0 files changed, 0 insertions, 0 deletions