mlx5: process offload flags only when requested
authorNelio Laranjeiro <nelio.laranjeiro@6wind.com>
Thu, 3 Mar 2016 14:27:14 +0000 (15:27 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 17:52:17 +0000 (18:52 +0100)
commit081f7eae242eac9d3d9769d355764622cfa6c4c9
treebefa8d33ebf0da5708b9c938faebc26557402766
parente16820236d358c84fa15acd960b82e7caaa2b2b1
mlx5: process offload flags only when requested

Improve performance by processing offloads only when requested by the
application.

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