]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Use inline MTTs in UMR WQEs
authorTariq Toukan <tariqt@mellanox.com>
Mon, 10 Jul 2017 09:52:36 +0000 (12:52 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 30 Mar 2018 23:16:17 +0000 (16:16 -0700)
commitd6b8667982d0fa0b6bf94fa00d1ac25ffe1379e0
tree618f777b231ae9ff7f9a85ac1dd0850638f5a3d9
parent9bb09b52fad5f338d8d11398264c470894e5441a
net/mlx5e: Use inline MTTs in UMR WQEs

When modifying the page mapping of a HW memory region
(via a UMR post), post the new values inlined in WQE,
instead of using a data pointer.

This is a micro-optimization, inline UMR WQEs of different
rings scale better in HW.

In addition, this obsoletes a few control flows and helps
delete ~50 LOC.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c