[Intel-wired-lan] [PATCH net-next v4 1/2] ice: Add 'Execute Pending LLDP MIB' Admin Queue command
Arland, ArpanaX
arpanax.arland at intel.com
Mon Dec 19 08:19:08 UTC 2022
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of Gerasymenko, Anatolii
> Sent: Wednesday, August 24, 2022 5:37 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Tsotne Chakhvadze <tsotne.chakhvadze at intel.com>; Sornek, Karen <karen.sornek at intel.com>; Gerasymenko, Anatolii <anatolii.gerasymenko at intel.com>
> Subject: [Intel-wired-lan] [PATCH net-next v4 1/2] ice: Add 'Execute Pending LLDP MIB' Admin Queue command
>
> From: Tsotne Chakhvadze <tsotne.chakhvadze at intel.com>
>
> In DCB Willing Mode (FW managed LLDP), when the link partner changes configuration which requires fewer TCs, the TCs that are no longer needed are suspended by EMP FW, removed, and never resumed. This occurs before a MIB change event is indicated to SW. The permanent suspension and removal of these TC nodes in the scheduler prevents RDMA from being able to destroy QPs associated with this TC, requiring a CORE reset to recover.
>
> A new DCBX configuration change flow is defined to allow SW driver and other SW components (RDMA) to properly adjust to the configuration changes before they are taking effect in HW. This flow includes a two-way handshake between EMP FW<->LAN SW<->RDMA SW.
>
> List of changes:
> - Add 'Execute Pending LLDP MIB' AQC.
> - Add 'Pending Event Enable' bit.
> - Add additional logic to ignore Pending Event Enable' request
while 'LLDP MIB Chnage' event is disabled.
> - Add 'Execute Pending LLDP MIB' AQC sending function to FW,
which is needed to take place MIB Event change.
>
> Signed-off-by: Tsotne Chakhvadze <tsotne.chakhvadze at intel.com>
> Co-developed-by: Karen Sornek <karen.sornek at intel.com>
> Signed-off-by: Karen Sornek <karen.sornek at intel.com>
> Co-developed-by: Dave Ertman <david.m.ertman at intel.com>
> Signed-off-by: Dave Ertman <david.m.ertman at intel.com>
> Co-developed-by: Anatolii Gerasymenko <anatolii.gerasymenko at intel.com>
> Signed-off-by: Anatolii Gerasymenko <anatolii.gerasymenko at intel.com>
> ---
> v4: Fix incorrect defines for DCBx IEEE and CEE modes
> ---
> .../net/ethernet/intel/ice/ice_adminq_cmd.h | 18 ++++++++++++++++--
> drivers/net/ethernet/intel/ice/ice_common.c | 13 +++++++++++++
> drivers/net/ethernet/intel/ice/ice_common.h | 1 +
> drivers/net/ethernet/intel/ice/ice_dcb.c | 3 +++
> 4 files changed, 33 insertions(+), 2 deletions(-)
>
Tested-by: Arpana Arland < arpanax.arland at intel.com> (A Contingent worker at Intel)
More information about the Intel-wired-lan
mailing list