net/atlantic: fix reported flow control mode
authorPavel Belous <pavel.belous@aquantia.com>
Fri, 20 Sep 2019 16:22:05 +0000 (16:22 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 8 Oct 2019 10:14:31 +0000 (12:14 +0200)
commitc1339892ddfe74703fff1c2c126c68d9e7e17464
tree16652a8886c0b57427c2635810f4c7a248020d18
parent9f3318d1d60d0d1db155e1d1d4e2740d83458aa4
net/atlantic: fix reported flow control mode

Driver reports current flow control mode based on internal flow control
settings. Currently this logic works incorrectly.

Fixes: 921eb6b8ce31 ("net/atlantic: fix flow control by sync settings on Rx")
Cc: stable@dpdk.org
Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
drivers/net/atlantic/atl_ethdev.c