commit | 4c2af5cc2bee32685883b55328d8b5ec80e1781f | [log] [tgz] |
---|---|---|
author | Tariq Toukan <tariqt@mellanox.com> | Sun Jun 25 16:28:46 2017 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Sun Sep 03 06:34:08 2017 +0300 |
tree | 08330bfcecf89b40897d67819bfd60538221d550 | |
parent | 9bafe2adabd16e74e28920956680b15bf529c2eb [diff] |
net/mlx5e: Small enhancements for RX MPWQE allocation and free The dma offset of a MPWQE (Multi-Packet WQE) in memory region is fixed for all rounds. Calculate it once on creation time, instead of in runtime. This also obsoletes the wqe argument in the function. In addition, optimize dma_info iterator calculation. Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>