Re: pull request: Linux-firmware: Add cxgb4 firmware config files
From: Josh Boyer
Date: Wed Sep 04 2019 - 07:16:11 EST
On Fri, Aug 30, 2019 at 8:31 AM Vishal Kulkarni <vishal@xxxxxxxxxxx> wrote:
>
> Hi,
>
> Chelsio driver loads firmware configuration file to allow
> firmware to distribute resources before chip bring up. Chelsio NIC
> driver, cxgb4 searches for firmware config file at /lib/firmware/cxgb4/
> directory.
>
> Two predefined configuration files are available - default and
> hashfilter. Default configuration file equally distributes
> resources across all features, such as iSCSI, iWARP, Crypto, etc.
> On the other hand, hashfilter configuration file borrows some
> resources by disabling the iSCSI, iWARP, Crypto, etc. features,
> and redistributes them to increase offloading more number of flows
> to hardware via tc-flower.
>
> Please pull the files to /lib/firmware/cxgb4/config directory
> and create a t6-config.txt symbolic link in /lib/firmware/cxgb4/ to
> /lib/firmware/cxgb4/config/t6-config-default.txt. The same needs
> to be done for t5-config-default.txt and t4-config-default.txt.
>
> The directory structure should look like below.
> # tree /lib/firmware/cxgb4/
> .
> âââ config
> â âââ t4-config-default.txt
> â âââ t5-config-default.txt
> â âââ t5-config-hashfilter.txt
> â âââ t6-config-default.txt
> â âââ t6-config-hashfilter.txt
> âââ t4-config.txt -> config/t4-config-default.txt
> âââ t5-config.txt -> config/t5-config-default.txt
> âââ t6-config.txt -> config/t6-config-default.txt
>
>
> The following changes since commit 7307a29961ad2765ebcad162da699d2497c5c3f8:
>
> brcm: Add 43455 based AP6255 NVRAM for the Minix Neo Z83-4 Mini PC (2019-08-27 08:04:55 -0400)
>
> are available in the git repository at:
>
> git://git.chelsio.net/pub/git/linux-firmware.git for-upstream
Pulled and pushed out.
josh
>
> for you to fetch changes up to 2f885ba53dca06eeaf3d31cfa74fa9d30ab1dcc6:
>
> Chelsio driver loads firmware configuration file to allow firmware to distribute resources before chip bring up. Chelsio NIC driver, cxgb4 searches for firmware config file at /lib/firmware/cxgb4/ directory. (2019-08-29 05:40:00 -0700)
>
> ----------------------------------------------------------------
> Vishal Kulkarni (1):
> Chelsio driver loads firmware configuration file to allow firmware to distribute resources before chip bring up. Chelsio NIC driver, cxgb4 searches for firmware config file at /lib/firmware/cxgb4/ directory.
>
> WHENCE | 8 +
> cxgb4/configs/t4-config-default.txt | 562 ++++++++++++++++++++++++++++++
> cxgb4/configs/t5-config-default.txt | 613 +++++++++++++++++++++++++++++++++
> cxgb4/configs/t5-config-hashfilter.txt | 467 +++++++++++++++++++++++++
> cxgb4/configs/t6-config-default.txt | 599 ++++++++++++++++++++++++++++++++
> cxgb4/configs/t6-config-hashfilter.txt | 430 +++++++++++++++++++++++
> cxgb4/t4-config.txt | 1 +
> cxgb4/t5-config.txt | 1 +
> cxgb4/t6-config.txt | 1 +
> 9 files changed, 2682 insertions(+)
> create mode 100644 cxgb4/configs/t4-config-default.txt
> create mode 100644 cxgb4/configs/t5-config-default.txt
> create mode 100644 cxgb4/configs/t5-config-hashfilter.txt
> create mode 100644 cxgb4/configs/t6-config-default.txt
> create mode 100644 cxgb4/configs/t6-config-hashfilter.txt
> create mode 120000 cxgb4/t4-config.txt
> create mode 120000 cxgb4/t5-config.txt
> create mode 120000 cxgb4/t6-config.txt