Commit af7364e4 authored by Anirudh Venkataramanan's avatar Anirudh Venkataramanan Committed by Jeff Kirsher

i40e: Use LLDP ethertype define ETH_P_LLDP

Remove references to I40E_ETH_P_LLDP and use ETH_P_LLDP instead.
Signed-off-by: default avatarAnirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent c54c2c72
...@@ -295,8 +295,6 @@ struct i40e_cloud_filter { ...@@ -295,8 +295,6 @@ struct i40e_cloud_filter {
u8 tunnel_type; u8 tunnel_type;
}; };
#define I40E_ETH_P_LLDP 0x88cc
#define I40E_DCB_PRIO_TYPE_STRICT 0 #define I40E_DCB_PRIO_TYPE_STRICT 0
#define I40E_DCB_PRIO_TYPE_ETS 1 #define I40E_DCB_PRIO_TYPE_ETS 1
#define I40E_DCB_STRICT_PRIO_CREDITS 127 #define I40E_DCB_STRICT_PRIO_CREDITS 127
......
...@@ -1330,7 +1330,7 @@ static ssize_t i40e_dbg_command_write(struct file *filp, ...@@ -1330,7 +1330,7 @@ static ssize_t i40e_dbg_command_write(struct file *filp,
} }
ret = i40e_aq_add_rem_control_packet_filter(&pf->hw, ret = i40e_aq_add_rem_control_packet_filter(&pf->hw,
pf->hw.mac.addr, pf->hw.mac.addr,
I40E_ETH_P_LLDP, 0, ETH_P_LLDP, 0,
pf->vsi[pf->lan_vsi]->seid, pf->vsi[pf->lan_vsi]->seid,
0, true, NULL, NULL); 0, true, NULL, NULL);
if (ret) { if (ret) {
...@@ -1348,7 +1348,7 @@ static ssize_t i40e_dbg_command_write(struct file *filp, ...@@ -1348,7 +1348,7 @@ static ssize_t i40e_dbg_command_write(struct file *filp,
ret = i40e_aq_add_rem_control_packet_filter(&pf->hw, ret = i40e_aq_add_rem_control_packet_filter(&pf->hw,
pf->hw.mac.addr, pf->hw.mac.addr,
I40E_ETH_P_LLDP, 0, ETH_P_LLDP, 0,
pf->vsi[pf->lan_vsi]->seid, pf->vsi[pf->lan_vsi]->seid,
0, false, NULL, NULL); 0, false, NULL, NULL);
if (ret) { if (ret) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment