diff options
author | Arjun Vynipadath <arjun@chelsio.com> | 2017-06-23 19:14:37 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-23 14:22:39 -0400 |
commit | 8f46d46715a12f509e13200033a1ed4d6cf335ff (patch) | |
tree | cdeb27d6f3c9805444a1f644d31528648bd6b34b /drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h | |
parent | cxgb4: Update T6 Buffer Group and Channel Mappings (diff) | |
download | linux-dev-8f46d46715a12f509e13200033a1ed4d6cf335ff.tar.xz linux-dev-8f46d46715a12f509e13200033a1ed4d6cf335ff.zip |
cxgb4: Use Firmware params to get buffer-group map
Buffer group mappings can be obtained using FW_PARAMs cmd for newer FW.
Since some of the bg_maps are obtained in atomic context, created another
t4_query_params_ns(), that wont sleep when awaiting mbox cmd completion.
Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Arjun Vynipadath <arjun@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h b/drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h index f47461aa658b..f2ffc1f6b8be 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h +++ b/drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h @@ -1123,6 +1123,7 @@ enum fw_params_param_dev { FW_PARAMS_PARAM_DEV_ULPTX_MEMWRITE_DSGL = 0x17, FW_PARAMS_PARAM_DEV_FWCACHE = 0x18, FW_PARAMS_PARAM_DEV_RI_FR_NSMR_TPTE_WR = 0x1C, + FW_PARAMS_PARAM_DEV_MPSBGMAP = 0x1E, }; /* |