From: Helin Zhang Date: Tue, 14 Jun 2016 13:53:07 +0000 (+0100) Subject: net/i40e/base: support disabling links on all ports X-Git-Tag: spdx-start~6505 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=2a68b4ad939d1ac4b4e6eb2cd30c894cae1f0750;p=dpdk.git net/i40e/base: support disabling links on all ports Add a flag which can be used to tell the firmware to disable the link on all ports. Signed-off-by: Helin Zhang Signed-off-by: Bruce Richardson --- diff --git a/drivers/net/i40e/base/i40e_adminq_cmd.h b/drivers/net/i40e/base/i40e_adminq_cmd.h index cccc9687fc..2b7a76080a 100644 --- a/drivers/net/i40e/base/i40e_adminq_cmd.h +++ b/drivers/net/i40e/base/i40e_adminq_cmd.h @@ -1899,7 +1899,10 @@ struct i40e_aqc_set_phy_debug { #define I40E_AQ_PHY_DEBUG_RESET_EXTERNAL_NONE 0x00 #define I40E_AQ_PHY_DEBUG_RESET_EXTERNAL_HARD 0x01 #define I40E_AQ_PHY_DEBUG_RESET_EXTERNAL_SOFT 0x02 +/* Disable link manageability on a single port */ #define I40E_AQ_PHY_DEBUG_DISABLE_LINK_FW 0x10 +/* Disable link manageability on all ports needs both bits 4 and 5 */ +#define I40E_AQ_PHY_DEBUG_DISABLE_ALL_LINK_FW 0x20 u8 reserved[15]; };