commit | 0e97cd4e4632e385b3bf7edcf0c803de0487212a | [log] [tgz] |
---|---|---|
author | lipeng <lipeng321@huawei.com> | Thu Sep 29 18:09:09 2016 +0100 |
committer | Doug Ledford <dledford@redhat.com> | Mon Oct 03 11:40:57 2016 -0400 |
tree | d443e337d774028659f12fc3e0e231716080b60e | |
parent | 528f1deb16e5b82e9fe161ebd8caa5983766f0f0 [diff] |
net: hns: fix port unavailable after hnae_reserve_buffer_map fail When hnae_reserve_buffer_map fail, it will break cycle and some buffer description has no available memory, therefore the port will be unavailable. Signed-off-by: Peng Li <lipeng321@huawei.com> Reviewed-by: Yisen Zhuang <yisen.zhuang@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: Doug Ledford <dledford@redhat.com>