This patch fixes outer_l3_len parse error when
PKT_TX_OUTER_IP_CKSUM is not set, which does not affect
checksum function, just be consistent with mbuf meta
information description.
Fixes: 8c8b61234ffd ("net/hinic: refactor checksum functions")
Cc: sta...@dpdk.org
Signed-off-by: Xi
For SCTP checksum offload, pmd driver does not parse payload offset
info, which may cause hardware calculate SCTP checksum failed.
Fixes: 8c8b61234ffd ("net/hinic: refactor checksum functions")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_tx.c | 3 +
SCTP checksum error.
--
v1:
- fix outer_l3_len parse error
- fix SCTP checksum error
Xiaoyun wang (2):
net/hinic: fix outer_l3_len parse error
net/hinic: fix SCTP checksum error
drivers/net/hinic/hinic_pmd_tx.c | 28 ++--
1 file changed, 14 insertions(+), 14 dele
Get default cos of pf driver from chip configuration file.
Fixes: 6691acef0d3d ("net/hinic: support VF")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/base/hinic_pmd_cfg.c | 7 --
drivers/net/hinic/base/hinic_pmd_cfg.h | 1 +
drivers/net/hinic/hinic_pm
.@dpdk.org
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_flow.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/net/hinic/hinic_pmd_flow.c
b/drivers/net/hinic/hinic_pmd_flow.c
index 9888a87..d71a42a 100644
--- a/drivers/net/hinic/hinic_pmd_fl
Sync the repair of patch("fix compile error for old glibc
caused by CLOCK_MONOTONIC_RAW") in the community.
Fixes: efeed0894e9c ("net/hinic/base: avoid system time jump")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/base/hinic_compat.h | 8 +++
If rte_zmalloc failed, pmd driver should also delete the ntuple
filter or ethertype filter or normal and tcam filter that already
added before.
Fixes: d7964ce192e7 ("net/hinic: check memory allocations in flow creation")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun wang
---
drivers
rx_mbuf_alloc_failed value is not set to 0 when get stats from driver,
which may cause this counter added every time when call this ops.
Fixes: cb7b6606ebff ("net/hinic: add RSS stats and promiscuous ops")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pm
ed by CLOCK_MONOTONIC_RAW").
--
v1:
- fix return value of null not checked
- fix TCAM filter set failed
- fix Rx nombuf stats
- get default cos from chip
- fix clock definition with glibc version
Xiaoyun wang (5):
net/hinic: fix return value of null not checked
net/hinic: fix TCAM
For ovs offload scenario, when fw processes the virtio header,
there is no need to offset; and for standard card scenarios,
fw does not care about the vhd_type parameter, so in order to
be compatible with these two scenarios, use 0 offset instead.
Signed-off-by: Xiaoyun wang
---
drivers/net
For x86 platform, the rq cqe without cache aligned, which can
improve performance for some gateway scenarios.
Fixes: 361a9ccf81d6 ("net/hinic: optimize Rx performance")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_rx.h | 4
1 file changed, 4
Encapsulate different types of packet checksum preprocessing
into functions.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_tx.c | 371 +--
1 file changed, 202 insertions(+), 169 deletions(-)
diff --git a/drivers/net/hinic/hinic_pmd_tx.c b
Replace gettimeofday() with clock_gettime(CLOCK_MONOTONIC_RAW, &now),
the reason is same with this patch "make alarm not affected by
system time jump".
Fixes: 81d53291a466 ("net/hinic/base: add various headers")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun wang
---
x86
- modify vhd type for SDI
- make timeout not affected by system time jump
Xiaoyun wang (4):
net/hinic: modify csum offload process
net/hinic: optimize Rx performance for x86
net/hinic/base: modify vhd type for SDI
net/hinic/base: make timeout not affected by system time jump
drivers/
Replace gettimeofday() with clock_gettime(CLOCK_MONOTONIC_RAW, &now),
the reason is same with this patch "make alarm not affected by
system time jump".
Fixes: 81d53291a466 ("net/hinic/base: add various headers")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun wang
---
For ovs offload scenario, when fw processes the virtio header,
there is no need to offset; and for standard card scenarios,
fw does not care about the vhd_type parameter, so in order to
be compatible with the two scenarios, use 0 offset instead.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic
For x86 platform, the rq cqe without cache aligned, which can
improve performace for some gateway scenarios.
Fixes: 361a9ccf81d6 ("net/hinic: optimize Rx performance")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_rx.h | 4
1 file changed, 4
Encapsulate different types of packet checksum preprocessing
into functions.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_tx.c | 371 +--
1 file changed, 202 insertions(+), 169 deletions(-)
diff --git a/drivers/net/hinic/hinic_pmd_tx.c b
timeout not affected by system time jump
Xiaoyun wang (4):
net/hinic: modify csum offload process
net/hinic: optimize Rx performance for x86
net/hinic/base: modify vhd type for SDI
net/hinic/base: make timeout not affected by system time jump
drivers/net/hinic/base/hinic_compat.h| 11
Change ETIME to ETIMEDOUT, because ETIME is not
defined in FreeBSD which may cause build error.
--
v1:
- modify ETIME errors for FreeBSD
Xiaoyun wang (1):
net/hinic/base: modify ETIME errors for FreeBSD
drivers/net/hinic/base/hinic_pmd_hwdev.c | 2 +-
drivers/net/hinic/base
Change ETIME errors to ETIMEDOUT, because ETIME is not
defined in FreeBSD which may cause build error.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/base/hinic_pmd_hwdev.c | 2 +-
drivers/net/hinic/base/hinic_pmd_hwif.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git
org
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/base/hinic_pmd_cmd.h| 1 +
drivers/net/hinic/base/hinic_pmd_niccfg.c | 41 +++
drivers/net/hinic/base/hinic_pmd_niccfg.h | 11 +
drivers/net/hinic/hinic_pmd_flow.c| 13 ++
4 files c
to thread reentry and cause failure to
set promiscuous mode.
Fixes: cb7b6606ebff ("net/hinic: add RSS stats and promiscuous ops")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_ethdev.c | 34 ++
drivers/net/hinic/hinic_pm
Modify return errors with linux system errors when
system requests fail.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/base/hinic_pmd_cfg.c| 4 +-
drivers/net/hinic/base/hinic_pmd_hwdev.c | 16 ++---
drivers/net/hinic/base/hinic_pmd_hwif.c | 4 +-
drivers/net/hinic/base
parameter for mgmt sync channel
- remove unused parameter
- fix setting promiscuous mode problem
- add tcam filter switch for FDIR
- modify return errors
Xiaoyun wang (5):
net/hinic/base: add out parameter for mgmt sync channel
net/hinic/base: remove unused parameter
net/hinic: fix
Remove unused parameters for mgmt channel with no ack.
Fixes: a4957d87e05a ("net/hinic/base: add mgmt module")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/base/hinic_pmd_hwdev.c | 2 +-
drivers/net/hinic/base/hinic_pmd_mgmt.c | 3 +--
drivers/net/
Add bufout and out size info for some cmds that use mgmt
sync channel, which can improve dfx capability when send
msg failed.
Fixes: 7fcd6b05b923 ("net/hinic/base: support cmdq mechanism")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/base/hinic_pmd_cmdq
)
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_tx.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/net/hinic/hinic_pmd_tx.c b/drivers/net/hinic/hinic_pmd_tx.c
index bd39f93..4d99967 100644
--- a/drivers/net/hinic/hinic_pmd_
problem
Xiaoyun wang (1):
net/hinic: fix TSO problem
drivers/net/hinic/hinic_pmd_tx.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
--
1.8.3.1
When copy a mbuf to a new dst_mbuf, the pkt_len member of
dst_mbuf needs to be updated.
Fixes: 076221c8fe1d ("net/hinic: add Rx/Tx")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_tx.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers
Before updating RSS indirection table, firstly determine whether
rq num in RETA table is legal, if it is invalid(such as exceeding
the maximum rxq num), driver will not update hw indirection
table and return fail.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_ethdev.c | 16
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_rx.c | 3 ++-
drivers/net/hinic/hinic_pmd_tx.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/net/hinic/hinic_pmd_rx.c b/drivers/net/hinic/hinic_pmd_rx.c
index 4ca74f0..a49769a 100644
--- a/drivers
style format rectification,
and adjusts the legality judgment order of RSS RETA table.
--
v1:
- the queues resource free problem fixes
- the pkt len updates of mbuf fixes
- code style modification
- optimize RSS RETA table updates
Xiaoyun wang (4):
net/hinic: the queues resource free
The patch modifies the comments of structures or functions, and adds
space for comments, removes extra empty lines and adjusts the
print level for VF branches in one sdk interface.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/base/hinic_pmd_cmdq.h | 2 +-
drivers/net/hinic/base
Increase tx_queues and rx_queues non-null judgment before free tx or
rx resources, and modify some formate for logs.
Fixes: 54faba2295bd ("net/hinic: adds Tx queue xstats members")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/base/hinic_pmd_cmdq.h | 2 +-
d
If hardware mode for this card does not support nic,
the network features for this card will not be supported
and driver will be initialized failed.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/base/hinic_pmd_cfg.c | 3 ++-
drivers/net/hinic/hinic_pmd_ethdev.c | 6 +-
2 files changed
The patch supports ipv6 flow rules for BGP or ICMP packets.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_ethdev.h | 57 +-
drivers/net/hinic/hinic_pmd_flow.c | 209 ---
2 files changed, 249 insertions(+), 17 deletions(-)
diff --git a
The patch adds DEV_RX_OFFLOAD_JUMBO_FRAME flag for jumbo when set mtu.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_ethdev.c | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/drivers/net/hinic/hinic_pmd_ethdev.c
b/drivers/net/hinic
- Fix LRO problems
- Fix hotupdate firmware problem
- Optimize doorbell area initialization
- Remove 40GE Mezz card id
- Add Fdir filter type
- Optimize log files
- Support pause flow control
v1:
- Allocate IO memory with socketid
Xiaoyun wang (4):
net/hinic: increase Tx/Rx que
Because some APPs may pass illegal parameters, driver increases
checks on illegal parameters and DFX statistics, which includes
sge_len0 and mbuf_null txq xstats member.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_ethdev.c | 2 ++
drivers/net/hinic/hinic_pmd_tx.c | 31
The patch adds space between descriptors and variables in log files.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/base/hinic_pmd_hwdev.c | 4 ++--
drivers/net/hinic/base/hinic_pmd_hwif.c | 4 ++--
drivers/net/hinic/base/hinic_pmd_mgmt.c | 2 +-
drivers/net/hinic/base
problems
- Fix hotupdate firmware problem
- Optimize doorbell area initialization
- Remove 40GE Mezz card id
- Add Fdir filter type
- Optimize log files
- Support pause flow control
v1:
- Allocate IO memory with socketid
Xiaoyun wang (3):
net/hinic/base: fix PF firmware hotactive prob
.
Fixes: cdf7f7ce1423 ("net/hinic/base: fix port start during FW hotupdate")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/base/hinic_pmd_cmdq.c | 7 --
drivers/net/hinic/base/hinic_pmd_hwdev.c | 4 ++--
drivers/net/hinic/base/hinic_pmd_mg
filter type
- Optimize log files
- Support pause flow control
v1:
- Allocate IO memory with socketid
Xiaoyun wang (2):
net/hinic/base: fix FW hotactive problem
net/hinic/base: optimize log style
drivers/net/hinic/base/hinic_pmd_cmdq.c | 7 --
drivers/net/hinic/base/hinic_pmd_h
The patch adds space between descriptors and variables in log files.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/base/hinic_pmd_hwdev.c | 4 ++--
drivers/net/hinic/base/hinic_pmd_hwif.c | 4 ++--
drivers/net/hinic/base/hinic_pmd_mgmt.c | 2 +-
drivers/net/hinic/base
When PF detects FW is hotactive, up returns HINIC_DEV_BUSY_ACTIVE_FW for
pf driver, when cmdq reinit at txrx flush, cmdq will fail, driver should
reinit the cmdq when port start.
Fixes: d9ce1917941c ("net/hinic/base: add hardware operation")
Signed-off-by: Xiaoyun wang
---
drivers
The patch supports pause flow control, including getting or
setting rx_pasue, tx_pause and auto_neg, auto_neg is just
for Electric port type.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/base/hinic_pmd_niccfg.c | 29 ++
drivers/net/hinic/base/hinic_pmd_niccfg.h | 2 +
drivers/net
The patch supports filter type of inner VXLAN or non vxlan dport,
and use TCAM method to config these rules.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/base/hinic_pmd_cmd.h| 6 +
drivers/net/hinic/base/hinic_pmd_niccfg.c | 184 +-
drivers/net/hinic/base/hinic_pmd_niccfg.h | 81
The 40GE Mezz card is not support, so remove it from the pmd driver.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_ethdev.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/hinic/hinic_pmd_ethdev.c
b/drivers/net/hinic/hinic_pmd_ethdev.c
index b81ecd0..37aa042
The patch optimizes log files without "\n".
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/base/hinic_pmd_mbox.c | 3 +--
drivers/net/hinic/base/hinic_pmd_mgmt.c | 9 -
drivers/net/hinic/base/hinic_pmd_niccfg.c | 20 +---
drivers/net/hinic/base/hinic_p
lem
- Optimize doorbell area initialization
- Remove 40GE Mezz card id
- Add Fdir filter type
- Optimize log files
- Support pause flow control
v1:
- Allocate IO memory with socketid
Xiaoyun wang (7):
net/hinic: fix LRO problems
net/hinic/base: fix hotupdate firmware problem
net/hinic/b
The maximum doorbell area is inited from hardware param, and not uses
const macro param.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/base/hinic_pmd_hwif.c | 23 +--
drivers/net/hinic/base/hinic_pmd_hwif.h | 1 +
2 files changed, 18 insertions(+), 6 deletions(-)
diff
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/base/hinic_pmd_cmdq.c | 4
drivers/net/hinic/base/hinic_pmd_cmdq.h | 1 +
drivers/net/hinic/base/hinic_pmd_nicio.c | 9 +
3 files changed, 14 insertions(+)
diff --git a/drivers/net/hinic/base/hinic_pmd_cmdq.c
b/drivers/net/
Pmd driver should change the max_lro_pkt_size parameter into lro_wqe_num
that used for hardware, and when packets are coalesced by hardware,
PKT_RX_LRO flag should be set in the RX mbuf.
Fixes: 9d4878ef0897 ("net/hinic: support LRO offload")
Signed-off-by: Xiaoyun wang
---
drivers
This patch makes IO memory allocation with socketid,
the txq or rxq descriptor and IO resource can be allocated with
socketid that passed by queue setup ops, which can improve
performance for cross-numa scene.
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/base
This patch optimize the memory allocation, alloc IO memory with socketid.
Xiaoyun wang (1):
net/hinic: alloc IO memory with socketid
drivers/net/hinic/base/hinic_compat.h | 17 --
drivers/net/hinic/base/hinic_pmd_api_cmd.c | 7 +++---
drivers/net/hinic/base/hinic_pmd_cmdq.c
ode
- Support MTU set
- Support unicast and multicast MAC set
- Support setting link down and up
- Support get firmware version
- Support inner L3 checksum offload
- Support LRO offload
- Add hinic PMD doc files
Xiaoyun wang (1):
net/hinic: fix secondary process issue
drivers/net/hinic/
The secondary process does not need to register interrupt handle,
remove rte_intr_callback_register from secondary process branch.
Fixes: 06b6a81bbabf ("net/hinic: document missing features")
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_ethdev.c | 10 +++---
1 file
This patch removes feature Free Tx mbuf on demand from hinic.ini
because pmd driver does not support this feature.
Fixes: 1d09792a270a ("net/hinic: add build and doc files")
Signed-off-by: Xiaoyun wang
---
doc/guides/nics/features/hinic.ini | 1 -
1 file changed, 1 deletion(-)
diff -
When port start, driver needs to alloc mbuf resource to fill rx
queue bd section, replace rte_mbuf_raw_alloc function to
rte_pktmbuf_alloc_bulk with initialized mbuf structure to aviod
some structures being used without initialization.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic
or generic filtering to doc files.
Signed-off-by: Xiaoyun wang
---
doc/guides/nics/features/hinic.ini | 2 +-
doc/guides/nics/hinic.rst | 2 +-
doc/guides/rel_notes/release_19_11.rst | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/guides/nics/features/hi
For VXLAN TSO offload, pmd driver calcutes offload info
err due to the wrong branch, which can cause hardware failed.
Fixes: c3ba1f0f20cd ("net/hinic: support inner L3 checksum offload")
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_tx.c | 3 ++-
1 file changed, 2 insert
This patch fixs the code style check issue for MACRO_ARG_REUSE.
Fixes: b8582d051af1 ("net/hinic/base: add HW interfaces for SR-IOV")
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/base/hinic_pmd_mbox.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/d
nd multicast MAC set
- Support setting link down and up
- Support get firmware version
- Support inner L3 checksum offload
- Support LRO offload
- Add hinic PMD doc files
Xiaoyun wang (5):
net/hinic/base: fix code style check issue
net/hinic: fix offload info calculating problem for TSO
net/
This patch adds support for getting rxq or txq info.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_ethdev.c | 34 ++
1 file changed, 34 insertions(+)
diff --git a/drivers/net/hinic/hinic_pmd_ethdev.c
b/drivers/net/hinic/hinic_pmd_ethdev.c
index
This patch optimizes receive packets performance
on arm platform.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_rx.c | 5 +
drivers/net/hinic/hinic_pmd_rx.h | 2 +-
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/net/hinic/hinic_pmd_rx.c b/drivers/net
This patch deletes ceq interfaces that not needed,
fix aeq buges in some scenarios.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/base/hinic_csr.h | 29 +---
drivers/net/hinic/base/hinic_pmd_cmd.h | 5 +-
drivers/net/hinic/base/hinic_pmd_eqs.c | 245
Add new supported features to rst file and add features to ini file.
Signed-off-by: Xiaoyun wang
---
doc/guides/nics/features/hinic.ini | 2 ++
doc/guides/rel_notes/release_19_11.rst | 9 +
2 files changed, 11 insertions(+)
diff --git a/doc/guides/nics/features/hinic.ini
b/doc
This patch supports LRO offload.
Signed-off-by: Xiaoyun wang
---
doc/guides/nics/features/hinic.ini | 1 +
doc/guides/nics/hinic.rst| 1 +
drivers/net/hinic/hinic_pmd_ethdev.c | 24 ++--
3 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/doc
This patch supports inner L3 checksum offload for VXLAN packets,
modifies rx checksum offload.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_ethdev.c | 6 +-
drivers/net/hinic/hinic_pmd_ethdev.h | 1 +
drivers/net/hinic/hinic_pmd_rx.c | 29 ++---
drivers/net/hinic
This patch adds support for getting firmware version.
Signed-off-by: Xiaoyun wang
---
doc/guides/nics/features/hinic.ini| 1 +
doc/guides/nics/hinic.rst | 1 +
drivers/net/hinic/base/hinic_pmd_cmd.h| 2 ++
drivers/net/hinic/base/hinic_pmd_niccfg.c | 40
Add support for creating/destroying fdir filter.
The filter rule includes LACP,ARP and ICMP packet type.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_ethdev.h | 16 ++
drivers/net/hinic/hinic_pmd_flow.c | 423 +--
2 files changed, 422 insertions
This patch is to validate the filter rules, which includes
ntuple filter, ethertype filter and fdir filter. The packets
type that supported are BGP,VRRP,LACP,ARP and ICMP.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/Makefile |1 +
drivers/net/hinic/hinic_pmd_ethdev.c | 42
This patch supports setting link down and up.
Signed-off-by: Xiaoyun wang
---
doc/guides/nics/hinic.rst | 1 +
drivers/net/hinic/base/hinic_pmd_cmd.h| 2 +
drivers/net/hinic/base/hinic_pmd_niccfg.c | 38 +++
drivers/net/hinic/base/hinic_pmd_niccfg.h | 9
Supports to flush fdir filter.
Destroy all flow rules associated with a port on hinic.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_ethdev.c | 16
drivers/net/hinic/hinic_pmd_ethdev.h | 3 +-
drivers/net/hinic/hinic_pmd_flow.c | 140
Add support for creating/destroying ntuple filter.
The filter rule includes BGP and VRRP packet type.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_ethdev.h | 75
drivers/net/hinic/hinic_pmd_flow.c | 684 +++
2 files changed, 759 insertions
Add mbox command channel for SR-IOV, which is used to
communicate between VF and VF, VF and PF. This patch
introduces data structures, initialization, interfaces
and commands of mbox channel.
Signed-off-by: Xiaoyun wang
---
doc/guides/nics/features/hinic.ini | 1 +
doc/guides/nics
This patch adds fdir config operation, including set fdir filter,
normal filter, set and clear fdir tcam.
Signed-off-by: Xiaoyun wang
---
doc/guides/nics/features/hinic.ini| 1 +
doc/guides/nics/hinic.rst | 1 +
drivers/net/hinic/base/hinic_pmd_cmd.h| 2
This patch adds support for VLAN filter and VLAN offload.
Signed-off-by: Xiaoyun wang
---
doc/guides/nics/features/hinic.ini| 2 +
doc/guides/nics/hinic.rst | 1 +
drivers/net/hinic/base/hinic_pmd_cmd.h| 1 +
drivers/net/hinic/base/hinic_pmd_niccfg.c | 136
This patch adds unicast and multicast set interfaces.
Application can add or remove unicast MAC address, also can set
multicast MAC address, tha maximum multicast list size is 2048.
Signed-off-by: Xiaoyun wang
---
doc/guides/nics/hinic.rst | 2 +
drivers/net/hinic/base
When enable allmulticast mode, all multicast packets
can be received. This patch also adds support for mtu set,
the range of MTU is from 256 to 9600.
Signed-off-by: Xiaoyun wang
---
doc/guides/nics/features/hinic.ini | 4 +-
doc/guides/nics/hinic.rst| 2 +
drivers/net/hinic
This patch adds VF PMD operation interfaces to support SR-IOV.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/base/hinic_pmd_niccfg.c | 35
drivers/net/hinic/base/hinic_pmd_niccfg.h | 14 ++
drivers/net/hinic/hinic_pmd_ethdev.c | 255 --
3 files
This patch introduces some HW interfaces required for SR-IOV function,
including: init hwdev, set port state, get default cos,
vf dma attribute table, vf txrx flush and so on.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/base/hinic_compat.h | 36 +---
drivers/net/hinic/base
receive performance code review comments
- Fix 32-bit build errs for mbox logs
- Modify skb description as mbuf
Xiaoyun wang (19):
net/hinic/base: add mbox command channel for SRIOV
net/hinic/base: add HW interfaces for SR-IOV
net/hinic: add VF PMD operation interfaces
net/hinic: add VLAN fi
This patch adds support for getting rxq or txq info.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_ethdev.c | 34 ++
1 file changed, 34 insertions(+)
diff --git a/drivers/net/hinic/hinic_pmd_ethdev.c
b/drivers/net/hinic/hinic_pmd_ethdev.c
index
This patch optimizes receive packets performance
on arm platform.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_rx.c | 5 +
drivers/net/hinic/hinic_pmd_rx.h | 11 +++
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/drivers/net/hinic/hinic_pmd_rx.c b
This patch deletes ceq interfaces that not needed,
fix aeq buges in some scenarios.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/base/hinic_csr.h | 29 +---
drivers/net/hinic/base/hinic_pmd_cmd.h | 5 +-
drivers/net/hinic/base/hinic_pmd_eqs.c | 245
Add new supported features to rst file and add features to ini file.
Signed-off-by: Xiaoyun wang
---
doc/guides/nics/features/hinic.ini | 2 ++
doc/guides/rel_notes/release_19_11.rst | 9 +
2 files changed, 11 insertions(+)
diff --git a/doc/guides/nics/features/hinic.ini
b/doc
This patch supports LRO offload.
Signed-off-by: Xiaoyun wang
---
doc/guides/nics/features/hinic.ini | 1 +
doc/guides/nics/hinic.rst| 1 +
drivers/net/hinic/hinic_pmd_ethdev.c | 24 ++--
3 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/doc
This patch adds support for getting firmware version.
Signed-off-by: Xiaoyun wang
---
doc/guides/nics/features/hinic.ini| 1 +
doc/guides/nics/hinic.rst | 1 +
drivers/net/hinic/base/hinic_pmd_cmd.h| 2 ++
drivers/net/hinic/base/hinic_pmd_niccfg.c | 40
This patch supports inner L3 checksum offload for VXLAN packets,
modifies rx checksum offload.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_ethdev.h | 1 +
drivers/net/hinic/hinic_pmd_rx.c | 10 +-
drivers/net/hinic/hinic_pmd_tx.c | 190
This patch supports setting link down and up.
Signed-off-by: Xiaoyun wang
---
doc/guides/nics/hinic.rst | 1 +
drivers/net/hinic/base/hinic_pmd_cmd.h| 2 +
drivers/net/hinic/base/hinic_pmd_niccfg.c | 38 +++
drivers/net/hinic/base/hinic_pmd_niccfg.h | 9
Supports to flush fdir filter.
Destroy all flow rules associated with a port on hinic.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_ethdev.c | 16
drivers/net/hinic/hinic_pmd_ethdev.h | 3 +-
drivers/net/hinic/hinic_pmd_flow.c | 140
Add support for creating/destroying fdir filter.
The filter rule includes LACP,ARP and ICMP packet type.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_ethdev.h | 16 ++
drivers/net/hinic/hinic_pmd_flow.c | 423 +--
2 files changed, 422 insertions
Add support for creating/destroying ntuple filter.
The filter rule includes BGP and VRRP packet type.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/hinic_pmd_ethdev.h | 75
drivers/net/hinic/hinic_pmd_flow.c | 684 +++
2 files changed, 759 insertions
This patch adds fdir config operation, including set fdir filter,
normal filter, set and clear fdir tcam.
Signed-off-by: Xiaoyun wang
---
doc/guides/nics/features/hinic.ini| 1 +
doc/guides/nics/hinic.rst | 1 +
drivers/net/hinic/base/hinic_pmd_cmd.h| 2
This patch is to validate the filter rules, which includes
ntuple filter, ethertype filter and fdir filter. The packets
type that supported are BGP,VRRP,LACP,ARP and ICMP.
Signed-off-by: Xiaoyun wang
---
drivers/net/hinic/Makefile |1 +
drivers/net/hinic/hinic_pmd_ethdev.c | 42
This patch adds unicast and multicast set interfaces.
Application can add or remove unicast MAC address, also can set
multicast MAC address, tha maximum multicast list size is 2048.
Signed-off-by: Xiaoyun wang
---
doc/guides/nics/hinic.rst | 2 +
drivers/net/hinic/base
When enable allmulticast mode, all multicast packets
can be received. This patch also adds support for mtu set,
the range of MTU is from 256 to 9600.
Signed-off-by: Xiaoyun wang
---
doc/guides/nics/features/hinic.ini | 4 +-
doc/guides/nics/hinic.rst| 2 +
drivers/net/hinic
This patch adds support for VLAN filter and VLAN offload.
Signed-off-by: Xiaoyun wang
---
doc/guides/nics/features/hinic.ini| 2 +
doc/guides/nics/hinic.rst | 1 +
drivers/net/hinic/base/hinic_pmd_cmd.h| 1 +
drivers/net/hinic/base/hinic_pmd_niccfg.c | 136
1 - 100 of 122 matches
Mail list logo