net/mvpp2: apply flow control after port init
authorLiron Himi <lironh@marvell.com>
Wed, 27 Jan 2021 16:09:42 +0000 (18:09 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:11 +0000 (18:16 +0100)
commit7f2ae5ddb1b3567655555a34fb014fdef9caabc2
treef805419edced827d48a1a15deffbfdef6f4a47bd
parent528ec03a6f1f9c6aaf5032b6f3f34fd421a741af
net/mvpp2: apply flow control after port init

In case ppio was not initialized yet (only at 'start' function)
the flow-ctrl setting should be saved for later stage.

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