net/mvpp2: align checking order
authorYuri Chipchev <yuric@marvell.com>
Wed, 27 Jan 2021 16:09:22 +0000 (18:09 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:11 +0000 (18:16 +0100)
commitd2c37f739c67af628bf98fffcbf289f4b49b0332
tree4b7fa3b058633e010c19456beb8726bdd6395d2f
parent36173503535b65e1562ea171a4f016ce334118eb
net/mvpp2: align checking order

First check for 'isolated' and then for '!ppio'

Signed-off-by: Yuri Chipchev <yuric@marvell.com>
Reviewed-by: Liron Himi <lironh@marvell.com>
drivers/net/mvpp2/mrvl_ethdev.c