Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/hns3: fix max packet size rollback in PF
[ upstream commit e8f1f78 ] HNS3 PF driver use the hns->pf.mps to restore the MTU when a reset occurs. If user fails to configure the MTU, the MPS of PF may not be restored to the original value. Fixes: 25fb790 ("net/hns3: fix HW buffer size on MTU update") Fixes: 1f5ca0b ("net/hns3: support some device operations") Fixes: d51867d ("net/hns3: add initialization") Signed-off-by: Huisong Li <lihuisong@huawei.com> Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
- Loading branch information