i40e: Update function formal parameters
Change the formal parameters to remove argument which is no longer used. Change-ID: I493b56eba74a1f396fa1b7d24c0a4acbe536b5bf Signed-off-by: Kevin Scott <kevin.c.scott@intel.com> Acked-by: Shannon Nelson <shannon.nelson@intel.com> Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
53275f28f8
commit
f4f94b94d6
3 changed files with 4 additions and 6 deletions
|
@ -2102,8 +2102,8 @@ i40e_status i40e_aq_start_lldp(struct i40e_hw *hw,
|
||||||
* @cmd_details: pointer to command details structure or NULL
|
* @cmd_details: pointer to command details structure or NULL
|
||||||
**/
|
**/
|
||||||
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 header_len,
|
u16 udp_port, u8 protocol_index,
|
||||||
u8 protocol_index, u8 *filter_index,
|
u8 *filter_index,
|
||||||
struct i40e_asq_cmd_details *cmd_details)
|
struct i40e_asq_cmd_details *cmd_details)
|
||||||
{
|
{
|
||||||
struct i40e_aq_desc desc;
|
struct i40e_aq_desc desc;
|
||||||
|
|
|
@ -5608,7 +5608,6 @@ static void i40e_handle_mdd_event(struct i40e_pf *pf)
|
||||||
**/
|
**/
|
||||||
static void i40e_sync_vxlan_filters_subtask(struct i40e_pf *pf)
|
static void i40e_sync_vxlan_filters_subtask(struct i40e_pf *pf)
|
||||||
{
|
{
|
||||||
const int vxlan_hdr_qwords = 4;
|
|
||||||
struct i40e_hw *hw = &pf->hw;
|
struct i40e_hw *hw = &pf->hw;
|
||||||
i40e_status ret;
|
i40e_status ret;
|
||||||
u8 filter_index;
|
u8 filter_index;
|
||||||
|
@ -5626,7 +5625,6 @@ static void i40e_sync_vxlan_filters_subtask(struct i40e_pf *pf)
|
||||||
port = pf->vxlan_ports[i];
|
port = pf->vxlan_ports[i];
|
||||||
ret = port ?
|
ret = port ?
|
||||||
i40e_aq_add_udp_tunnel(hw, ntohs(port),
|
i40e_aq_add_udp_tunnel(hw, ntohs(port),
|
||||||
vxlan_hdr_qwords,
|
|
||||||
I40E_AQC_TUNNEL_TYPE_VXLAN,
|
I40E_AQC_TUNNEL_TYPE_VXLAN,
|
||||||
&filter_index, NULL)
|
&filter_index, NULL)
|
||||||
: i40e_aq_del_udp_tunnel(hw, i, NULL);
|
: i40e_aq_del_udp_tunnel(hw, i, NULL);
|
||||||
|
|
|
@ -157,8 +157,8 @@ i40e_status i40e_aq_stop_lldp(struct i40e_hw *hw, bool shutdown_agent,
|
||||||
i40e_status i40e_aq_start_lldp(struct i40e_hw *hw,
|
i40e_status i40e_aq_start_lldp(struct i40e_hw *hw,
|
||||||
struct i40e_asq_cmd_details *cmd_details);
|
struct i40e_asq_cmd_details *cmd_details);
|
||||||
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 header_len,
|
u16 udp_port, u8 protocol_index,
|
||||||
u8 protocol_index, u8 *filter_index,
|
u8 *filter_index,
|
||||||
struct i40e_asq_cmd_details *cmd_details);
|
struct i40e_asq_cmd_details *cmd_details);
|
||||||
i40e_status i40e_aq_del_udp_tunnel(struct i40e_hw *hw, u8 index,
|
i40e_status i40e_aq_del_udp_tunnel(struct i40e_hw *hw, u8 index,
|
||||||
struct i40e_asq_cmd_details *cmd_details);
|
struct i40e_asq_cmd_details *cmd_details);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue