net/cxgbe: read firmware configuration file from filesystem
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Mon, 16 May 2022 19:34:39 +0000 (01:04 +0530)
committerFerruh Yigit <ferruh.yigit@xilinx.com>
Tue, 17 May 2022 16:50:51 +0000 (18:50 +0200)
commit6d7d651bbc157bc5a66158dca4a120df96e2b3c8
treef6c6c423b99886601ebc58fb036501ad6cc9eb1f
parentdfb0324b6830a42bfd77c74942ec9b0d50e8260c
net/cxgbe: read firmware configuration file from filesystem

Add support to read firmware configuration file from
/lib/firmware/cxgb4/ path in the filesystem. The firmware
config file is used to enable or disable NIC features before
firmware initialization to help retrieve better debug data to
analyze firmware init failures. The config file can also
be used to redistribute resources, like queues, TCAMs, etc.,
from disabled physical functions (PFs) to main PF, before
firmware init.

Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
doc/guides/nics/cxgbe.rst
drivers/net/cxgbe/base/t4fw_interface.h
drivers/net/cxgbe/cxgbe_main.c