commit | b9a400ac295728b2d47445e09814e1880409b311 | [log] [tgz] |
---|---|---|
author | Yunsheng Lin <linyunsheng@huawei.com> | Tue Dec 18 19:37:58 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 18 12:01:01 2018 -0800 |
tree | f66170f26f6c4b094351d37f86ceda357557cf9f | |
parent | 368686be234daf365ef184a6ee1c4a6c18ede3b1 [diff] |
net: hns3: aligning buffer size in SSU to 256 bytes The hardware expects the buffer size set to SSU is aligned to 256 bytes, this patch aligns the buffer size to 256 byte using roundup or rounddown function. Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>