HomeFreeBSD

bnxt_en: Add PFC, ETS & App TLVs protocols support

Description

bnxt_en: Add PFC, ETS & App TLVs protocols support

Created new directory "bnxt_en" in /dev/bnxt and /modules/bnxt
and moved source files and Makefile into respective directory.

ETS support:

  • Added new files bnxt_dcb.c & bnxt_dcb.h
  • Added sysctl node 'dcb' and created handlers 'ets' and 'dcbx_cap'
  • Add logic to validate user input and configure ETS in the firmware
  • Updated makefile to include bnxt_dcb.c & bnxt_dcb.h

PFC support:

  • Created sysctl handlers 'pfc' under node 'dcb'
  • Added logic to validate user input and configure PFC in the firmware.

App TLV support:

  • Created 3 new sysctl handlers under node 'dcb'
    • set_apptlv (write only): Sets a specified TLV
    • del_apptlv (write only): Deletes a specified TLV
    • list_apptlv (read only): Lists all APP TLVs configured
  • Added logic to validate user input and configure APP TLVs in the firmware.

Added Below DCB ops for management interface:

  • Set PFC, Get PFC, Set ETS, Get ETS, Add App_TLV, Del App_TLV Lst App_TLV

Reviewed by: imp
Approved by: imp
Differential revision: https://reviews.freebsd.org/D45005

Details

Provenance
chandrakanth.patil_broadcom.comAuthored on Apr 28 2024, 9:24 AM
sumit.saxena_broadcom.comCommitted on May 28 2024, 10:15 AM
Reviewer
imp
Differential Revision
D45005: bnxt_en: Add PFC, ETS & App TLVs protocols support
Parents
rG1c45a62a2f66: qlnxe: Fix multiple locking issues
Branches
Unknown
Tags
Unknown