]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4 : retrieve port information from firmware
authorGanesh Goudar <ganeshgr@chelsio.com>
Fri, 19 May 2017 12:20:15 +0000 (17:50 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 May 2017 17:30:29 +0000 (13:30 -0400)
commitb0acc61344957b0cad353580d20d9f7b72d35799
tree22e758f7174e39a869f9af83c2ca827b8562b6cd
parent02e37066abb1fca65dd83d4a845ec2283aa7b804
cxgb4 : retrieve port information from firmware

issue get port information command to firmware to retrieve port
information and update if it is different from what was last
recorded and also add indication for supported link modes for
firmware port types FW_PORT_TYPE_SFP28, FW_PORT_TYPE_KR_SFP28,
FW_PORT_TYPE_CR4_QSFP.

Based on the original work by Casey Leedom <leedom@chelsio.com>

Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h