summaryrefslogtreecommitdiff
path: root/lib/clz_tab.c
diff options
context:
space:
mode:
authorYunsheng Lin <linyunsheng@huawei.com>2017-09-20 18:52:52 +0800
committerDavid S. Miller <davem@davemloft.net>2017-09-20 16:15:39 -0700
commitd221df4e0faae2b9cc8ad78f3e5e777461b6b542 (patch)
tree20ae181253c30f1945a1b087a5241c2342abfbd7 /lib/clz_tab.c
parent2daf4a6536f3109ed0ed758cec14743e0e5c20ea (diff)
net: hns3: Fix for DEFAULT_DV when dev doesn't support DCB
When ae_dev doesn't support DCB, DEFAULT_DV must be set to a lower value, otherwise the buffer allocation process will fail. This patch fix it by setting it to 30K bytes. 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