On Sun, Jan 19, 2025 at 07:45:35AM -0800, Selvin Xavier wrote: > Implements routines to set and get different settings of > the congestion control. This will enable the users to modify > the settings according to their network. > > Currently supporting only GEN 0 version of the parameters. > Reading these files queries the firmware and report the values > currently programmed. Writing to the files sends commands that > update the congestion control settings > > Signed-off-by: Selvin Xavier <selvin.xavier@xxxxxxxxxxxx> > --- > v1 -> v2: > Addressed Leon's comments > - rename debugfs file "g" to "run_avg_weight_g" > - Fix the indentation errors > - Remove the unnecessary error message during the read entry point > - Fix the return value > > drivers/infiniband/hw/bnxt_re/bnxt_re.h | 2 + > drivers/infiniband/hw/bnxt_re/debugfs.c | 212 +++++++++++++++++++++++++++++++- > drivers/infiniband/hw/bnxt_re/debugfs.h | 15 +++ > 3 files changed, 228 insertions(+), 1 deletion(-) We don't have strong policy of what can/can't be in debugfs, so let's take it. Thanks