@@ -1671,6 +1671,8 @@ enum i40e_status_code i40e_aq_set_phy_config(struct i40e_hw *hw,
16711671/**
16721672 * i40e_set_fc
16731673 * @hw: pointer to the hw struct
1674+ * @aq_failures: buffer to return AdminQ failure information
1675+ * @atomic_restart: whether to enable atomic link restart
16741676 *
16751677 * Set the requested flow control mode using set_phy_config.
16761678 **/
@@ -2807,8 +2809,8 @@ i40e_status i40e_aq_remove_macvlan(struct i40e_hw *hw, u16 seid,
28072809 * @mr_list: list of mirrored VSI SEIDs or VLAN IDs
28082810 * @cmd_details: pointer to command details structure or NULL
28092811 * @rule_id: Rule ID returned from FW
2810- * @rule_used : Number of rules used in internal switch
2811- * @rule_free : Number of rules free in internal switch
2812+ * @rules_used : Number of rules used in internal switch
2813+ * @rules_free : Number of rules free in internal switch
28122814 *
28132815 * Add/Delete a mirror rule to a specific switch. Mirror rules are supported for
28142816 * VEBs/VEPA elements only
@@ -2868,8 +2870,8 @@ static i40e_status i40e_mirrorrule_op(struct i40e_hw *hw,
28682870 * @mr_list: list of mirrored VSI SEIDs or VLAN IDs
28692871 * @cmd_details: pointer to command details structure or NULL
28702872 * @rule_id: Rule ID returned from FW
2871- * @rule_used : Number of rules used in internal switch
2872- * @rule_free : Number of rules free in internal switch
2873+ * @rules_used : Number of rules used in internal switch
2874+ * @rules_free : Number of rules free in internal switch
28732875 *
28742876 * Add mirror rule. Mirror rules are supported for VEBs or VEPA elements only
28752877 **/
@@ -2899,8 +2901,8 @@ i40e_status i40e_aq_add_mirrorrule(struct i40e_hw *hw, u16 sw_seid,
28992901 * add_mirrorrule.
29002902 * @mr_list: list of mirrored VLAN IDs to be removed
29012903 * @cmd_details: pointer to command details structure or NULL
2902- * @rule_used : Number of rules used in internal switch
2903- * @rule_free : Number of rules free in internal switch
2904+ * @rules_used : Number of rules used in internal switch
2905+ * @rules_free : Number of rules free in internal switch
29042906 *
29052907 * Delete a mirror rule. Mirror rules are supported for VEBs/VEPA elements only
29062908 **/
@@ -3648,6 +3650,8 @@ i40e_status i40e_aq_stop_lldp(struct i40e_hw *hw, bool shutdown_agent,
36483650/**
36493651 * i40e_aq_start_lldp
36503652 * @hw: pointer to the hw struct
3653+ * @buff: buffer for result
3654+ * @buff_size: buffer size
36513655 * @cmd_details: pointer to command details structure or NULL
36523656 *
36533657 * Start the embedded LLDP Agent on all ports.
@@ -3728,7 +3732,6 @@ i40e_status i40e_aq_get_cee_dcb_config(struct i40e_hw *hw,
37283732 * i40e_aq_add_udp_tunnel
37293733 * @hw: pointer to the hw struct
37303734 * @udp_port: the UDP port to add in Host byte order
3731- * @header_len: length of the tunneling header length in DWords
37323735 * @protocol_index: protocol index type
37333736 * @filter_index: pointer to filter index
37343737 * @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,
39473950 * @hw: pointer to the hw struct
39483951 * @seid: seid of the switching component connected to Physical Port
39493952 * @ets_data: Buffer holding ETS parameters
3953+ * @opcode: Tx scheduler AQ command opcode
39503954 * @cmd_details: pointer to command details structure or NULL
39513955 **/
39523956i40e_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,
42904294 * @hw: pointer to the hw struct
42914295 * @seid: VSI seid to add ethertype filter from
42924296 **/
4293- #define I40E_FLOW_CONTROL_ETHTYPE 0x8808
42944297void i40e_add_filter_to_drop_tx_flow_control_frames (struct i40e_hw * hw ,
42954298 u16 seid )
42964299{
4300+ #define I40E_FLOW_CONTROL_ETHTYPE 0x8808
42974301 u16 flag = I40E_AQC_ADD_CONTROL_PACKET_FLAGS_IGNORE_MAC |
42984302 I40E_AQC_ADD_CONTROL_PACKET_FLAGS_DROP |
42994303 I40E_AQC_ADD_CONTROL_PACKET_FLAGS_TX ;
@@ -4424,6 +4428,7 @@ void i40e_set_pci_config_data(struct i40e_hw *hw, u16 link_status)
44244428 * @ret_buff_size: actual buffer size returned
44254429 * @ret_next_table: next block to read
44264430 * @ret_next_index: next index to read
4431+ * @cmd_details: pointer to command details structure or NULL
44274432 *
44284433 * Dump internal FW/HW data for debug purposes.
44294434 *
@@ -4550,7 +4555,7 @@ i40e_status i40e_aq_configure_partition_bw(struct i40e_hw *hw,
45504555 * i40e_read_phy_register_clause22
45514556 * @hw: pointer to the HW structure
45524557 * @reg: register address in the page
4553- * @phy_adr : PHY address on MDIO interface
4558+ * @phy_addr : PHY address on MDIO interface
45544559 * @value: PHY register value
45554560 *
45564561 * Reads specified PHY register value
@@ -4595,7 +4600,7 @@ i40e_status i40e_read_phy_register_clause22(struct i40e_hw *hw,
45954600 * i40e_write_phy_register_clause22
45964601 * @hw: pointer to the HW structure
45974602 * @reg: register address in the page
4598- * @phy_adr : PHY address on MDIO interface
4603+ * @phy_addr : PHY address on MDIO interface
45994604 * @value: PHY register value
46004605 *
46014606 * Writes specified PHY register value
@@ -4636,7 +4641,7 @@ i40e_status i40e_write_phy_register_clause22(struct i40e_hw *hw,
46364641 * @hw: pointer to the HW structure
46374642 * @page: registers page number
46384643 * @reg: register address in the page
4639- * @phy_adr : PHY address on MDIO interface
4644+ * @phy_addr : PHY address on MDIO interface
46404645 * @value: PHY register value
46414646 *
46424647 * Reads specified PHY register value
@@ -4710,7 +4715,7 @@ i40e_status i40e_read_phy_register_clause45(struct i40e_hw *hw,
47104715 * @hw: pointer to the HW structure
47114716 * @page: registers page number
47124717 * @reg: register address in the page
4713- * @phy_adr : PHY address on MDIO interface
4718+ * @phy_addr : PHY address on MDIO interface
47144719 * @value: PHY register value
47154720 *
47164721 * Writes value to specified PHY register
@@ -4777,7 +4782,7 @@ i40e_status i40e_write_phy_register_clause45(struct i40e_hw *hw,
47774782 * @hw: pointer to the HW structure
47784783 * @page: registers page number
47794784 * @reg: register address in the page
4780- * @phy_adr : PHY address on MDIO interface
4785+ * @phy_addr : PHY address on MDIO interface
47814786 * @value: PHY register value
47824787 *
47834788 * Writes value to specified PHY register
@@ -4813,7 +4818,7 @@ i40e_status i40e_write_phy_register(struct i40e_hw *hw,
48134818 * @hw: pointer to the HW structure
48144819 * @page: registers page number
48154820 * @reg: register address in the page
4816- * @phy_adr : PHY address on MDIO interface
4821+ * @phy_addr : PHY address on MDIO interface
48174822 * @value: PHY register value
48184823 *
48194824 * Reads specified PHY register value
@@ -4848,7 +4853,6 @@ i40e_status i40e_read_phy_register(struct i40e_hw *hw,
48484853 * i40e_get_phy_address
48494854 * @hw: pointer to the HW structure
48504855 * @dev_num: PHY port num that address we want
4851- * @phy_addr: Returned PHY address
48524856 *
48534857 * Gets PHY address for current port
48544858 **/
@@ -5058,7 +5062,9 @@ i40e_status i40e_led_get_phy(struct i40e_hw *hw, u16 *led_addr,
50585062 * i40e_led_set_phy
50595063 * @hw: pointer to the HW structure
50605064 * @on: true or false
5065+ * @led_addr: address of led register to use
50615066 * @mode: original val plus bit for set or ignore
5067+ *
50625068 * Set led's on or off when controlled by the PHY
50635069 *
50645070 **/
@@ -5347,6 +5353,7 @@ i40e_status_code i40e_aq_write_ddp(struct i40e_hw *hw, void *buff,
53475353 * @hw: pointer to the hw struct
53485354 * @buff: command buffer (size in bytes = buff_size)
53495355 * @buff_size: buffer size in bytes
5356+ * @flags: AdminQ command flags
53505357 * @cmd_details: pointer to command details structure or NULL
53515358 **/
53525359enum
0 commit comments