mlx5: avoid lkey retrieval for inlined packets
authorNelio Laranjeiro <nelio.laranjeiro@6wind.com>
Thu, 3 Mar 2016 14:27:15 +0000 (15:27 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 17:52:17 +0000 (18:52 +0100)
commitd970e99260bf77f40d8e1712a683f1455c4f92d3
tree4cfcc195e67b7749ff193ba907b3d2a80f087cdd
parent081f7eae242eac9d3d9769d355764622cfa6c4c9
mlx5: avoid lkey retrieval for inlined packets

Improves performance as the lkey is not needed by hardware in this case.

Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5_rxtx.c