net/mlx: enhance Rx scatter mode detection
authorVasily Philipov <vasilyf@mellanox.com>
Tue, 28 Mar 2017 10:18:49 +0000 (13:18 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 16:59:51 +0000 (18:59 +0200)
commitedad38fcd00e2d2494be082c1848b8f4922f792d
treefc81b5cb729417b6c0870fc1b46a5a1b6570bf90
parent001a520e419fdbab8d83f572c2a4414c7bc8ed07
net/mlx: enhance Rx scatter mode detection

Toggle Rx scatter mode based on the scatter_enable flag and the maximum
packet size only instead of deriving this information from the jumbo_frame
setting and the MTU configuration.

Signed-off-by: Vasily Philipov <vasilyf@mellanox.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx4/mlx4.c
drivers/net/mlx5/mlx5_ethdev.c
drivers/net/mlx5/mlx5_rxq.c