@@ -1671,6 +1671,8 @@ enum i40e_status_code i40e_aq_set_phy_config(struct i40e_hw *hw,
1671
1671
/**
1672
1672
* i40e_set_fc
1673
1673
* @hw: pointer to the hw struct
1674
+ * @aq_failures: buffer to return AdminQ failure information
1675
+ * @atomic_restart: whether to enable atomic link restart
1674
1676
*
1675
1677
* Set the requested flow control mode using set_phy_config.
1676
1678
**/
@@ -2807,8 +2809,8 @@ i40e_status i40e_aq_remove_macvlan(struct i40e_hw *hw, u16 seid,
2807
2809
* @mr_list: list of mirrored VSI SEIDs or VLAN IDs
2808
2810
* @cmd_details: pointer to command details structure or NULL
2809
2811
* @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
2812
2814
*
2813
2815
* Add/Delete a mirror rule to a specific switch. Mirror rules are supported for
2814
2816
* VEBs/VEPA elements only
@@ -2868,8 +2870,8 @@ static i40e_status i40e_mirrorrule_op(struct i40e_hw *hw,
2868
2870
* @mr_list: list of mirrored VSI SEIDs or VLAN IDs
2869
2871
* @cmd_details: pointer to command details structure or NULL
2870
2872
* @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
2873
2875
*
2874
2876
* Add mirror rule. Mirror rules are supported for VEBs or VEPA elements only
2875
2877
**/
@@ -2899,8 +2901,8 @@ i40e_status i40e_aq_add_mirrorrule(struct i40e_hw *hw, u16 sw_seid,
2899
2901
* add_mirrorrule.
2900
2902
* @mr_list: list of mirrored VLAN IDs to be removed
2901
2903
* @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
2904
2906
*
2905
2907
* Delete a mirror rule. Mirror rules are supported for VEBs/VEPA elements only
2906
2908
**/
@@ -3648,6 +3650,8 @@ i40e_status i40e_aq_stop_lldp(struct i40e_hw *hw, bool shutdown_agent,
3648
3650
/**
3649
3651
* i40e_aq_start_lldp
3650
3652
* @hw: pointer to the hw struct
3653
+ * @buff: buffer for result
3654
+ * @buff_size: buffer size
3651
3655
* @cmd_details: pointer to command details structure or NULL
3652
3656
*
3653
3657
* Start the embedded LLDP Agent on all ports.
@@ -3728,7 +3732,6 @@ i40e_status i40e_aq_get_cee_dcb_config(struct i40e_hw *hw,
3728
3732
* i40e_aq_add_udp_tunnel
3729
3733
* @hw: pointer to the hw struct
3730
3734
* @udp_port: the UDP port to add in Host byte order
3731
- * @header_len: length of the tunneling header length in DWords
3732
3735
* @protocol_index: protocol index type
3733
3736
* @filter_index: pointer to filter index
3734
3737
* @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,
3947
3950
* @hw: pointer to the hw struct
3948
3951
* @seid: seid of the switching component connected to Physical Port
3949
3952
* @ets_data: Buffer holding ETS parameters
3953
+ * @opcode: Tx scheduler AQ command opcode
3950
3954
* @cmd_details: pointer to command details structure or NULL
3951
3955
**/
3952
3956
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,
4290
4294
* @hw: pointer to the hw struct
4291
4295
* @seid: VSI seid to add ethertype filter from
4292
4296
**/
4293
- #define I40E_FLOW_CONTROL_ETHTYPE 0x8808
4294
4297
void i40e_add_filter_to_drop_tx_flow_control_frames (struct i40e_hw * hw ,
4295
4298
u16 seid )
4296
4299
{
4300
+ #define I40E_FLOW_CONTROL_ETHTYPE 0x8808
4297
4301
u16 flag = I40E_AQC_ADD_CONTROL_PACKET_FLAGS_IGNORE_MAC |
4298
4302
I40E_AQC_ADD_CONTROL_PACKET_FLAGS_DROP |
4299
4303
I40E_AQC_ADD_CONTROL_PACKET_FLAGS_TX ;
@@ -4424,6 +4428,7 @@ void i40e_set_pci_config_data(struct i40e_hw *hw, u16 link_status)
4424
4428
* @ret_buff_size: actual buffer size returned
4425
4429
* @ret_next_table: next block to read
4426
4430
* @ret_next_index: next index to read
4431
+ * @cmd_details: pointer to command details structure or NULL
4427
4432
*
4428
4433
* Dump internal FW/HW data for debug purposes.
4429
4434
*
@@ -4550,7 +4555,7 @@ i40e_status i40e_aq_configure_partition_bw(struct i40e_hw *hw,
4550
4555
* i40e_read_phy_register_clause22
4551
4556
* @hw: pointer to the HW structure
4552
4557
* @reg: register address in the page
4553
- * @phy_adr : PHY address on MDIO interface
4558
+ * @phy_addr : PHY address on MDIO interface
4554
4559
* @value: PHY register value
4555
4560
*
4556
4561
* Reads specified PHY register value
@@ -4595,7 +4600,7 @@ i40e_status i40e_read_phy_register_clause22(struct i40e_hw *hw,
4595
4600
* i40e_write_phy_register_clause22
4596
4601
* @hw: pointer to the HW structure
4597
4602
* @reg: register address in the page
4598
- * @phy_adr : PHY address on MDIO interface
4603
+ * @phy_addr : PHY address on MDIO interface
4599
4604
* @value: PHY register value
4600
4605
*
4601
4606
* Writes specified PHY register value
@@ -4636,7 +4641,7 @@ i40e_status i40e_write_phy_register_clause22(struct i40e_hw *hw,
4636
4641
* @hw: pointer to the HW structure
4637
4642
* @page: registers page number
4638
4643
* @reg: register address in the page
4639
- * @phy_adr : PHY address on MDIO interface
4644
+ * @phy_addr : PHY address on MDIO interface
4640
4645
* @value: PHY register value
4641
4646
*
4642
4647
* Reads specified PHY register value
@@ -4710,7 +4715,7 @@ i40e_status i40e_read_phy_register_clause45(struct i40e_hw *hw,
4710
4715
* @hw: pointer to the HW structure
4711
4716
* @page: registers page number
4712
4717
* @reg: register address in the page
4713
- * @phy_adr : PHY address on MDIO interface
4718
+ * @phy_addr : PHY address on MDIO interface
4714
4719
* @value: PHY register value
4715
4720
*
4716
4721
* Writes value to specified PHY register
@@ -4777,7 +4782,7 @@ i40e_status i40e_write_phy_register_clause45(struct i40e_hw *hw,
4777
4782
* @hw: pointer to the HW structure
4778
4783
* @page: registers page number
4779
4784
* @reg: register address in the page
4780
- * @phy_adr : PHY address on MDIO interface
4785
+ * @phy_addr : PHY address on MDIO interface
4781
4786
* @value: PHY register value
4782
4787
*
4783
4788
* Writes value to specified PHY register
@@ -4813,7 +4818,7 @@ i40e_status i40e_write_phy_register(struct i40e_hw *hw,
4813
4818
* @hw: pointer to the HW structure
4814
4819
* @page: registers page number
4815
4820
* @reg: register address in the page
4816
- * @phy_adr : PHY address on MDIO interface
4821
+ * @phy_addr : PHY address on MDIO interface
4817
4822
* @value: PHY register value
4818
4823
*
4819
4824
* Reads specified PHY register value
@@ -4848,7 +4853,6 @@ i40e_status i40e_read_phy_register(struct i40e_hw *hw,
4848
4853
* i40e_get_phy_address
4849
4854
* @hw: pointer to the HW structure
4850
4855
* @dev_num: PHY port num that address we want
4851
- * @phy_addr: Returned PHY address
4852
4856
*
4853
4857
* Gets PHY address for current port
4854
4858
**/
@@ -5058,7 +5062,9 @@ i40e_status i40e_led_get_phy(struct i40e_hw *hw, u16 *led_addr,
5058
5062
* i40e_led_set_phy
5059
5063
* @hw: pointer to the HW structure
5060
5064
* @on: true or false
5065
+ * @led_addr: address of led register to use
5061
5066
* @mode: original val plus bit for set or ignore
5067
+ *
5062
5068
* Set led's on or off when controlled by the PHY
5063
5069
*
5064
5070
**/
@@ -5347,6 +5353,7 @@ i40e_status_code i40e_aq_write_ddp(struct i40e_hw *hw, void *buff,
5347
5353
* @hw: pointer to the hw struct
5348
5354
* @buff: command buffer (size in bytes = buff_size)
5349
5355
* @buff_size: buffer size in bytes
5356
+ * @flags: AdminQ command flags
5350
5357
* @cmd_details: pointer to command details structure or NULL
5351
5358
**/
5352
5359
enum
0 commit comments