net/mlx5: change start pointer of compressed completion
authorYongseok Koh <yskoh@mellanox.com>
Wed, 12 Jul 2017 22:09:54 +0000 (15:09 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 Jul 2017 08:09:13 +0000 (11:09 +0300)
commit4aff4bcbbdea0236ead3b228341b71dddb612509
treedb2ff73030c4e3020b5219cd3b53e6943ae4493c
parent59ab9bf0d28c8e9b1fe2aa2e83e38e482882dea6
net/mlx5: change start pointer of compressed completion

On a host having 128B cacheline size, some devices insert 64B padding in
each completion entry to avoid partial cacheline write by HW. But, as the
padding is ahead of completion data, casting a completion entry to
compressed mini-completions must start from the middle of the completion.

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5_rxtx.c