Skip to contentSkip to conversation

i40e: Remove lldp frame filters

PATCH New Arkadiusz Kubalewski 2 participants 2 messages Apr 16, 2021 – Apr 30, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i40e: Remove lldp frame filters

Remove filters from being setup in case of software DCB and allow the lldp frames to be properly transmitted to the wire.

It is not possible to transmit the LLDP frame out of the port, if they are filtered by control VSI. This prohibits software lldp agent properly communicate it's DCB capabilities to the neighbors.

Fixes 4b208eaa8078 ("i40e: Add init and default config of software based DCB")
---
 drivers/net/ethernet/intel/i40e/i40e.h        |  1 -
 .../net/ethernet/intel/i40e/i40e_ethtool.c    |  1 -
 drivers/net/ethernet/intel/i40e/i40e_main.c   | 42 -------------------
 3 files changed, 44 deletions(-)
drivers/net/ethernet/intel/i40e/i40e.h +0 -1
index 1116543..e3a4c7b 100644
@@ -1222,7 +1222,6 @@ static inline bool i40e_is_sw_dcb(struct i40e_pf *pf)
 	return !!(pf->flags & I40E_FLAG_DISABLE_FW_LLDP);
 }
 
-void i40e_set_lldp_forwarding(struct i40e_pf *pf, bool enable);
 #ifdef CONFIG_I40E_DCB
 void i40e_dcbnl_flush_apps(struct i40e_pf *pf,
 			   struct i40e_dcbx_config *old_cfg,
drivers/net/ethernet/intel/i40e/i40e_ethtool.c +0 -1
index fbe4fe9..936908c 100644
@@ -5280,7 +5280,6 @@ flags_complete:
 			i40e_aq_cfg_lldp_mib_change_event(&pf->hw, false, NULL);
 			i40e_aq_stop_lldp(&pf->hw, true, false, NULL);
 		} else {
-			i40e_set_lldp_forwarding(pf, false);
 			status = i40e_aq_start_lldp(&pf->hw, false, NULL);
 			if (status) {
 				adq_err = pf->hw.aq.asq_last_status;
drivers/net/ethernet/intel/i40e/i40e_main.c +0 -42

60 lines not on this page · raw message

base-commit: ca4303103f33952646218db4e0869e6f6aa1c840

Signature · 1 line
2.26.0
#1 lore raw

PATCH 1/1 i40e: Remove lldp frame filters

Quoted 13 lines

From: Intel-wired-lan <[email protected]> On Behalf Of Kubalewski, Arkadiusz
Sent: Saturday, April 17, 2021 3:14 AM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [PATCH net] i40e: Remove lldp frame filters

Remove filters from being setup in case of software DCB and allow the lldp frames to be properly transmitted to the wire.

It is not possible to transmit the LLDP frame out of the port, if they are filtered by control VSI. This prohibits software lldp agent properly communicate it's DCB capabilities to the neighbors.

Quoted 9 lines
Fixes 4b208eaa8078 ("i40e: Add init and default config of software based

DCB")

---
 drivers/net/ethernet/intel/i40e/i40e.h        |  1 -
 .../net/ethernet/intel/i40e/i40e_ethtool.c    |  1 -
 drivers/net/ethernet/intel/i40e/i40e_main.c   | 42 -------------------
 3 files changed, 44 deletions(-)
Tested-by Imam Hassan Reza Biswas (imam.hassan.reza.biswas at intel.com)