Commit e4836954 authored by Fengyan Mu's avatar Fengyan Mu Committed by Fengyan
Browse files

unic: export the function of getting l3_type for UB

driver inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I850RQ


CVE: NA

-----------------------------------------------------------------

When the driver runs in UB mode, parsing l3 type of the packet depends
on the ptype table which located in hns3_enet marked as static.

This patch exports the function of getting l3_type for parsing
L3 type in UNIC RX.

Signed-off-by: default avatarFengyan Mu <mufengyan@hisilicon.com>
Signed-off-by: default avatarJunxin Chen <chenjunxin1@huawei.com>
parent 737ec46e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment