|
@@ -3614,11 +3614,15 @@ i40e_status i40e_aq_get_cee_dcb_config(struct i40e_hw *hw,
|
|
/**
|
|
/**
|
|
* i40e_aq_add_udp_tunnel
|
|
* i40e_aq_add_udp_tunnel
|
|
* @hw: pointer to the hw struct
|
|
* @hw: pointer to the hw struct
|
|
- * @udp_port: the UDP port to add
|
|
|
|
|
|
+ * @udp_port: the UDP port to add in Host byte order
|
|
* @header_len: length of the tunneling header length in DWords
|
|
* @header_len: length of the tunneling header length in DWords
|
|
* @protocol_index: protocol index type
|
|
* @protocol_index: protocol index type
|
|
* @filter_index: pointer to filter index
|
|
* @filter_index: pointer to filter index
|
|
* @cmd_details: pointer to command details structure or NULL
|
|
* @cmd_details: pointer to command details structure or NULL
|
|
|
|
+ *
|
|
|
|
+ * Note: Firmware expects the udp_port value to be in Little Endian format,
|
|
|
|
+ * and this function will call cpu_to_le16 to convert from Host byte order to
|
|
|
|
+ * Little Endian order.
|
|
**/
|
|
**/
|
|
i40e_status i40e_aq_add_udp_tunnel(struct i40e_hw *hw,
|
|
i40e_status i40e_aq_add_udp_tunnel(struct i40e_hw *hw,
|
|
u16 udp_port, u8 protocol_index,
|
|
u16 udp_port, u8 protocol_index,
|