Loading
HNS3: Modify the io process of unic to improve bandwidth
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I99GLS CVE: NA ----------------------------------------------------------- This patch optimizes the unic bandwidth in the following aspects: 1.Unic does not have flow table and VLAN functions. However, these functions are processed when desc field is filled in the TX direction. This patch deletes the unnecessary steps. 2.Add necessary unlikely() in the TX direction. 3.In the RX direction, reduce the length of pull_len to reduce the impact of memcpy on the performance. Signed-off-by:Haibin Lu <luhaibin10@hisilicon.com>