Fix incorrect expression by cast division operand to type double
to match ceil() and fabs() definitions.
Coverity issue: 381398, 381401, 381402
Fixes: db354bd2e1f8 ("member: add NitroSketch mode")
Signed-off-by: Leyi Rong
---
v2:
- resubmit as v1 performance CI fail maybe fals
.
v2:
- add "do_offload" parameter to according functions for reducing code
duplication.
Leyi Rong (2):
net/ice: add Tx AVX512 offload path
net/ice: add Rx AVX512 offload path
drivers/net/ice/ice_rxtx.c| 78 +++--
drivers/net/ice/ice_rxtx.h| 10 +
drive
Add alternative Tx data path for AVX512 which can support partial
Tx offload features, including Tx checksum offload, vlan/QinQ
insertion offload.
Signed-off-by: Leyi Rong
Signed-off-by: Wenzhuo Lu
---
drivers/net/ice/ice_rxtx.c| 28 +--
drivers/net/ice/ice_rxtx.h
Split AVX512 Rx data path into two, one is for basic,
the other one can support additional Rx offload features,
including Rx checksum offload, Rx vlan offload, RSS offload.
Signed-off-by: Leyi Rong
Signed-off-by: Wenzhuo Lu
---
drivers/net/ice/ice_rxtx.c| 50 +++-
drivers/net/ice
.
- complete tx/rx burst infos for new adding offload functions.
v2:
- add "do_offload" parameter to according functions for reducing code
duplication.
Leyi Rong (2):
net/ice: add Tx AVX512 offload path
net/ice: add Rx AVX512 offload path
drivers/net/ice/ice_rxtx.c
Add alternative Tx data path for AVX512 which can support partial
Tx offload features, including Tx checksum offload, vlan/QinQ
insertion offload.
Signed-off-by: Leyi Rong
Signed-off-by: Wenzhuo Lu
---
drivers/net/ice/ice_rxtx.c| 28 +--
drivers/net/ice/ice_rxtx.h
Split AVX512 Rx data path into two, one is for basic,
the other one can support additional Rx offload features,
including Rx checksum offload, Rx vlan offload, RSS offload.
Signed-off-by: Leyi Rong
Signed-off-by: Wenzhuo Lu
---
drivers/net/ice/ice_rxtx.c| 50 +++-
drivers/net/ice
Introduce i40e_simple_prep_pkts() as the preparation function for
simple Tx data path, as it's for sanity check for simple Tx.
Suggested-by: Konstantin Ananyev
Signed-off-by: Leyi Rong
---
drivers/net/i40e/i40e_rxtx.c | 42 +++-
drivers/net/i40e/i40e_rxtx.h
Introduce i40e_simple_prep_pkts() as the preparation function for
simple Tx data path, as it's for sanity check for simple Tx.
Suggested-by: Konstantin Ananyev
Signed-off-by: Leyi Rong
---
drivers/net/i40e/i40e_rxtx.c | 39 +++-
drivers/net/i40e/i40e_rxtx.h
: 9c9aa0040344 ("net/iavf: add offload path for Rx AVX512 flex descriptor")
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx_vec_avx512.c | 215 +++-
1 file changed, 174 insertions(+), 41 deletions(-)
diff --git a/drivers/net/iavf/iavf_rxtx_vec_avx512.c
b/driver
Fill up dev->tx_pkt_prepare to i40e_pkt_prepare when on vector and simple
data path selection, as the sanity check is needed ideally.
Signed-off-by: Leyi Rong
---
drivers/net/i40e/i40e_rxtx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_rxtx.
Add alternative Rx/Tx offload path for AVX512, which can support Rx/Tx
offload features, like checksum/vlan/RSS/QinQ offload.
---
v2:
- add "do_offload" parameter to according functions for reducing code
duplication.
Leyi Rong (2):
net/ice: add Tx AVX512 offload path
net/ice: add
Add alternative Tx data path for AVX512 which can support partial
Tx offload features, including Tx checksum offload, vlan/QinQ
insertion offload.
Signed-off-by: Leyi Rong
Signed-off-by: Wenzhuo Lu
---
drivers/net/ice/ice_rxtx.c| 27 +--
drivers/net/ice/ice_rxtx.h
Split AVX512 Rx data path into two, one is for basic,
the other one can support additional Rx offload features,
including Rx checksum offload, Rx vlan offload, RSS offload.
Signed-off-by: Leyi Rong
Signed-off-by: Wenzhuo Lu
---
drivers/net/ice/ice_rxtx.c| 46 +++-
drivers/net/ice
fload" parameter to according functions for reducing code
duplication.
Leyi Rong (2):
net/ice: add Tx AVX512 offload path
net/ice: add Rx AVX512 offload path
drivers/net/ice/ice_rxtx.c| 78 +++--
drivers/net/ice/ice_rxtx.h| 10 +
drivers/net/ice/ice_rxtx_
Add alternative Tx data path for AVX512 which can support partial
Tx offload features, including Tx checksum offload, vlan/QinQ
insertion offload.
Signed-off-by: Leyi Rong
Signed-off-by: Wenzhuo Lu
---
drivers/net/ice/ice_rxtx.c| 28 +--
drivers/net/ice/ice_rxtx.h
Split AVX512 Rx data path into two, one is for basic,
the other one can support additional Rx offload features,
including Rx checksum offload, Rx vlan offload, RSS offload.
Signed-off-by: Leyi Rong
Signed-off-by: Wenzhuo Lu
---
drivers/net/ice/ice_rxtx.c| 50 +++-
drivers/net/ice
This patchset fix FreeBSD build error reported by
https://bugs.dpdk.org/show_bug.cgi?id=788.
Also splitting AVX-specific code into new xxx_common_avx.h header file.
---
v2:
- Decouple i40e_rxtx_common_avx.h/ice_rxtx_common_avx.h from
i40e_rxtx_vec_common.h/ice_rxtx_vec_common.h
Leyi Rong (2
i40e: fix crash in AVX512")
Cc: wenzhuo...@intel.com
Cc: sta...@dpdk.org
Signed-off-by: Leyi Rong
Signed-off-by: Bruce Richardson
---
drivers/net/i40e/i40e_rxtx_common_avx.h | 214
drivers/net/i40e/i40e_rxtx_vec_avx2.c | 1 +
drivers/net/i40e/i40e_rxtx_vec_avx5
ice: optimize Tx by using AVX512")
Fixes: 20daa1c978b7 ("net/ice: fix crash in AVX512")
Cc: wenzhuo...@intel.com
Cc: leyi.r...@intel.com
Cc: sta...@dpdk.org
Signed-off-by: Leyi Rong
Signed-off-by: Bruce Richardson
---
drivers/net/ice/ice_rxtx_common_avx.h | 213 +
This patchset introduce a brand new NitroSketch Mode into membership
library. This algorithm provides high-fidelity approximate measurements
and appears as a promissing alternative to triditional approches such as
packet sampling.
Leyi Rong (2):
member: implement NitroSketch mode
test/member
Braverman, Roy Friedman, Vyas Sekar, "NitroSketch: Robust and General
Sketch-based Monitoring in Software Switches", in ACM SIGCOMM 2019.
Signed-off-by: Alan Liu
Signed-off-by: Yipeng Wang
Signed-off-by: Leyi Rong
---
lib/member/meson.build| 35 +-
lib/member/rt
This patch adds functional and performance tests for sketch mode of
membership library.
Signed-off-by: Yipeng Wang
Signed-off-by: Leyi Rong
---
app/test/test_member.c | 258
app/test/test_member_perf.c | 153 -
2 files changed, 407
Disable i40e avx512 code path for windows build to
avoid the mingw build error.
Fixes: e6a6a138919f ("net/i40e: add AVX512 vector path")
Signed-off-by: Leyi Rong
---
config/x86/cross-mingw | 3 +++
drivers/net/i40e/meson.build | 2 +-
2 files changed, 4 insertions(+), 1 deletio
This patchset fix mingw build error when avx512 is introduced.
Leyi Rong (2):
config: disable avx512 on mingw cross build
net/i40e: fix mingw build error
config/x86/cross-mingw | 3 +++
drivers/net/i40e/meson.build | 26 ++
2 files changed, 17 insertions
Disable avx512 when on mingw cross build, as .seh_savexmm
build error reports if avx512 is enabled.
Signed-off-by: Leyi Rong
---
config/x86/cross-mingw | 3 +++
1 file changed, 3 insertions(+)
diff --git a/config/x86/cross-mingw b/config/x86/cross-mingw
index 4c15a7fa2e..48a82b457e 100644
Disable i40e avx512 code path for windows build to
avoid the mingw build error.
Fixes: e6a6a138919f ("net/i40e: add AVX512 vector path")
Signed-off-by: Leyi Rong
---
drivers/net/i40e/meson.build | 26 ++
1 file changed, 14 insertions(+), 12 deletions(-)
di
This patchset fix mingw build error when avx512 is introduced.
---
v2:
- Set i40e_avx512_cc_support to false to avoid the build error under
windows with mingw.
Leyi Rong (2):
config: disable avx512 on mingw cross build
net/i40e: fix mingw build error
config/x86/cross-mingw | 3
Disable avx512 when on mingw cross build, as .seh_savexmm
build error reports if avx512 is enabled.
Signed-off-by: Leyi Rong
---
config/x86/cross-mingw | 3 +++
1 file changed, 3 insertions(+)
diff --git a/config/x86/cross-mingw b/config/x86/cross-mingw
index 4c15a7fa2e..48a82b457e 100644
Disable i40e avx512 code path for windows build to
avoid the mingw build error.
Signed-off-by: Leyi Rong
---
drivers/net/i40e/meson.build | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/i40e/meson.build b/drivers/net/i40e/meson.build
index c0acdf4fd4..f5fc5a17e0 100644
--- a
Disable i40e AVX512 code path for Windows build regardless of CPU
capability to avoid the MinGW build error:
Error: invalid register for .seh_savexmm
Signed-off-by: Leyi Rong
---
drivers/net/i40e/meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/i40e
Adds extra cflags '-fno-asynchronous-unwind-tables'
to avoid the MinGW build error:
Error: invalid register for .seh_savexmm
Fixes: 5c38c33f7880 ("net/i40e: disable AVX512 with MinGW")
Signed-off-by: Leyi Rong
---
drivers/net/i40e/meson.build | 8
1 file c
VLAN capabilities")
Signed-off-by: Haiyue Wang
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx.c | 62 +
drivers/net/iavf/iavf_rxtx.h | 3 +
drivers/net/iavf/iavf_rxtx_vec_avx2.c | 179 --
3 files changed, 182 insertions(+), 62 deletion
In rte_memcpy_aligned(), one redundant round is taken in the 64 bytes
block copy loops if the size is a multiple of 64. So, let the catch-up
copy the last 64 bytes in this case.
Suggested-by: Morten Brørup
Signed-off-by: Leyi Rong
---
lib/eal/x86/include/rte_memcpy.h | 2 +-
1 file changed, 1
ental":
rte_member_add_byte_count()
rte_member_query_count()
rte_member_report_heavyhitter()
- meson build file rework for potential runtime issue.
v2:
- attach paper link to commit log.
- fix potential memory leaks in test_member.c.
- build error fix according to CI build fail log.
Braverman, Roy Friedman, Vyas Sekar, "NitroSketch: Robust and General
Sketch-based Monitoring in Software Switches", in ACM SIGCOMM 2019.
https://dl.acm.org/doi/pdf/10.1145/3341302.3342076
Signed-off-by: Alan Liu
Signed-off-by: Yipeng Wang
Signed-off-by: Leyi Rong
---
lib/member/m
This patch adds functional and performance tests for sketch mode of
membership library.
Signed-off-by: Yipeng Wang
Signed-off-by: Leyi Rong
---
app/test/test_member.c | 272
app/test/test_member_perf.c | 153 +++-
2 files changed, 421
t_member.c.
- build error fix according to CI build fail log.
Leyi Rong (2):
member: implement NitroSketch mode
test/member: add functional and perf tests for sketch
app/test/test_member.c| 272
app/test/test_member_perf.c | 153 ++-
lib/member/m
Braverman, Roy Friedman, Vyas Sekar, "NitroSketch: Robust and General
Sketch-based Monitoring in Software Switches", in ACM SIGCOMM 2019.
https://dl.acm.org/doi/pdf/10.1145/3341302.3342076
Signed-off-by: Alan Liu
Signed-off-by: Yipeng Wang
Signed-off-by: Leyi Rong
---
lib/member/m
This patch adds functional and performance tests for sketch mode of
membership library.
Signed-off-by: Yipeng Wang
Signed-off-by: Leyi Rong
---
app/test/test_member.c | 272
app/test/test_member_perf.c | 153 +++-
2 files changed, 421
potential memory leaks in test_member.c.
- build error fix according to CI build fail log.
Leyi Rong (2):
member: implement NitroSketch mode
test/member: add functional and perf tests for sketch
app/test/test_member.c| 272
app/test/test_member_perf.c
Braverman, Roy Friedman, Vyas Sekar, "NitroSketch: Robust and General
Sketch-based Monitoring in Software Switches", in ACM SIGCOMM 2019.
https://dl.acm.org/doi/pdf/10.1145/3341302.3342076
Signed-off-by: Alan Liu
Signed-off-by: Yipeng Wang
Signed-off-by: Leyi Rong
---
lib/member/m
This patch adds functional and performance tests for sketch mode of
membership library.
Signed-off-by: Yipeng Wang
Signed-off-by: Leyi Rong
---
app/test/test_member.c | 272
app/test/test_member_perf.c | 153 +++-
2 files changed, 421
i40e: fix crash in AVX512")
Cc: wenzhuo...@intel.com
Cc: sta...@dpdk.org
Signed-off-by: Leyi Rong
Signed-off-by: Bruce Richardson
---
drivers/net/i40e/i40e_rxtx_common_avx.h | 214
drivers/net/i40e/i40e_rxtx_vec_common.h | 200 +-
2 files c
ice: optimize Tx by using AVX512")
Fixes: 20daa1c978b7 ("net/ice: fix crash in AVX512")
Cc: wenzhuo...@intel.com
Cc: leyi.r...@intel.com
Cc: sta...@dpdk.org
Signed-off-by: Leyi Rong
Signed-off-by: Bruce Richardson
---
drivers/net/ice/ice_rxtx_common_avx.h | 213 +++
This patch fixes the build failure by typecasting to match
_mm512_i32gather_epi64() definition.
Bugzilla ID: 1096
Fixes: db354bd2e1f8 ("member: add NitroSketch mode")
Signed-off-by: Leyi Rong
---
lib/member/rte_member_sketch_avx512.c | 4 ++--
1 file changed, 2 insertions(+), 2
Fix incorrect expression by cast division operand to type double
to match ceil() and fabs() definitions.
Coverity issue: 381398, 381401, 381402
Fixes: db354bd2e1f8 ("member: add NitroSketch mode")
Signed-off-by: Leyi Rong
---
app/test/test_member.c | 16
Add alternative Rx/Tx offload path for AVX512, which can support Rx/Tx
offload features, like checksum/vlan/RSS/QinQ offload.
Leyi Rong (2):
net/ice: add Tx AVX512 offload path
net/ice: add Rx AVX512 offload path
drivers/net/ice/ice_rxtx.c| 73 ++-
drivers/net/ice/ice_rxtx.h
Add alternative Tx data path for AVX512 which can support partial
Tx offload features, including Tx checksum offload, vlan/QinQ
insertion offload.
Signed-off-by: Leyi Rong
Signed-off-by: Wenzhuo Lu
---
drivers/net/ice/ice_rxtx.c| 27 -
drivers/net/ice/ice_rxtx.h
Split AVX512 Rx data path into two, one is for basic,
the other one can support additional Rx offload features,
including Rx checksum offload, Rx vlan offload, RSS offload.
Signed-off-by: Leyi Rong
Signed-off-by: Wenzhuo Lu
---
drivers/net/ice/ice_rxtx.c| 46 ++-
drivers/net/ice
Fix pkt_len parsing when DEV_RX_OFFLOAD_KEEP_CRC is set in AVX512 path.
Fixes: 31737f2b66fb ("net/iavf: enable AVX512 for legacy Rx")
Fixes: 6df587028e57 ("net/iavf: enable AVX512 for flexible Rx")
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx_vec_avx512.c
This patchset introduce a brand new NitroSketch Mode into membership
library. This algorithm provides high-fidelity approximate measurements
and appears as a promissing alternative to triditional approches such as
packet sampling.
Leyi Rong (2):
member: implement NitroSketch mode
test/member
Braverman, Roy Friedman, Vyas Sekar, "NitroSketch: Robust and General
Sketch-based Monitoring in Software Switches", in ACM SIGCOMM 2019.
Signed-off-by: Alan Liu
Signed-off-by: Yipeng Wang
Signed-off-by: Leyi Rong
---
lib/member/meson.build| 37 +-
lib/member/rt
This patch adds functional and performance tests for sketch mode of
membership library.
Signed-off-by: Yipeng Wang
Signed-off-by: Leyi Rong
---
app/test/test_member.c | 258
app/test/test_member_perf.c | 153 -
2 files changed, 407
leaks in test_member.c.
- build error fix according to CI build fail log.
Leyi Rong (2):
member: implement NitroSketch mode
test/member: add functional and perf tests for sketch
app/test/test_member.c| 272
app/test/test_member_perf.c | 153 ++-
lib
Braverman, Roy Friedman, Vyas Sekar, "NitroSketch: Robust and General
Sketch-based Monitoring in Software Switches", in ACM SIGCOMM 2019.
https://dl.acm.org/doi/pdf/10.1145/3341302.3342076
Signed-off-by: Alan Liu
Signed-off-by: Yipeng Wang
Signed-off-by: Leyi Rong
---
lib/member/m
This patch adds functional and performance tests for sketch mode of
membership library.
Signed-off-by: Yipeng Wang
Signed-off-by: Leyi Rong
---
app/test/test_member.c | 272
app/test/test_member_perf.c | 153 +++-
2 files changed, 421
.@dpdk.org
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c
index cb779879cb..16e8d021f9 100644
--- a/drivers/net/iavf/iavf_rxtx.c
+++ b/drivers/net/iavf/iav
Intrinsic function __mm512_bsrli_epi128 should be used in
the environment which supports AVX512BW, so adds check for
this flag.
Fixes: 5dd3b8f3af34 ("net/ice: add AVX512 vector path")
Signed-off-by: Leyi Rong
---
drivers/net/ice/ice_rxtx.c | 12 ++--
drivers/net/ice/meson.
This patch enable multiple Tx queues handling on a lcore.
Signed-off-by: Leyi Rong
---
examples/l3fwd/l3fwd_common.h| 6 ++---
examples/l3fwd/l3fwd_em.c| 2 +-
examples/l3fwd/l3fwd_em_hlm.h| 4 ++--
examples/l3fwd/l3fwd_em_sequential.h | 5 +++--
examples/l3fwd
This patch enable multiple Tx queues handling on a lcore.
Signed-off-by: Leyi Rong
---
examples/l3fwd/l3fwd_common.h| 6 ++---
examples/l3fwd/l3fwd_em.c| 2 +-
examples/l3fwd/l3fwd_em_hlm.h| 4 ++--
examples/l3fwd/l3fwd_em_sequential.h | 5 +++--
examples/l3fwd
Fix the drvinfo dumped firmware-version when using dpdk ethtool,
change it to the same result as linux ethtool shown info.
Fixes: e31cb9a36298 ("net/ice: support FW version getting")
Signed-off-by: Leyi Rong
---
drivers/net/ice/ice_ethdev.c | 17 ++---
1 file changed, 14
This patch renames avf to iavf only for the doc files.
Signed-off-by: Leyi Rong
---
MAINTAINERS| 6 +++---
doc/guides/nics/features/{avf.ini => iavf.ini} | 2 +-
.../nics/features/{avf_vec.ini => iavf_vec.ini}| 2 +-
doc/guide
Leyi Rong (3):
net/iavf: rename avf to iavf
net/iavf: rename remaining avf strings
doc: rename avf to iavf
MAINTAINERS |6 +-
config/common_base| 16 +-
.../nics/features/{avf.ini => iavf.ini} |2 +-
.../featu
This patch renames avf to iavf only for the doc files.
Signed-off-by: Leyi Rong
---
MAINTAINERS| 6 +++---
doc/guides/nics/features/{avf.ini => iavf.ini} | 2 +-
.../nics/features/{avf_vec.ini => iavf_vec.ini}| 2 +-
doc/guide
Rename Intel Ethernet Adaptive Virtual Function driver avf to iavf.
This is the first patch which will only renames the directory name,
lib name, filenames and updates the new name in makefile and meson
files. Also updates the #include files in source files.
Signed-off-by: Leyi Rong
Update DPDK 19.05 release notes for iavf renaming.
Signed-off-by: Leyi Rong
---
doc/guides/rel_notes/release_19_05.rst | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/doc/guides/rel_notes/release_19_05.rst
b/doc/guides/rel_notes/release_19_05.rst
index c0390ca16
Replace ice_read_sr_word with ice_read_sr_buf in ice_get_eeprom.
Fixes: d0dd1c8e1997 ("net/ice: support EEPROM information getting")
Signed-off-by: Leyi Rong
---
drivers/net/ice/ice_ethdev.c | 24
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git
Adds error return when the opcode of read message is
mismatched which is received from adminQ.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_vchnl.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/iavf/iavf_vchnl.c b/drivers/net/iavf/iavf_vchnl.c
index
using GCC compile option -O0.
Leyi Rong (11):
net/iavf: flexible Rx descriptor definitions
net/iavf: return error if opcode is mismatched
net/iavf: flexible Rx descriptor support in normal path
net/iavf: flexible Rx descriptor support in AVX path
net/iavf: flexible Rx descriptor support in S
Add definitions for flexible Rx descriptor structures and macros.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx.h | 200 +++
1 file changed, 200 insertions(+)
diff --git a/drivers/net/iavf/iavf_rxtx.h b/drivers/net/iavf/iavf_rxtx.h
index 09b5bd99e
Support flexible Rx descriptor format in normal
path of iAVF PMD.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf.h| 2 +
drivers/net/iavf/iavf_ethdev.c | 8 +
drivers/net/iavf/iavf_rxtx.c | 485 ++---
drivers/net/iavf/iavf_rxtx.h | 9 +
drivers
Support flexible Rx descriptor format in AVX
path of iAVF PMD.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx.c | 24 +-
drivers/net/iavf/iavf_rxtx.h | 6 +
drivers/net/iavf/iavf_rxtx_vec_avx2.c | 550 +-
3 files changed, 570 insertions
Support flexible Rx descriptor format in SSE
path of iAVF PMD.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx.c | 4 +-
drivers/net/iavf/iavf_rxtx.h | 5 +
drivers/net/iavf/iavf_rxtx_vec_sse.c | 414 +++
3 files changed, 421 insertions(+), 2
Support Flow Director mark ID parsing from Flex
Rx descriptor in AVX path.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx_vec_avx2.c | 72 +--
1 file changed, 67 insertions(+), 5 deletions(-)
diff --git a/drivers/net/iavf/iavf_rxtx_vec_avx2.c
b/drivers/net
The commit adds fdir_enabled flag into iavf_rx_queue structure
to identify if fdir id is active. Rx data path can be benefit if
fdir id parsing is not needed, especially in vector path.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf.h | 1 +
drivers/net/iavf/iavf_rxtx.h | 30
Support Flow Director mark ID parsing in normal path.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf.h | 3 +++
drivers/net/iavf/iavf_rxtx.c | 51 +++-
2 files changed, 47 insertions(+), 7 deletions(-)
diff --git a/drivers/net/iavf/iavf.h b/drivers/net
Support Flow Director mark ID parsing from Flex
Rx descriptor in SSE path.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx_vec_sse.c | 52 +++-
1 file changed, 51 insertions(+), 1 deletion(-)
diff --git a/drivers/net/iavf/iavf_rxtx_vec_sse.c
b/drivers/net/iavf
Support RSS hash parsing from Flex Rx
descriptor in SSE data path.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx_vec_sse.c | 88 +++-
1 file changed, 72 insertions(+), 16 deletions(-)
diff --git a/drivers/net/iavf/iavf_rxtx_vec_sse.c
b/drivers/net/iavf
Support RSS hash parsing from Flex Rx
descriptor in AVX data path.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx_vec_avx2.c | 94 ++-
1 file changed, 92 insertions(+), 2 deletions(-)
diff --git a/drivers/net/iavf/iavf_rxtx_vec_avx2.c
b/drivers/net/iavf
.
- Unfold _mm_extract_epi32(fdir_id0_3, i) to fix build error
when using GCC compile option -O0.
Leyi Rong (11):
net/iavf: flexible Rx descriptor definitions
net/iavf: return error if opcode is mismatched
net/iavf: flexible Rx descriptor support in normal path
net/iavf: flexible Rx descript
Adds error return when the opcode of read message is
mismatched which is received from adminQ.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_vchnl.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/iavf/iavf_vchnl.c b/drivers/net/iavf/iavf_vchnl.c
index
Support flexible Rx descriptor format in normal
path of iAVF PMD.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf.h| 2 +
drivers/net/iavf/iavf_ethdev.c | 8 +
drivers/net/iavf/iavf_rxtx.c | 485 ++---
drivers/net/iavf/iavf_rxtx.h | 9 +
drivers
Support flexible Rx descriptor format in AVX
path of iAVF PMD.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx.c | 24 +-
drivers/net/iavf/iavf_rxtx.h | 6 +
drivers/net/iavf/iavf_rxtx_vec_avx2.c | 539 ++
3 files changed, 563 insertions
Add definitions for flexible Rx descriptor structures and macros.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx.h | 200 +++
1 file changed, 200 insertions(+)
diff --git a/drivers/net/iavf/iavf_rxtx.h b/drivers/net/iavf/iavf_rxtx.h
index 09b5bd99e
Support flexible Rx descriptor format in SSE
path of iAVF PMD.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx.c | 4 +-
drivers/net/iavf/iavf_rxtx.h | 5 +
drivers/net/iavf/iavf_rxtx_vec_sse.c | 414 +++
3 files changed, 421 insertions(+), 2
The commit adds fdir_enabled flag into iavf_rx_queue structure
to identify if fdir id is active. Rx data path can be benefit if
fdir id parsing is not needed, especially in vector path.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf.h | 1 +
drivers/net/iavf/iavf_rxtx.h | 30
Support Flow Director mark ID parsing from Flex
Rx descriptor in AVX path.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx_vec_avx2.c | 72 +--
1 file changed, 67 insertions(+), 5 deletions(-)
diff --git a/drivers/net/iavf/iavf_rxtx_vec_avx2.c
b/drivers/net
Support Flow Director mark ID parsing in normal path.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf.h | 3 +++
drivers/net/iavf/iavf_rxtx.c | 51 +++-
2 files changed, 47 insertions(+), 7 deletions(-)
diff --git a/drivers/net/iavf/iavf.h b/drivers/net
Support Flow Director mark ID parsing from Flex
Rx descriptor in SSE path.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx_vec_sse.c | 52 +++-
1 file changed, 51 insertions(+), 1 deletion(-)
diff --git a/drivers/net/iavf/iavf_rxtx_vec_sse.c
b/drivers/net/iavf
Support RSS hash parsing from Flex Rx
descriptor in AVX data path.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx_vec_avx2.c | 94 ++-
1 file changed, 92 insertions(+), 2 deletions(-)
diff --git a/drivers/net/iavf/iavf_rxtx_vec_avx2.c
b/drivers/net/iavf
Support RSS hash parsing from Flex Rx
descriptor in SSE data path.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx_vec_sse.c | 88 +++-
1 file changed, 72 insertions(+), 16 deletions(-)
diff --git a/drivers/net/iavf/iavf_rxtx_vec_sse.c
b/drivers/net/iavf
Fix coverity defects of unused value.
Coverity issue: 357745, 357769
Fixes: b8b4c54ef9b0 ("net/iavf: support flexible Rx descriptor in normal path")
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/net/iavf/iav
FDIR ID parsing will not be handled correctly after queue reconfigured,
enable FDIR ID parsing per Q regardless of fdir_ref_cnt to fix it.
Fixes: f71dbf852d46 ("net/iavf: add flow director enabled switch value")
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx.h | 4 ++--
1 fi
flex desc cases.
- Move rxq->rxdid assignment from iavf_configure_queues()
to iavf_dev_rx_queue_setup().
- Unfold _mm_extract_epi32(fdir_id0_3, i) to fix build error
when using GCC compile option -O0.
Leyi Rong (12):
net/iavf: flexible Rx descriptor definitions
net/iavf: return error if o
Adds error return when the opcode of read message is
mismatched which is received from adminQ.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_vchnl.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/iavf/iavf_vchnl.c b/drivers/net/iavf/iavf_vchnl.c
index
Add definitions for flexible Rx descriptor structures and macros.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx.h | 200 +++
1 file changed, 200 insertions(+)
diff --git a/drivers/net/iavf/iavf_rxtx.h b/drivers/net/iavf/iavf_rxtx.h
index 09b5bd99e
Support flexible Rx descriptor format in AVX
path of iAVF PMD.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf_rxtx.c | 24 +-
drivers/net/iavf/iavf_rxtx.h | 6 +
drivers/net/iavf/iavf_rxtx_vec_avx2.c | 550 +-
3 files changed, 570 insertions
The commit adds fdir_enabled flag into iavf_adapter structure
to identify if fdir id is active. Rx data path can be benefit if
fdir id parsing is not needed, especially in vector path.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf.h | 1 +
drivers/net/iavf/iavf_rxtx.h | 26
Support flexible Rx descriptor format in normal
path of iAVF PMD.
Signed-off-by: Leyi Rong
---
drivers/net/iavf/iavf.h| 2 +
drivers/net/iavf/iavf_ethdev.c | 8 +
drivers/net/iavf/iavf_rxtx.c | 481 ++---
drivers/net/iavf/iavf_rxtx.h | 8 +
drivers
1 - 100 of 427 matches
Mail list logo