net: hns3: refactor hclge_update_desc_vfid for extension
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7B8SA CVE: NA ---------------------------------------------------------------------- Now, hclge_update_desc_vfid is used to set vf bitmap for batch operations. But it used fixed description index, so it is hard to extend for more scenario. So this patch refactor description index in the function for reuse. Fixes: a90bb9a5 ("net: hns3: Cleanup for endian issue in hns3 driver") Signed-off-by:Jie Wang <wangjie125@huawei.com>
Loading
Please sign in to comment