summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHariprasad Shenai <hariprasad@chelsio.com>2016-04-26 20:10:28 +0530
committerDavid S. Miller <davem@davemloft.net>2016-04-26 13:23:57 -0400
commit23853a0a9a7621922a21759eeed8c5bc09c71c54 (patch)
tree81e94b31e47ffae1c38c212390f556be6b6054a7 /scripts
parent134491fdc319037f37adc5f8ec51093e5cd5ada1 (diff)
cxgb4: Don't assume FW_PORT_CMD reply is always port info msg
The firmware can send a set of asynchronous replies through FW_PORT_CMD with DCBX information when that's negotiated with the Link Peer. The old code always assumed that a FW_PORT_CMD reply was always a Get Port Information message. This change conditionalizes the code to only handle the Get Port Information messages and throws a warning if we don't understand what we've been given. Also refactor t4_handle_fw_rpl() so that core functionality performed by t4_handle_get_port_info() for a specified port. Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions