net/qede/base: fix logic for sfp get/set
authorRasesh Mody <rasesh.mody@cavium.com>
Sat, 8 Sep 2018 20:30:56 +0000 (13:30 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 27 Sep 2018 23:41:01 +0000 (01:41 +0200)
commit6d1be6d6f8de09ce473fd7c2daa1768125bba647
tree25045fd3ae985a3a8973a9014b67e350a802da72
parent657b762a878f74fae7b8cac96b7f0189f927bea7
net/qede/base: fix logic for sfp get/set

Fix logic for sfp get rx_los, tx_fault, tx_disable, and sfp set tx_disable.

Fixes: bdc40630a8eb ("net/qede/base: add APIs for xcvr")
Cc: stable@dpdk.org
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_mcp.c
drivers/net/qede/base/ecore_mcp_api.h