net/ice/base: support class 5+ modules
authorQi Zhang <qi.z.zhang@intel.com>
Fri, 18 Sep 2020 05:24:34 +0000 (13:24 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:03 +0000 (23:35 +0100)
commitee5031b810335c4eefcd8600ba653e85cc7b8b99
tree54ca537d92e159484dd67285a47f04b4a6e58fed
parent323e51eb25d4fa9c3a980df019ed446b3be8bce4
net/ice/base: support class 5+ modules

Currently QSFP/SFP modules up to power class 4 are supported.
100G modules require higher power in many cases.
Also, low power mode requires support of power classes 7 and even 8.

This change extends "Get Link Status" AQ command (0x0607) to
support class 5+ modules.

The patch also add couple other missing bits for link status.

Signed-off-by: Shay Amir <shay.amir@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_adminq_cmd.h