net: hns3: get fd rules location before dump in debugfs
driver inclusion category: bugfix bugzilla: NA CVE: NA Currently, the dump fd tcam mode in debugfs is to query all fd tcams, including empty rules, which is unnecessary. This patch modify to find the position of useful rules before dump fd tcam, so that it does not need to query empty rules. This patch also modifies some help information in debugfs. Feature or Bugfix:Bugfix Signed-off-by: NYufeng Mo <moyufeng@huawei.com> Reviewed-by: Nlipeng <lipeng321@huawei.com> Reviewed-by: NYunsheng Lin <linyunsheng@huawei.com> Reviewed-by: NYang Yingliang <yangyingliang@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录