|
@@ -1671,6 +1671,8 @@ enum i40e_status_code i40e_aq_set_phy_config(struct i40e_hw *hw,
|
|
|
/**
|
|
|
* i40e_set_fc
|
|
|
* @hw: pointer to the hw struct
|
|
|
+ * @aq_failures: buffer to return AdminQ failure information
|
|
|
+ * @atomic_restart: whether to enable atomic link restart
|
|
|
*
|
|
|
* Set the requested flow control mode using set_phy_config.
|
|
|
**/
|
|
@@ -2807,8 +2809,8 @@ i40e_status i40e_aq_remove_macvlan(struct i40e_hw *hw, u16 seid,
|
|
|
* @mr_list: list of mirrored VSI SEIDs or VLAN IDs
|
|
|
* @cmd_details: pointer to command details structure or NULL
|
|
|
* @rule_id: Rule ID returned from FW
|
|
|
- * @rule_used: Number of rules used in internal switch
|
|
|
- * @rule_free: Number of rules free in internal switch
|
|
|
+ * @rules_used: Number of rules used in internal switch
|
|
|
+ * @rules_free: Number of rules free in internal switch
|
|
|
*
|
|
|
* Add/Delete a mirror rule to a specific switch. Mirror rules are supported for
|
|
|
* VEBs/VEPA elements only
|
|
@@ -2868,8 +2870,8 @@ static i40e_status i40e_mirrorrule_op(struct i40e_hw *hw,
|
|
|
* @mr_list: list of mirrored VSI SEIDs or VLAN IDs
|
|
|
* @cmd_details: pointer to command details structure or NULL
|
|
|
* @rule_id: Rule ID returned from FW
|
|
|
- * @rule_used: Number of rules used in internal switch
|
|
|
- * @rule_free: Number of rules free in internal switch
|
|
|
+ * @rules_used: Number of rules used in internal switch
|
|
|
+ * @rules_free: Number of rules free in internal switch
|
|
|
*
|
|
|
* Add mirror rule. Mirror rules are supported for VEBs or VEPA elements only
|
|
|
**/
|
|
@@ -2899,8 +2901,8 @@ i40e_status i40e_aq_add_mirrorrule(struct i40e_hw *hw, u16 sw_seid,
|
|
|
* add_mirrorrule.
|
|
|
* @mr_list: list of mirrored VLAN IDs to be removed
|
|
|
* @cmd_details: pointer to command details structure or NULL
|
|
|
- * @rule_used: Number of rules used in internal switch
|
|
|
- * @rule_free: Number of rules free in internal switch
|
|
|
+ * @rules_used: Number of rules used in internal switch
|
|
|
+ * @rules_free: Number of rules free in internal switch
|
|
|
*
|
|
|
* Delete a mirror rule. Mirror rules are supported for VEBs/VEPA elements only
|
|
|
**/
|
|
@@ -3648,6 +3650,8 @@ i40e_status i40e_aq_stop_lldp(struct i40e_hw *hw, bool shutdown_agent,
|
|
|
/**
|
|
|
* i40e_aq_start_lldp
|
|
|
* @hw: pointer to the hw struct
|
|
|
+ * @buff: buffer for result
|
|
|
+ * @buff_size: buffer size
|
|
|
* @cmd_details: pointer to command details structure or NULL
|
|
|
*
|
|
|
* Start the embedded LLDP Agent on all ports.
|
|
@@ -3728,7 +3732,6 @@ i40e_status i40e_aq_get_cee_dcb_config(struct i40e_hw *hw,
|
|
|
* i40e_aq_add_udp_tunnel
|
|
|
* @hw: pointer to the hw struct
|
|
|
* @udp_port: the UDP port to add in Host byte order
|
|
|
- * @header_len: length of the tunneling header length in DWords
|
|
|
* @protocol_index: protocol index type
|
|
|
* @filter_index: pointer to filter index
|
|
|
* @cmd_details: pointer to command details structure or NULL
|
|
@@ -3947,6 +3950,7 @@ i40e_status i40e_aq_config_vsi_tc_bw(struct i40e_hw *hw,
|
|
|
* @hw: pointer to the hw struct
|
|
|
* @seid: seid of the switching component connected to Physical Port
|
|
|
* @ets_data: Buffer holding ETS parameters
|
|
|
+ * @opcode: Tx scheduler AQ command opcode
|
|
|
* @cmd_details: pointer to command details structure or NULL
|
|
|
**/
|
|
|
i40e_status i40e_aq_config_switch_comp_ets(struct i40e_hw *hw,
|
|
@@ -4290,10 +4294,10 @@ i40e_status i40e_aq_add_rem_control_packet_filter(struct i40e_hw *hw,
|
|
|
* @hw: pointer to the hw struct
|
|
|
* @seid: VSI seid to add ethertype filter from
|
|
|
**/
|
|
|
-#define I40E_FLOW_CONTROL_ETHTYPE 0x8808
|
|
|
void i40e_add_filter_to_drop_tx_flow_control_frames(struct i40e_hw *hw,
|
|
|
u16 seid)
|
|
|
{
|
|
|
+#define I40E_FLOW_CONTROL_ETHTYPE 0x8808
|
|
|
u16 flag = I40E_AQC_ADD_CONTROL_PACKET_FLAGS_IGNORE_MAC |
|
|
|
I40E_AQC_ADD_CONTROL_PACKET_FLAGS_DROP |
|
|
|
I40E_AQC_ADD_CONTROL_PACKET_FLAGS_TX;
|
|
@@ -4424,6 +4428,7 @@ void i40e_set_pci_config_data(struct i40e_hw *hw, u16 link_status)
|
|
|
* @ret_buff_size: actual buffer size returned
|
|
|
* @ret_next_table: next block to read
|
|
|
* @ret_next_index: next index to read
|
|
|
+ * @cmd_details: pointer to command details structure or NULL
|
|
|
*
|
|
|
* Dump internal FW/HW data for debug purposes.
|
|
|
*
|
|
@@ -4550,7 +4555,7 @@ i40e_status i40e_aq_configure_partition_bw(struct i40e_hw *hw,
|
|
|
* i40e_read_phy_register_clause22
|
|
|
* @hw: pointer to the HW structure
|
|
|
* @reg: register address in the page
|
|
|
- * @phy_adr: PHY address on MDIO interface
|
|
|
+ * @phy_addr: PHY address on MDIO interface
|
|
|
* @value: PHY register value
|
|
|
*
|
|
|
* Reads specified PHY register value
|
|
@@ -4595,7 +4600,7 @@ i40e_status i40e_read_phy_register_clause22(struct i40e_hw *hw,
|
|
|
* i40e_write_phy_register_clause22
|
|
|
* @hw: pointer to the HW structure
|
|
|
* @reg: register address in the page
|
|
|
- * @phy_adr: PHY address on MDIO interface
|
|
|
+ * @phy_addr: PHY address on MDIO interface
|
|
|
* @value: PHY register value
|
|
|
*
|
|
|
* Writes specified PHY register value
|
|
@@ -4636,7 +4641,7 @@ i40e_status i40e_write_phy_register_clause22(struct i40e_hw *hw,
|
|
|
* @hw: pointer to the HW structure
|
|
|
* @page: registers page number
|
|
|
* @reg: register address in the page
|
|
|
- * @phy_adr: PHY address on MDIO interface
|
|
|
+ * @phy_addr: PHY address on MDIO interface
|
|
|
* @value: PHY register value
|
|
|
*
|
|
|
* Reads specified PHY register value
|
|
@@ -4710,7 +4715,7 @@ phy_read_end:
|
|
|
* @hw: pointer to the HW structure
|
|
|
* @page: registers page number
|
|
|
* @reg: register address in the page
|
|
|
- * @phy_adr: PHY address on MDIO interface
|
|
|
+ * @phy_addr: PHY address on MDIO interface
|
|
|
* @value: PHY register value
|
|
|
*
|
|
|
* Writes value to specified PHY register
|
|
@@ -4777,7 +4782,7 @@ phy_write_end:
|
|
|
* @hw: pointer to the HW structure
|
|
|
* @page: registers page number
|
|
|
* @reg: register address in the page
|
|
|
- * @phy_adr: PHY address on MDIO interface
|
|
|
+ * @phy_addr: PHY address on MDIO interface
|
|
|
* @value: PHY register value
|
|
|
*
|
|
|
* Writes value to specified PHY register
|
|
@@ -4813,7 +4818,7 @@ i40e_status i40e_write_phy_register(struct i40e_hw *hw,
|
|
|
* @hw: pointer to the HW structure
|
|
|
* @page: registers page number
|
|
|
* @reg: register address in the page
|
|
|
- * @phy_adr: PHY address on MDIO interface
|
|
|
+ * @phy_addr: PHY address on MDIO interface
|
|
|
* @value: PHY register value
|
|
|
*
|
|
|
* Reads specified PHY register value
|
|
@@ -4848,7 +4853,6 @@ i40e_status i40e_read_phy_register(struct i40e_hw *hw,
|
|
|
* i40e_get_phy_address
|
|
|
* @hw: pointer to the HW structure
|
|
|
* @dev_num: PHY port num that address we want
|
|
|
- * @phy_addr: Returned PHY address
|
|
|
*
|
|
|
* Gets PHY address for current port
|
|
|
**/
|
|
@@ -5058,7 +5062,9 @@ i40e_status i40e_led_get_phy(struct i40e_hw *hw, u16 *led_addr,
|
|
|
* i40e_led_set_phy
|
|
|
* @hw: pointer to the HW structure
|
|
|
* @on: true or false
|
|
|
+ * @led_addr: address of led register to use
|
|
|
* @mode: original val plus bit for set or ignore
|
|
|
+ *
|
|
|
* Set led's on or off when controlled by the PHY
|
|
|
*
|
|
|
**/
|
|
@@ -5347,6 +5353,7 @@ i40e_status_code i40e_aq_write_ddp(struct i40e_hw *hw, void *buff,
|
|
|
* @hw: pointer to the hw struct
|
|
|
* @buff: command buffer (size in bytes = buff_size)
|
|
|
* @buff_size: buffer size in bytes
|
|
|
+ * @flags: AdminQ command flags
|
|
|
* @cmd_details: pointer to command details structure or NULL
|
|
|
**/
|
|
|
enum
|