Implement xstats_*() DPDK callbacks
Signed-off-by: Shahaf Shuler
Signed-off-by: Elad Persiko
Signed-off-by: Hanoch Haim
---
drivers/net/mlx5/mlx5.c | 3 +
drivers/net/mlx5/mlx5.h | 15 ++
drivers/net/mlx5/mlx5_defs.h| 3 +
drivers/net/mlx5/mlx5_stats.c | 324
The patches mainly finish following functions:
1) Store and restore all kinds of filters.
2) Parse all kinds of filters.
3) Add flow validate function.
4) Add flow create function.
5) Add flow destroy function.
6) Add flow flush function.
v2 changes:
fix git log error
Modify some function call r
Add support for storing TCP SYN filter in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 18 +-
drivers/net/ixgbe/ixgbe_ethdev.h | 2 ++
2 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.
Add support for storing flow director filter in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 64
drivers/net/ixgbe/ixgbe_ethdev.h | 19 ++-
drivers/net/ixgbe/ixgbe_fdir.c | 105 +
Add support for storing L2 tunnel filter in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 172 ++-
drivers/net/ixgbe/ixgbe_ethdev.h | 24 ++
2 files changed, 193 insertions(+), 3 deletions(-)
diff --git a/d
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 140 +--
1 file changed, 92 insertions(+), 48 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index a1c9335..bdb5314 100644
Add support for restoring ether type filter in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 79
drivers/net/ixgbe/ixgbe_ethdev.h | 57 -
drivers/net/ixgbe/ixgbe_pf.c | 25 +++
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 140 +--
1 file changed, 92 insertions(+), 48 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index e63b635..1630e65 100644
Add support for restoring TCP SYN filter in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index 6c46354..6cd59
Add support for storing flow director filter in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 1 +
drivers/net/ixgbe/ixgbe_ethdev.h | 1 +
drivers/net/ixgbe/ixgbe_fdir.c | 35 +++
3 files changed, 37 insertions(+
Add support for store and restore L2 tunnel filter in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 36
drivers/net/ixgbe/ixgbe_ethdev.h | 3 +++
2 files changed, 39 insertions(+)
diff --git a/drivers/net/ixgb
Add support for restoring L2 tunnel filter in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 69 ++--
1 file changed, 46 insertions(+), 23 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/
Add support for flush all the filters in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/Makefile | 2 +
drivers/net/ixgbe/ixgbe_ethdev.c | 79 ++-
drivers/net/ixgbe/ixgbe_ethdev.h | 16 ++
drivers/net/ixgbe/ixgbe_fdir.c | 24
check if the rule is a ethertype rule, and get the ethertype info.
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_flow.c | 278 +
1 file changed, 278 insertions(+)
diff --git a/drivers/net/ixgbe/ixgbe_flow.c b/drivers/net/i
Add rule validate function and check if the rule is a n-tuple rule,
and get the n-tuple info.
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_flow.c | 429 -
1 file changed, 424 insertions(+), 5 deletions(-)
diff --git a/dri
check if the rule is a flow director rule, and get the flow director info.
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.c |2 +
drivers/net/ixgbe/ixgbe_ethdev.h | 16 +
drivers/net/ixgbe/ixgbe_fdir.c | 253 +---
drivers/net/ixgbe/ixgbe_flow.c
This patch adds a function to destroy the flow fliter.
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.c | 2 +-
drivers/net/ixgbe/ixgbe_ethdev.h | 3 +
drivers/net/ixgbe/ixgbe_flow.c | 117 ++-
3 files changed, 120
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.c | 3 +-
drivers/net/ixgbe/ixgbe_flow.c | 203 +++
lib/librte_ether/rte_flow.h | 48 +
3 files changed, 253 insertions(+), 1 deletion(-)
diff --git a/drive
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_flow.c | 266 +
1 file changed, 266 insertions(+)
diff --git a/drivers/net/ixgbe/ixgbe_flow.c b/drivers/net/ixgbe/ixgbe_flow.c
index 2f97129..28445fa 100644
--- a/drivers/net/ix
This patch adds a function to flush all the fliter list
filter on a port.
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.c | 3 +++
drivers/net/ixgbe/ixgbe_ethdev.h | 1 +
drivers/net/ixgbe/ixgbe_flow.c | 56
3 f
This patch adds a function to create the flow directory filter.
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.c | 25 +++--
drivers/net/ixgbe/ixgbe_ethdev.h | 61
drivers/net/ixgbe/ixgbe_flow.c | 194 ++-
Overwrite dev date by no primary process would cause
segment fault issue to primary proccess during receive pkt
Signed-off-by: Haibo Zhang
---
lib/librte_ether/rte_ethdev.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librt
Add support for storing TCP SYN filter in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 18 +-
drivers/net/ixgbe/ixgbe_ethdev.h | 2 ++
2 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.
From: zhao wei
The patches mainly finish following functions:
1) Store and restore all kinds of filters.
2) Parse all kinds of filters.
3) Add flow validate function.
4) Add flow create function.
5) Add flow destroy function.
6) Add flow flush function.
v2 changes:
fix git log error
Modify som
Add support for storing flow director filter in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 64
drivers/net/ixgbe/ixgbe_ethdev.h | 19 ++-
drivers/net/ixgbe/ixgbe_fdir.c | 105 +
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 140 +--
1 file changed, 92 insertions(+), 48 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index e63b635..1630e65 100644
Add support for storing L2 tunnel filter in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 172 ++-
drivers/net/ixgbe/ixgbe_ethdev.h | 24 ++
2 files changed, 193 insertions(+), 3 deletions(-)
diff --git a/d
Add support for restoring ether type filter in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 79
drivers/net/ixgbe/ixgbe_ethdev.h | 57 -
drivers/net/ixgbe/ixgbe_pf.c | 25 +++
Add support for storing flow director filter in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 1 +
drivers/net/ixgbe/ixgbe_ethdev.h | 1 +
drivers/net/ixgbe/ixgbe_fdir.c | 35 +++
3 files changed, 37 insertions(+
Add support for restoring L2 tunnel filter in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 69 ++--
1 file changed, 46 insertions(+), 23 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/
Add support for restoring TCP SYN filter in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index 6c46354..6cd59
Add support for flush all the filters in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/Makefile | 2 +
drivers/net/ixgbe/ixgbe_ethdev.c | 79 ++-
drivers/net/ixgbe/ixgbe_ethdev.h | 16 ++
drivers/net/ixgbe/ixgbe_fdir.c | 24
Add support for store and restore L2 tunnel filter in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 36
drivers/net/ixgbe/ixgbe_ethdev.h | 3 +++
2 files changed, 39 insertions(+)
diff --git a/drivers/net/ixgb
Add rule validate function and check if the rule is a n-tuple rule,
and get the n-tuple info.
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_flow.c | 429 -
1 file changed, 424 insertions(+), 5 deletions(-)
diff --git a/dri
check if the rule is a ethertype rule, and get the ethertype info.
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_flow.c | 278 +
1 file changed, 278 insertions(+)
diff --git a/drivers/net/ixgbe/ixgbe_flow.c b/drivers/net/i
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_flow.c | 264 +
1 file changed, 264 insertions(+)
diff --git a/drivers/net/ixgbe/ixgbe_flow.c b/drivers/net/ixgbe/ixgbe_flow.c
index 2f97129..317deed 100644
--- a/drivers/net/ix
check if the rule is a flow director rule, and get the flow director info.
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.c |2 +
drivers/net/ixgbe/ixgbe_ethdev.h | 16 +
drivers/net/ixgbe/ixgbe_fdir.c | 253 +---
drivers/net/ixgbe/ixgbe_flow.c
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.c | 3 +-
drivers/net/ixgbe/ixgbe_flow.c | 203 +++
lib/librte_ether/rte_flow.h | 48 +
3 files changed, 253 insertions(+), 1 deletion(-)
diff --git a/drive
This patch adds a function to flush all the fliter list
filter on a port.
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.c | 3 +++
drivers/net/ixgbe/ixgbe_ethdev.h | 1 +
drivers/net/ixgbe/ixgbe_flow.c | 56
3 f
This patch adds a function to create the flow directory filter.
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.c | 25 +++--
drivers/net/ixgbe/ixgbe_ethdev.h | 61
drivers/net/ixgbe/ixgbe_flow.c | 194 ++-
This patch adds a function to destroy the flow fliter.
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.c | 2 +-
drivers/net/ixgbe/ixgbe_ethdev.h | 3 +
drivers/net/ixgbe/ixgbe_flow.c | 117 ++-
3 files changed, 120
Fix few problems with link status information and flow control settings.
Patches are grouped into a series since flow control fix discovers
link status sync issue just after port start.
Andrew Rybchenko (4):
net/sfc: avoid usage of possibly uninitialized link_mode
net/sfc: sync link status kn
In fact efx_port_poll() always initializes it, but it isn't
explicitly documented feature of the API. Moreover, the API
annocation suggests that return code should be checked.
Fixes: 215e8b89d8a8 ("net/sfc: implement device operation to retrieve link
info")
Signed-off-by: Andrew Rybchenko
Revie
efx_phy_adv_cap_set() sets all advertised phy capabilities including
pause capabilities which are also configured using efx_mac_fcntl_set().
If we set speed and autonegotiation capabilities only, we should
preserve already configured pause capabilities.
Fixes: 7a56123f8a60 ("net/sfc: support link
Fixes: 215e8b89d8a8 ("net/sfc: implement device operation to retrieve link
info")
Signed-off-by: Andrew Rybchenko
Reviewed-by: Andrew Lee
---
drivers/net/sfc/sfc_port.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/drivers/net/sfc/sfc_port.c b/drivers/net/s
Fixes: 215e8b89d8a8 ("net/sfc: implement device operation to retrieve link
info")
Signed-off-by: Andrew Rybchenko
Reviewed-by: Andrew Lee
---
drivers/net/sfc/sfc_ethdev.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/drivers/net/sfc/sfc_ethdev.c b/drivers/net/
Hello,
I have a standalone utility that implements
ICMP ping over DPDK.
When I run the utility with i40e PMD over VF it stacks with the following
output and never recovers.
The last reported tx_tail value was 4095. TX queue length in that run was 4096
The fault was reproduced on several Dell Pow
v2..v3:
1) Changed I40E_PCI_REG_WRITE to I40E_PCI_REG_WRITE_RELAXED in fastpath
i40e_rx_alloc_bufs function(Tiwei)
2) Changed rte_?wb to rte_*wb in the git commit log of
"eal/arm64: change barrier definitions to macros"(Jianbo)
3) Re-based to latest dpdk master(Jan 12)
v1..v2:
1) Changed rte_[rea
This commit introduce rte_io_mb(), rte_io_wmb() and rte_io_rmb(), in
order to enable memory barriers between I/O device and CPU.
Signed-off-by: Jerin Jacob
---
lib/librte_eal/common/include/generic/rte_atomic.h | 27 ++
1 file changed, 27 insertions(+)
diff --git a/lib/librt
Separate the smp barrier definition for arm and arm64 for fine
control on smp barrier definition for each architecture.
Signed-off-by: Jerin Jacob
---
lib/librte_eal/common/include/arch/arm/rte_atomic.h| 6 --
lib/librte_eal/common/include/arch/arm/rte_atomic_32.h | 6 ++
lib/librte_
The patch does not provide any functional change for IA.
I/O barriers are mapped to existing smp barriers.
CC: Bruce Richardson
CC: Konstantin Ananyev
Signed-off-by: Jerin Jacob
---
lib/librte_eal/common/include/arch/x86/rte_atomic.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/li
The patch does not provide any functional change for tile.
I/O barriers are mapped to existing smp barriers.
CC: Zhigang Lu
Signed-off-by: Jerin Jacob
---
lib/librte_eal/common/include/arch/tile/rte_atomic.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/lib/librte_eal/common/include
The patch does not provide any functional change for ppc_64.
I/O barriers are mapped to existing smp barriers.
CC: Chao Zhu
Signed-off-by: Jerin Jacob
---
lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/lib/librte_eal/common/inclu
dsb instruction based barrier is used for non smp
version of memory barrier.
Fixes: d708f01b7102 ("eal/arm: add atomic operations for ARMv8")
CC: Jianbo Liu
CC: sta...@dpdk.org
Signed-off-by: Jerin Jacob
Acked-by: Jianbo Liu
---
lib/librte_eal/common/include/arch/arm/rte_atomic_64.h | 9 +
dmb instruction based barrier is used for smp version of memory barrier.
Signed-off-by: Jerin Jacob
---
lib/librte_eal/common/include/arch/arm/rte_atomic_64.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/librte_eal/common/include/arch/arm/rte_atomic_64.h
b/lib/l
The patch does not provide any functional change for ARMv7.
I/O barriers are mapped to existing smp barriers.
CC: Jan Viktorin
CC: Jianbo Liu
Signed-off-by: Jerin Jacob
---
lib/librte_eal/common/include/arch/arm/rte_atomic_32.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/lib/libr
CC: Jianbo Liu
Signed-off-by: Jerin Jacob
---
lib/librte_eal/common/include/arch/arm/rte_atomic_64.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/lib/librte_eal/common/include/arch/arm/rte_atomic_64.h
b/lib/librte_eal/common/include/arch/arm/rte_atomic_64.h
index 78ebea2..ef0efc7 1
This patch implements the generic version of rte_read[b/w/l/q]_[relaxed]
and rte_write[b/w/l/q]_[relaxed] using rte_io_wmb() and rte_io_rmb()
Signed-off-by: Jerin Jacob
---
lib/librte_eal/common/include/generic/rte_io.h | 54 ++
1 file changed, 54 insertions(+)
diff --gi
Signed-off-by: Jerin Jacob
---
lib/librte_eal/common/include/arch/arm/rte_io.h| 47 ++
lib/librte_eal/common/include/arch/ppc_64/rte_io.h | 47 ++
lib/librte_eal/common/include/arch/tile/rte_io.h | 47 ++
lib/librte_eal/common/incl
This commit introduces 8-bit, 16-bit, 32bit, 64bit I/O device
memory read/write operations along with the relaxed versions.
The weakly-ordered machine like ARM needs additional I/O barrier for
device memory read/write access over PCI bus.
By introducing the eal abstraction for I/O device memory re
Change rte_*wb definitions to macros in order to
keep consistent with other barrier definitions in
the file.
Suggested-by: Jianbo Liu
Signed-off-by: Jerin Jacob
---
.../common/include/arch/arm/rte_atomic_64.h| 36 ++
1 file changed, 3 insertions(+), 33 deletions(-)
From: Santosh Shukla
Replace the raw I/O device memory read/write access with eal
abstraction for I/O device memory read/write access to fix portability
issues across different architectures.
CC: John Griffin
CC: Fiona Trahe
CC: Deepak Kumar Jain
Signed-off-by: Santosh Shukla
Signed-off-by:
Override the generic I/O device memory read/write access and implement it
using armv8 instructions for arm64.
Signed-off-by: Jerin Jacob
---
lib/librte_eal/common/include/arch/arm/rte_io.h| 4 +
lib/librte_eal/common/include/arch/arm/rte_io_64.h | 159 +
2 files changed
From: Santosh Shukla
Replace the raw I/O device memory read/write access with eal abstraction
for I/O device memory read/write access to fix portability issues across
different architectures.
CC: Stephen Hurd
CC: Ajit Khaparde
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
---
dri
From: Santosh Shukla
Replace the raw I/O device memory read/write access with eal
abstraction for I/O device memory read/write access to fix
portability issues across different architectures.
CC: Rahul Lakkireddy
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
---
drivers/net/cxgbe/
From: Santosh Shukla
Replace the raw I/O device memory read/write access with eal
abstraction for I/O device memory read/write access to fix
portability issues across different architectures.
CC: Jan Medala
CC: Jakub Palider
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
Acked-by:
From: Santosh Shukla
Replace the raw I/O device memory read/write access with eal abstraction
for I/O device memory read/write access to fix portability issues across
different architectures.
CC: Harish Patil
CC: Rasesh Mody
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
---
drive
From: Santosh Shukla
Replace the raw I/O device memory read/write access with eal
abstraction for I/O device memory read/write access to fix
portability issues across different architectures.
CC: Wenzhuo Lu
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
---
drivers/net/e1000/base/e
From: Santosh Shukla
Replace the raw I/O device memory read/write access with eal
abstraction for I/O device memory read/write access to fix portability
issues across different architectures.
CC: John Daley
CC: Nelson Escobar
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
---
driv
From: Santosh Shukla
Replace the raw I/O device memory read/write access with eal abstraction
for I/O device memory read/write access to fix portability issues across
different architectures.
CC: Helin Zhang
CC: Jingjing Wu
Signed-off-by: Santosh Shukla
Signed-off-by: Satha Rao
Signed-off-by
From: Santosh Shukla
Replace the raw I/O device memory read/write access with eal
abstraction for I/O device memory read/write access to fix
portability issues across different architectures.
CC: Jing Chen
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
---
drivers/net/fm10k/base/fm
From: Santosh Shukla
Replace the raw I/O device memory read/write access with eal
abstraction for I/O device memory read/write access to fix
portability issues across different architectures.
CC: Alejandro Lucero
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
---
drivers/net/nfp/nf
From: Santosh Shukla
Replace the raw I/O device memory read/write access with eal
abstraction for I/O device memory read/write access to fix
portability issues across different architectures.
CC: Helin Zhang
CC: Konstantin Ananyev
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
---
From: Santosh Shukla
Replace the raw I/O device memory read/write access with eal
abstraction for I/O device memory read/write access to fix
portability issues across different architectures.
CC: Huawei Xie
CC: Yuanhan Liu
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
Acked-by: Yu
From: Santosh Shukla
Replace the raw I/O device memory read/write access with eal
abstraction for I/O device memory read/write access to fix
portability issues across different architectures.
CC: Harish Patil
CC: Rasesh Mody
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
---
drive
From: Santosh Shukla
Replace the raw I/O device memory read/write access with eal
abstraction for I/O device memory read/write access to fix
portability issues across different architectures.
CC: Yong Wang
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
---
drivers/net/vmxnet3/vmxne
Replace the raw I/O device memory read/write access with eal
abstraction for I/O device memory read/write access to fix portability
issues across different architectures.
Signed-off-by: Jerin Jacob
---
drivers/net/thunderx/base/nicvf_plat.h | 36 --
1 file changed
The patches mainly finish following functions:
1) Store and restore all kinds of filters.
2) Parse all kinds of filters.
3) Add flow validate function.
4) Add flow create function.
5) Add flow destroy function.
6) Add flow flush function.
v2 changes:
fix git log error
Modify some function call r
Add support for storing flow director filter in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 64
drivers/net/ixgbe/ixgbe_ethdev.h | 19 ++-
drivers/net/ixgbe/ixgbe_fdir.c | 105 +
Add support for storing TCP SYN filter in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 18 +-
drivers/net/ixgbe/ixgbe_ethdev.h | 2 ++
2 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.
Add support for restoring ether type filter in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 79
drivers/net/ixgbe/ixgbe_ethdev.h | 57 -
drivers/net/ixgbe/ixgbe_pf.c | 25 +++
Add support for storing L2 tunnel filter in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 172 ++-
drivers/net/ixgbe/ixgbe_ethdev.h | 24 ++
2 files changed, 193 insertions(+), 3 deletions(-)
diff --git a/d
Add support for storing flow director filter in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 1 +
drivers/net/ixgbe/ixgbe_ethdev.h | 1 +
drivers/net/ixgbe/ixgbe_fdir.c | 35 +++
3 files changed, 37 insertions(+
Add support for restoring TCP SYN filter in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index 6c46354..6cd59
Add support for restoring n-tuple filter in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 140 +--
1 file changed, 92 insertions(+), 48 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ix
Add support for store and restore L2 tunnel filter in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 36
drivers/net/ixgbe/ixgbe_ethdev.h | 3 +++
2 files changed, 39 insertions(+)
diff --git a/drivers/net/ixgb
Add support for flush all the filters in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/Makefile | 2 +
drivers/net/ixgbe/ixgbe_ethdev.c | 79 ++-
drivers/net/ixgbe/ixgbe_ethdev.h | 16 ++
drivers/net/ixgbe/ixgbe_fdir.c | 24
Add support for restoring L2 tunnel filter in SW.
Signed-off-by: Wenzhuo Lu
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 69 ++--
1 file changed, 46 insertions(+), 23 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/
Add rule validate function and check if the rule is a n-tuple rule,
and get the n-tuple info.
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_flow.c | 429 -
1 file changed, 424 insertions(+), 5 deletions(-)
diff --git a/dri
check if the rule is a ethertype rule, and get the ethertype info.
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_flow.c | 278 +
1 file changed, 278 insertions(+)
diff --git a/drivers/net/ixgbe/ixgbe_flow.c b/drivers/net/i
check if the rule is a L2 tunnel rule, and get the L2 tunnel info.
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.c | 3 +-
drivers/net/ixgbe/ixgbe_flow.c | 203 +++
lib/librte_ether/rte_flow.h | 48 +
3
check if the rule is a TCP SYN rule, and get the SYN info.
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_flow.c | 264 +
1 file changed, 264 insertions(+)
diff --git a/drivers/net/ixgbe/ixgbe_flow.c b/drivers/net/ixgbe/ixg
check if the rule is a flow director rule, and get the flow director info.
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.c |2 +
drivers/net/ixgbe/ixgbe_ethdev.h | 16 +
drivers/net/ixgbe/ixgbe_fdir.c | 253 +---
drivers/net/ixgbe/ixgbe_flow.c
This patch adds a function to flush all the fliter list
filter on a port.
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.c | 3 +++
drivers/net/ixgbe/ixgbe_ethdev.h | 1 +
drivers/net/ixgbe/ixgbe_flow.c | 56
3 f
This patch adds a function to destroy the flow fliter.
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.c | 2 +-
drivers/net/ixgbe/ixgbe_ethdev.h | 3 +
drivers/net/ixgbe/ixgbe_flow.c | 117 ++-
3 files changed, 120
This patch adds a function to create the flow directory filter.
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/ixgbe/ixgbe_ethdev.c | 25 +++--
drivers/net/ixgbe/ixgbe_ethdev.h | 61
drivers/net/ixgbe/ixgbe_flow.c | 194 ++-
2017-01-12 13:16, Jerin Jacob:
> +ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),y)
> _LDLIBS-$(CONFIG_RTE_LIBRTE_IXGBE_PMD) += -lrte_pmd_ixgbe
> +endif
_LDLIBS is an internal variable of rte.app.mk.
Please could you check that there is no issue when using LDLIBS instead
of _LDLIBS?
Thanks
Hi Jason,
Ok, just want to show its advantages. It can be added on top.
And two more suggestions:
- better to split tap support out of vhost file
Good suggestion! Will do that in next version.
- kernel support more than 8 queues on recent kernel, so there's no
need to limit it to 8. When ru
This patch adds function rte_pktmbuf_linearize to let crypto PMD coalesce
chained mbuf before crypto operation and extend their capabilities to
support segmented mbufs when device cannot handle them natively.
Included unit tests for rte_pktmbuf_linearize functionality:
1) Creates banch of segmen
Hi Shahaf,
1) I would add *all* the hw counters to PF
$ethtool -S enp135s0f0
NIC statistics:
rx_packets: 54
rx_bytes: 3240
tx_packets: 138
tx_bytes: 8280
tx_tso_packets: 0
tx_tso_bytes: 0
tx_tso_inner_packets: 0
tx_tso_inner_bytes: 0
rx_lro_packets: 0
1 - 100 of 209 matches
Mail list logo