net/mlx5: consolidate condition checks for TSO
authorYongseok Koh <yskoh@mellanox.com>
Wed, 27 Dec 2017 03:55:44 +0000 (19:55 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit36aa55ea57e0f7bade9b174431a351d3c598d09f
tree0e72fde9ca3f485b4a506451538dda6bfe836918
parentf895536be4fa8d207789b286900eae793fcb4917
net/mlx5: consolidate condition checks for TSO

This change helps compiler to better optimize the code.

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/mlx5_rxtx.c