i40e: Remove lldp frame filters
Subsystems (2)
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.
--- 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
@@ -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
@@ -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
Hassan Reza Biswas
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 filtersRemove 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 basedDCB")
Signed-off-by Arkadiusz Kubalewski <[email protected]>--- 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(-)