Loading
!6257 HNS3: Do some optimizing job and support fast path
Merge Pull Request from: @mufengyan HNS3:Do some cleancode job and support fastpath driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I99GLS CVE: NA ---------------------------------------------------------------------------------- 1、Fix up magic numbers problems in ip table function, due to the number 1 has meaning as not found. 2、Move assignment of value behind the judge, which leads to return a error number. 3、Change the function which creates net device name from ubn to ubl, aimed to be consistent with the protocol stack name. Do some cleancode job to eliminate warnings,including delete useless blank lines, Keep variable types consistent. 4、optimizes the unic bandwidth. 5、Solve the problem that the tc qdisc configuration in the hardware registration cannot be cleared. 6、Support configuration of fastpath feature and support debugfs dump fastpath info. Signed-off-by:Fengyan Mu <mufengyan@hisilicon.com> Signed-off-by:
Haibin Lu <luhaibin10@hisilicon.com> Signed-off-by:
Haiqing Fang <fanghaiqing@huawei.com> Signed-off-by:
Zihao Sheng <shengzihao1@huawei.com> Link:https://gitee.com/openeuler/kernel/pulls/6257 Reviewed-by:
Lin Yunsheng <linyunsheng@huawei.com> Signed-off-by:
Jialin Zhang <zhangjialin11@huawei.com>