commit | f9fd82a9f1e4e228baa8f484f0dbc6e3b26c3b29 | [log] [tgz] |
---|---|---|
author | Fuyun Liang <liangfuyun1@huawei.com> | Fri Jan 05 18:18:21 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 08 14:06:19 2018 -0500 |
tree | 1f5cb5fccb0a7cefb0eedeab249cb59056bc1c55 | |
parent | 5bad95a1e55f4d5bb41e130db859d57eaf1b1549 [diff] |
net: hns3: add MTU initialization for hardware When initializing the MAC, the MTU vlaue need to be set to the hardware too. Otherwise, the MTU value of software will be different from the MTU value of hardware. Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support") Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>