Commit 1cdab773 authored by Junxin Chen's avatar Junxin Chen Committed by Fengyan
Browse files

UNIC: Supports query, configuration, and management of IP entry

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


CVE: NA

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

When the driver runs in UB mode, it should support get ipv4/6
configuration information from user and configure it to hardware.
As network layer of UNIC, the driver is supposed to deliver IPv4/v6
address to the hardware filtering distribution table which is used to
filter and deliver packets by searching when receive packets.

This patch adds the interface for configuring ip address to hardware
by users through kernel and supports driver IP table management in UB
mode, which means physical function and virtual function are both able
to set IP address to intercept from other source IP address. The
driver do the table management after initialization. The table
size depends on the hardware and will be divided to private table
size of every function and share table size which can be used by
all functions.

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