summaryrefslogtreecommitdiff
path: root/lib/clz_tab.c
diff options
context:
space:
mode:
authorYunsheng Lin <linyunsheng@huawei.com>2017-09-20 18:52:51 +0800
committerDavid S. Miller <davem@davemloft.net>2017-09-20 16:15:39 -0700
commit2daf4a6536f3109ed0ed758cec14743e0e5c20ea (patch)
tree2b2f04ee94725f0d38e82a375ac4a511ddc8e7ca /lib/clz_tab.c
parente92a0843795779678397ac0790a76de20f79cc13 (diff)
net: hns3: Fix initialization when cmd is not supported
When ae_dev doesn't support DCB, rx_priv_wl_config, common_thrd_config and tm_qs_bp_cfg can't be called, otherwise cmd return fail, which causes the hclge module initialization process to fail. This patch fix it by adding a DCB capability flag to check if the ae_dev support DCB. Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support") Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/clz_tab.c')
0 files changed, 0 insertions, 0 deletions