commit | d221df4e0faae2b9cc8ad78f3e5e777461b6b542 | [log] [tgz] |
---|---|---|
author | Yunsheng Lin <linyunsheng@huawei.com> | Wed Sep 20 18:52:52 2017 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Sep 20 16:15:39 2017 -0700 |
tree | 20ae181253c30f1945a1b087a5241c2342abfbd7 | |
parent | 2daf4a6536f3109ed0ed758cec14743e0e5c20ea [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>