Add support for PPP over L2TPv2 over UDP protocol and L2TPv2
protocol RSS hash based on outer MAC src address and L2TPv2
session ID.
Patterns are listed below:
eth/ipv4/udp/l2tpv2
eth/ipv4/udp/l2tpv2/ppp
eth/ipv6/udp/l2tpv2
eth/ipv6/udp/l2tpv2/ppp
Signed-off-by: Jie Wang
---
doc/guides
Add virtchnl fields session ID of L2TPv2 for AVF HASH.
Signed-off-by: Jie Wang
---
drivers/common/iavf/virtchnl.h | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/common/iavf/virtchnl.h b/drivers/common/iavf/virtchnl.h
index 80e754a1b2..3e44eca7d8 100644
--- a/drivers/common/iavf
/ppp
eth/ipv4(6)/udp/l2tpv2/ppp/ipv4(6)
eth/ipv4(6)/udp/l2tpv2/ppp/ipv4(6)/udp
eth/ipv4(6)/udp/l2tpv2/ppp/ipv4(6)/tcp
Signed-off-by: Jie Wang
---
doc/guides/rel_notes/release_22_03.rst | 4 +
drivers/net/iavf/iavf_fdir.c | 169 +
drivers/net/iavf
.
Jie Wang (2):
net/iavf: support L2TPv2 for AVF HASH
net/iavf: support L2TPv2 for AVF FDIR
doc/guides/rel_notes/release_22_03.rst | 9 ++
drivers/net/iavf/iavf.h| 2 +
drivers/net/iavf/iavf_fdir.c | 169 +
drivers/net/iavf
Add support for PPP over L2TPv2 over UDP protocol and L2TPv2
protocol RSS hash based on outer MAC src/dst address and L2TPv2
session ID.
Patterns are listed below:
eth/ipv4/udp/l2tpv2
eth/ipv4/udp/l2tpv2/ppp
eth/ipv6/udp/l2tpv2
eth/ipv6/udp/l2tpv2/ppp
Signed-off-by: Jie Wang
---
doc/guides
/l2tpv2/ppp
eth/ipv4(6)/udp/l2tpv2/ppp/ipv4(6)
eth/ipv4(6)/udp/l2tpv2/ppp/ipv4(6)/udp
eth/ipv4(6)/udp/l2tpv2/ppp/ipv4(6)/tcp
Signed-off-by: Jie Wang
---
doc/guides/rel_notes/release_22_03.rst | 4 +
drivers/net/iavf/iavf_fdir.c | 169 +
drivers/net/iavf
.
---
v2: upadte release notes.
Jie Wang (2):
net/iavf: support L2TPv2 for AVF HASH
net/iavf: support L2TPv2 for AVF FDIR
doc/guides/rel_notes/release_22_03.rst | 9 ++
doc/guides/rel_notes/release_22_03.rst.rej | 12 ++
drivers/net/iavf/iavf.h| 2 +
drivers/net
Add support for PPP over L2TPv2 over UDP protocol and L2TPv2
protocol RSS hash based on outer MAC src/dst address and L2TPv2
session ID.
Patterns are listed below:
eth/ipv4/udp/l2tpv2
eth/ipv4/udp/l2tpv2/ppp
eth/ipv6/udp/l2tpv2
eth/ipv6/udp/l2tpv2/ppp
Signed-off-by: Jie Wang
---
doc/guides
/l2tpv2/ppp
eth/ipv4(6)/udp/l2tpv2/ppp/ipv4(6)
eth/ipv4(6)/udp/l2tpv2/ppp/ipv4(6)/udp
eth/ipv4(6)/udp/l2tpv2/ppp/ipv4(6)/tcp
Signed-off-by: Jie Wang
---
doc/guides/rel_notes/release_22_03.rst | 4 +
doc/guides/rel_notes/release_22_03.rst.rej | 12 ++
drivers/net/iavf/iavf_fdir.c
Support L2TPv2(include PPP over L2tpv2) for AVF RSS and FDIR based on
outer MAC src/dst address and L2TPv2 session ID.
Support PPPoL2TPv2oUDP for AVF FDIR based on inner IP src/dst address
and TCP/UDP src/dst port.
---
v3: update commit log and release notes.
v2: upadte release notes.
Jie Wang
Add support for L2TPv2(include PPP over L2TPv2) protocols RSS based
on outer MAC src/dst address and L2TPv2 session ID.
Patterns are listed below:
eth/ipv4/udp/l2tpv2
eth/ipv4/udp/l2tpv2/ppp
eth/ipv6/udp/l2tpv2
eth/ipv6/udp/l2tpv2/ppp
Signed-off-by: Jie Wang
---
doc/guides/rel_notes
/l2tpv2/ppp
eth/ipv4(6)/udp/l2tpv2/ppp/ipv4(6)
eth/ipv4(6)/udp/l2tpv2/ppp/ipv4(6)/udp
eth/ipv4(6)/udp/l2tpv2/ppp/ipv4(6)/tcp
Signed-off-by: Jie Wang
---
doc/guides/rel_notes/release_22_03.rst | 4 +
drivers/net/iavf/iavf_fdir.c | 169 +
drivers/net/iavf
ace at the end of the line.
v3:
- check and update the "offloads" of "port->dev_conf.rx/txmode".
- update the commit log.
v2: copy "rx/txmode.offloads", instead of copying the entire struct
"dev->data->dev_conf.rx/txmode".
Jie Wang (2):
ethdev: add an
The driver may change offloads info into dev->data->dev_conf
in dev_configure which may cause apps use outdated values.
Add a new API to get actual device configuration.
Signed-off-by: Jie Wang
---
doc/guides/rel_notes/release_21_11.rst | 4
lib/ethdev/rte_ethdev.c
guration settings")
Signed-off-by: Jie Wang
---
app/test-pmd/cmdline.c | 14 --
app/test-pmd/testpmd.c | 33 +
app/test-pmd/testpmd.h | 2 ++
app/test-pmd/util.c| 14 ++
4 files changed, 61 insertions(+), 2 deletions(-)
diff --git a/ap
Support IAVF PPPoL2TPv2oUDP RSS Hash. Required to distribute packets
based on inner IP src+dest address and TCP/UDP src+dest port.
---
v2:
* update the rte_flow.rst and release notes.
* update l2tpv2 header format.
Jie Wang (3):
net/iavf: support PPPoL2TPv2oUDP RSS Hash
app/testpmd
-by: Jie Wang
---
drivers/net/iavf/iavf_generic_flow.c | 131 +++
drivers/net/iavf/iavf_generic_flow.h | 15 +++
drivers/net/iavf/iavf_hash.c | 108 +-
3 files changed, 252 insertions(+), 2 deletions(-)
diff --git a/drivers/net/iavf
Add support for test-pmd to parse protocol pattern L2TPv2 and PPP.
Signed-off-by: Wenjun Wu
Signed-off-by: Jie Wang
---
app/test-pmd/cmdline_flow.c | 34 ++
1 file changed, 34 insertions(+)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
Added flow pattern items and header formats of L2TPv2 and PPP to
support PPP over L2TPv2 over UDP protocol RSS Hash.
Signed-off-by: Wenjun Wu
Signed-off-by: Jie Wang
---
doc/guides/prog_guide/rte_flow.rst | 25 +++
doc/guides/rel_notes/release_21_11.rst | 5 +
lib/ethdev/rte_flow.c
Enable building subset of libraries that tests depend on for Windows
Signed-off-by: Jie Zhou
---
lib/meson.build | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/meson.build b/lib/meson.build
index b2ba7258d8..bd6c27deef 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -82,9
.
Signed-off-by: Jie Zhou
Acked-by: Dmitry Kozlyuk
---
lib/eal/windows/eal_memalloc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/eal/windows/eal_memalloc.c b/lib/eal/windows/eal_memalloc.c
index 4459d59b1a..fffdd5b976 100644
--- a/lib/eal/windows/eal_memalloc.c
Remove unnecessary header inclusion
Signed-off-by: Jie Zhou
---
app/test/commands.c | 2 --
app/test/test.c | 1 -
app/test/test_cmdline_lib.c | 1 -
3 files changed, 4 deletions(-)
diff --git a/app/test/commands.c b/app/test/commands.c
index 76f6ee5d23..82bd8bf474 100644
- Include rte_os_shim.h
- Replace sleep and usleep with rte_delay_us_sleep
- #ifndef RTE_EXEC_ENV_WINDOWS for POSIX code only
Signed-off-by: Jie Zhou
---
app/test/packet_burst_generator.c | 1 +
app/test/process.h| 4 +++-
app/test/test.c | 4
app/test
us patch#2 (Enable mempool/stack on Windows) from this
patchset as it was separated out and merged as patch-19314.
- Consolidate the source files, deps, tests lists across platforms as
much as possible.
Jie Zhou (12):
lib: build libraries that some tests depend on
eal/windo
Check rte_errno to exclude ENOTSUP as failures in test_memory.c
Signed-off-by: Jie Zhou
---
app/test/test_memory.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app/test/test_memory.c b/app/test/test_memory.c
index dbf6871e71..379b0f99ca 100644
--- a/app/test
Even though test_interrupts.c can compile on Windows, skip interrupt
tests for now since majority of eal_interrupt on Windows are stubs.
Will remove the skip after interrupt being fully enabled on Windows.
Signed-off-by: Jie Zhou
---
app/test/test_interrupts.c | 10 ++
1 file changed
ned-off-by: Jie Zhou
---
app/test/test_cmdline_lib.c | 4
1 file changed, 4 insertions(+)
diff --git a/app/test/test_cmdline_lib.c b/app/test/test_cmdline_lib.c
index 86a5b78d70..1ff5c0d7e6 100644
--- a/app/test/test_cmdline_lib.c
+++ b/app/test/test_cmdline_lib.c
@@ -14
ndef these two test cases, and for the
rte_log_set_level_pattern validation case following these two cases,
differentiate the expected log level passed into macro CHECK_LEVELS
Now logs_autotest completes for all dynamic log types and static log types.
Signed-off-by: Jie Zhou
---
app/test/test_
Remove two alarm_autotest test cases which do bogus range check
on Windows.
Signed-off-by: Jie Zhou
---
app/test/test_alarm.c | 4
1 file changed, 4 insertions(+)
diff --git a/app/test/test_alarm.c b/app/test/test_alarm.c
index b4034339b8..70e97a3109 100644
--- a/app/test/test_alarm.c
On Windows, strerror returns just "Unknown error" for errnum greater
than MAX_ERRNO, while linux and freebsd returns "Unknown error ",
which is the current expectation for errno_autotest. Differentiate
the error string on Windows to remove a "duplicate error code" fai
- Add python script to get coremask
- Add python script to check if system supports hugepages
- Remove two corresponding .sh scripts
- Replace calling of .sh with corresponding .py in meson.build
Signed-off-by: Jie Zhou
---
app/test/get-coremask.sh | 13 -
app/test/get_coremask.py
will be enabled by "patch-18949: app/test:
enable crypto unit tests on Windows".
- For dump tests, currently the tests hang on Windows which require
further investigation. Keep the dump test list just for non-Windows
for easier tracking.
Signed-off-by: Jie Zhou
---
app/test/m
.
Signed-off-by: Jie Zhou
Acked-by: Dmitry Kozlyuk
---
lib/eal/windows/eal_memalloc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/eal/windows/eal_memalloc.c b/lib/eal/windows/eal_memalloc.c
index 4459d59b1a..fffdd5b976 100644
--- a/lib/eal/windows/eal_memalloc.c
Enable building subset of libraries that tests depend on for Windows
Signed-off-by: Jie Zhou
---
lib/meson.build | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/meson.build b/lib/meson.build
index b2ba7258d8..bd6c27deef 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -82,9
Remove unnecessary header inclusion
Signed-off-by: Jie Zhou
---
app/test/commands.c | 2 --
app/test/test.c | 1 -
app/test/test_cmdline_lib.c | 1 -
3 files changed, 4 deletions(-)
diff --git a/app/test/commands.c b/app/test/commands.c
index 76f6ee5d23..82bd8bf474 100644
- Include rte_os_shim.h
- Replace sleep and usleep with rte_delay_us_sleep
- #ifndef RTE_EXEC_ENV_WINDOWS for POSIX code only
Signed-off-by: Jie Zhou
---
app/test/packet_burst_generator.c | 1 +
app/test/process.h| 4 +++-
app/test/test.c | 4
app/test
arenthesis '('
- Add back a header mistakenly deleted
Jie Zhou (12):
lib: build libraries that some tests depend on
eal/windows: return ENOTSUP for not supported API
app/test: remove unnecessary headers
app/test: replace POSIX specific code
app/test: exclude ENOTSUP as failure
app/
Check rte_errno to exclude ENOTSUP as failures in test_memory.c
Signed-off-by: Jie Zhou
---
app/test/test_memory.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app/test/test_memory.c b/app/test/test_memory.c
index dbf6871e71..379b0f99ca 100644
--- a/app/test
ndef these two test cases, and for the
rte_log_set_level_pattern validation case following these two cases,
differentiate the expected log level passed into macro CHECK_LEVELS
Now logs_autotest completes for all dynamic log types and static log types.
Signed-off-by: Jie Zhou
---
app/test/test_
Even though test_interrupts.c can compile on Windows, skip interrupt
tests for now since majority of eal_interrupt on Windows are stubs.
Will remove the skip after interrupt being fully enabled on Windows.
Signed-off-by: Jie Zhou
---
app/test/test_interrupts.c | 10 ++
1 file changed
Remove two alarm_autotest test cases which do bogus range check
on Windows.
Signed-off-by: Jie Zhou
---
app/test/test_alarm.c | 4
1 file changed, 4 insertions(+)
diff --git a/app/test/test_alarm.c b/app/test/test_alarm.c
index b4034339b8..70e97a3109 100644
--- a/app/test/test_alarm.c
ned-off-by: Jie Zhou
---
app/test/test_cmdline_lib.c | 4
1 file changed, 4 insertions(+)
diff --git a/app/test/test_cmdline_lib.c b/app/test/test_cmdline_lib.c
index 86a5b78d70..1ff5c0d7e6 100644
--- a/app/test/test_cmdline_lib.c
+++ b/app/test/test_cmdline_lib.c
@@ -14
On Windows, strerror returns just "Unknown error" for errnum greater
than MAX_ERRNO, while linux and freebsd returns "Unknown error ",
which is the current expectation for errno_autotest. Differentiate
the error string on Windows to remove a "duplicate error code" fai
will be enabled by "patch-18949: app/test:
enable crypto unit tests on Windows".
- For dump tests, currently the tests hang on Windows which require
further investigation. Keep the dump test list just for non-Windows
for easier tracking.
Signed-off-by: Jie Zhou
---
app/test/m
- Add python script to get coremask
- Add python script to check if system supports hugepages
- Remove two corresponding .sh scripts
- Replace calling of .sh with corresponding .py in meson.build
Signed-off-by: Jie Zhou
---
app/test/get-coremask.sh | 13 -
app/test/get_coremask.py
is patch into two patches.
v5: add an API to get device configuration info.
v4: delete the whitespace at the end of the line.
v3:
- check and update the "offloads" of "port->dev_conf.rx/txmode".
- update the commit log.
v2: copy "rx/txmode.offloads", instead of co
The driver may change offloads info into dev->data->dev_conf
in dev_configure which may cause apps use outdated values.
Add a new API to get actual device configuration.
Acked-by: Andrew Rybchenko
Signed-off-by: Jie Wang
---
doc/guides/rel_notes/release_21_11.rst | 4
lib/
guration settings")
Signed-off-by: Jie Wang
---
app/test-pmd/cmdline.c | 14 ++--
app/test-pmd/testpmd.c | 48 +++---
app/test-pmd/testpmd.h | 2 ++
app/test-pmd/util.c| 14
4 files changed, 73 insertions(+), 5 deletions(-)
diff --git a/
Enable building subset of libraries that tests depend on for Windows
Signed-off-by: Jie Zhou
---
lib/meson.build | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/meson.build b/lib/meson.build
index b2ba7258d8..bd6c27deef 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -82,9
arenthesis '('
- Add back a header mistakenly deleted
---
V6 changes:
- Fix inconsistent static vs. non-static declarations
Jie Zhou (12):
lib: build libraries that some tests depend on
eal/windows: return ENOTSUP for not supported API
app/test: remove unnecessary headers
app/test: re
.
Signed-off-by: Jie Zhou
Acked-by: Dmitry Kozlyuk
---
lib/eal/windows/eal_memalloc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/eal/windows/eal_memalloc.c b/lib/eal/windows/eal_memalloc.c
index 4459d59b1a..fffdd5b976 100644
--- a/lib/eal/windows/eal_memalloc.c
Remove unnecessary header inclusion
Signed-off-by: Jie Zhou
---
app/test/commands.c | 2 --
app/test/test.c | 1 -
app/test/test_cmdline_lib.c | 1 -
3 files changed, 4 deletions(-)
diff --git a/app/test/commands.c b/app/test/commands.c
index 76f6ee5d23..82bd8bf474 100644
- Include rte_os_shim.h
- Replace sleep and usleep with rte_delay_us_sleep
- #ifndef RTE_EXEC_ENV_WINDOWS for POSIX code only
Signed-off-by: Jie Zhou
---
app/test/packet_burst_generator.c | 1 +
app/test/process.h| 4 +++-
app/test/test.c | 4
app/test
Check rte_errno to exclude ENOTSUP as failures in test_memory.c
Signed-off-by: Jie Zhou
---
app/test/test_memory.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app/test/test_memory.c b/app/test/test_memory.c
index dbf6871e71..379b0f99ca 100644
--- a/app/test
Even though test_interrupts.c can compile on Windows, skip interrupt
tests for now since majority of eal_interrupt on Windows are stubs.
Will remove the skip after interrupt being fully enabled on Windows.
Signed-off-by: Jie Zhou
---
app/test/test_interrupts.c | 10 ++
1 file changed
ned-off-by: Jie Zhou
---
app/test/test_cmdline_lib.c | 4
1 file changed, 4 insertions(+)
diff --git a/app/test/test_cmdline_lib.c b/app/test/test_cmdline_lib.c
index 86a5b78d70..1ff5c0d7e6 100644
--- a/app/test/test_cmdline_lib.c
+++ b/app/test/test_cmdline_lib.c
@@ -14
ndef these two test cases, and for the
rte_log_set_level_pattern validation case following these two cases,
differentiate the expected log level passed into macro CHECK_LEVELS
Now logs_autotest completes for all dynamic log types and static log types.
Signed-off-by: Jie Zhou
---
app/test/test_
Remove two alarm_autotest test cases which do bogus range check
on Windows.
Signed-off-by: Jie Zhou
---
app/test/test_alarm.c | 4
1 file changed, 4 insertions(+)
diff --git a/app/test/test_alarm.c b/app/test/test_alarm.c
index b4034339b8..70e97a3109 100644
--- a/app/test/test_alarm.c
On Windows, strerror returns just "Unknown error" for errnum greater
than MAX_ERRNO, while linux and freebsd returns "Unknown error ",
which is the current expectation for errno_autotest. Differentiate
the error string on Windows to remove a "duplicate error code" fai
- Add python script to get coremask
- Add python script to check if system supports hugepages
- Remove two corresponding .sh scripts
- Replace calling of .sh with corresponding .py in meson.build
Signed-off-by: Jie Zhou
---
app/test/get-coremask.sh | 13 -
app/test/get_coremask.py
will be enabled by "patch-18949: app/test:
enable crypto unit tests on Windows".
- For dump tests, currently the tests hang on Windows which require
further investigation. Keep the dump test list just for non-Windows
for easier tracking.
Signed-off-by: Jie Zhou
---
app/test/m
of
the added code.
v2:
* update the rte_flow.rst and release notes.
* update l2tpv2 header format.
Jie Wang (3):
ethdev: support PPP and L2TPV2 procotol
net/iavf: support PPPoL2TPv2oUDP RSS Hash
app/testpmd: support L2TPV2 and PPP protocol pattern
app/test-pmd/cmdline.c
Added flow pattern items and header formats of L2TPv2 and PPP to
support PPP over L2TPv2 over UDP protocol RSS Hash.
Signed-off-by: Wenjun Wu
Signed-off-by: Jie Wang
---
doc/guides/prog_guide/rte_flow.rst | 25 +++
doc/guides/rel_notes/release_21_11.rst | 5 +
lib/ethdev/rte_flow.c
-by: Jie Wang
---
drivers/net/iavf/iavf_generic_flow.c | 131 +++
drivers/net/iavf/iavf_generic_flow.h | 15 +++
drivers/net/iavf/iavf_hash.c | 108 +-
3 files changed, 252 insertions(+), 2 deletions(-)
diff --git a/drivers/net/iavf
Add support for test-pmd to parse protocol pattern L2TPv2 and PPP.
Signed-off-by: Wenjun Wu
Signed-off-by: Jie Wang
---
app/test-pmd/cmdline.c | 244 ++
app/test-pmd/cmdline_flow.c | 396
app/test-pmd/testpmd.h | 22 ++
3
the code of l2tpv2_encap.
* update the title of ethdev patch and adjust the position of
the added code.
v2:
* update the rte_flow.rst and release notes.
* update l2tpv2 header format.
Jie Wang (3):
ethdev: support PPP and L2TPV2 procotol
net/iavf: support PPPoL2TPv2oUDP RSS Hash
app
Added flow pattern items and header formats of L2TPv2 and PPP.
Signed-off-by: Wenjun Wu
Signed-off-by: Jie Wang
---
doc/guides/prog_guide/rte_flow.rst | 25 +++
doc/guides/rel_notes/release_21_11.rst | 5 +
lib/ethdev/rte_flow.c | 2 +
lib/ethdev/rte_flow.h
-by: Jie Wang
---
drivers/net/iavf/iavf_generic_flow.c | 131 +++
drivers/net/iavf/iavf_generic_flow.h | 15 +++
drivers/net/iavf/iavf_hash.c | 108 +-
3 files changed, 252 insertions(+), 2 deletions(-)
diff --git a/drivers/net/iavf
Add support for test-pmd to parse protocol pattern L2TPv2 and PPP.
Signed-off-by: Wenjun Wu
Signed-off-by: Jie Wang
---
app/test-pmd/cmdline_flow.c | 251
1 file changed, 251 insertions(+)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd
header fields value.
* add the code of l2tpv2_encap.
* update the title of ethdev patch and adjust the position of
the added code.
v2:
* update the rte_flow.rst and release notes.
* update l2tpv2 header format.
Jie Wang (3):
ethdev: support PPP and L2TPV2 procotol
net/iavf: support
Added flow pattern items and header formats of L2TPv2 and PPP.
Signed-off-by: Wenjun Wu
Signed-off-by: Jie Wang
---
doc/guides/prog_guide/rte_flow.rst | 25 +++
doc/guides/rel_notes/release_21_11.rst | 4 +
lib/ethdev/rte_flow.c | 2 +
lib/ethdev/rte_flow.h
-by: Jie Wang
---
drivers/net/iavf/iavf_generic_flow.c | 131 +++
drivers/net/iavf/iavf_generic_flow.h | 15 +++
drivers/net/iavf/iavf_hash.c | 108 +-
3 files changed, 252 insertions(+), 2 deletions(-)
diff --git a/drivers/net/iavf
Add support for test-pmd to parse protocol pattern L2TPv2 and PPP.
Signed-off-by: Wenjun Wu
Signed-off-by: Jie Wang
---
app/test-pmd/cmdline_flow.c | 251
1 file changed, 251 insertions(+)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd
code.
v2:
* update the rte_flow.rst and release notes.
* update l2tpv2 header format.
Jie Wang (3):
ethdev: support PPP and L2TPV2 procotol
net/iavf: support PPPoL2TPv2oUDP RSS Hash
app/testpmd: support L2TPV2 and PPP protocol pattern
app/test-pmd/cmdline_flow.c | 251
Added flow pattern items and header formats of L2TPv2 and PPP.
Signed-off-by: Wenjun Wu
Signed-off-by: Jie Wang
---
doc/api/doxy-api-index.md | 2 +
doc/guides/prog_guide/rte_flow.rst | 25 +++
doc/guides/rel_notes/release_21_11.rst | 5 +
doc/guides
-by: Jie Wang
---
drivers/net/iavf/iavf_generic_flow.c | 131 +++
drivers/net/iavf/iavf_generic_flow.h | 15 +++
drivers/net/iavf/iavf_hash.c | 108 +-
3 files changed, 252 insertions(+), 2 deletions(-)
diff --git a/drivers/net/iavf
Add support for test-pmd to parse protocol pattern L2TPv2 and PPP.
Signed-off-by: Wenjun Wu
Signed-off-by: Jie Wang
---
app/test-pmd/cmdline_flow.c | 251
1 file changed, 251 insertions(+)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd
P and keep behavior if it is the old version DDP.
v2: rebase and optimize the API function
Signed-off-by: Jie Wang
---
drivers/net/ice/base/ice_flow.c | 16 ++-
drivers/net/ice/base/ice_parser.c| 35
drivers/net/ice/base/ice_parser.h| 2 ++
d
ethdev patch and adjust the position of
the added code.
v2:
* update the rte_flow.rst and release notes.
* update l2tpv2 header format.
Jie Wang (3):
ethdev: support L2TPv2 and PPP procotol
net/iavf: support PPPoL2TPv2oUDP RSS Hash
app/testpmd: support L2TPv2 and PPP protocol pattern
app
Added flow pattern items and header formats of L2TPv2 and PPP.
Signed-off-by: Wenjun Wu
Signed-off-by: Jie Wang
---
doc/api/doxy-api-index.md | 2 +
doc/guides/nics/features/default.ini | 2 +
doc/guides/nics/features/iavf.ini | 2 +
doc/guides/prog_guide/rte_flow.rst
: Wenjun Wu
Signed-off-by: Jie Wang
---
doc/guides/rel_notes/release_21_11.rst | 1 +
drivers/net/iavf/iavf_generic_flow.c | 131 +
drivers/net/iavf/iavf_generic_flow.h | 15 +++
drivers/net/iavf/iavf_hash.c | 108 +++-
4 files changed, 253
Add support for test-pmd to parse protocol pattern L2TPv2 and PPP.
Signed-off-by: Wenjun Wu
Signed-off-by: Jie Wang
---
app/test-pmd/cmdline_flow.c | 251
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 28 +++
2 files changed, 279 insertions(+)
diff --git
tpmd match PPP and L2TPv2 protocol header fields value.
* add the code of l2tpv2_encap.
* update the title of ethdev patch and adjust the position of
the added code.
v2:
* update the rte_flow.rst and release notes.
* update l2tpv2 header format.
Jie Wang (3):
ethdev: support L2TPv2 and PP
Added flow pattern items and header formats of L2TPv2 and PPP.
Acked-by: Ori Kam
Signed-off-by: Wenjun Wu
Signed-off-by: Jie Wang
---
doc/api/doxy-api-index.md | 2 +
doc/guides/nics/features/default.ini | 2 +
doc/guides/prog_guide/rte_flow.rst | 25 +++
doc/guides
: Wenjun Wu
Signed-off-by: Jie Wang
---
doc/guides/nics/features/iavf.ini | 2 +
doc/guides/rel_notes/release_21_11.rst | 1 +
drivers/net/iavf/iavf_generic_flow.c | 131 +
drivers/net/iavf/iavf_generic_flow.h | 15 +++
drivers/net/iavf/iavf_hash.c
Add support for test-pmd to parse protocol pattern L2TPv2 and PPP.
Signed-off-by: Wenjun Wu
Signed-off-by: Jie Wang
---
app/test-pmd/cmdline_flow.c | 251
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 28 +++
2 files changed, 279 insertions(+)
diff --git
ase notes.
* update l2tpv2 header format.
Jie Wang (3):
ethdev: support L2TPv2 and PPP procotol
net/iavf: support PPPoL2TPv2oUDP RSS Hash
app/testpmd: support L2TPv2 and PPP protocol pattern
app/test-pmd/cmdline_flow.c | 251
doc/api/doxy-api-index.md
Added flow pattern items and header formats of L2TPv2 and PPP.
Signed-off-by: Wenjun Wu
Signed-off-by: Jie Wang
Acked-by: Ori Kam
Acked-by: Andrew Rybchenko
---
doc/api/doxy-api-index.md | 2 +
doc/guides/nics/features/default.ini | 2 +
doc/guides/prog_guide/rte_flow.rst
-by: Jie Wang
Acked-by: Beilei Xing
---
doc/guides/nics/features/iavf.ini | 2 +
doc/guides/rel_notes/release_21_11.rst | 1 +
drivers/net/iavf/iavf_generic_flow.c | 131 +
drivers/net/iavf/iavf_generic_flow.h | 15 +++
drivers/net/iavf/iavf_hash.c
Add support for test-pmd to parse protocol pattern L2TPv2 and PPP.
Signed-off-by: Wenjun Wu
Signed-off-by: Jie Wang
---
app/test-pmd/cmdline_flow.c | 251
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 28 +++
2 files changed, 279 insertions(+)
diff --git
On Mon, Oct 25, 2021 at 05:38:42PM +0200, Thomas Monjalon wrote:
> 14/10/2021 18:21, Jie Zhou:
> > Enable building subset of libraries that tests depend on for Windows
> >
> > Signed-off-by: Jie Zhou
> > ---
> > lib/meson.build | 2 ++
> > 1 file changed
Remove unnecessary header inclusion
Signed-off-by: Jie Zhou
---
app/test/commands.c | 2 --
app/test/test.c | 1 -
app/test/test_cmdline_lib.c | 1 -
3 files changed, 4 deletions(-)
diff --git a/app/test/commands.c b/app/test/commands.c
index 76f6ee5d23..82bd8bf474 100644
.
Signed-off-by: Jie Zhou
Acked-by: Dmitry Kozlyuk
---
lib/eal/windows/eal_memalloc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/eal/windows/eal_memalloc.c b/lib/eal/windows/eal_memalloc.c
index 55d6dcc71c..aa7589b81d 100644
--- a/lib/eal/windows
Check rte_errno to exclude ENOTSUP as failures in test_memory.c
Signed-off-by: Jie Zhou
---
app/test/test_memory.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app/test/test_memory.c b/app/test/test_memory.c
index dbf6871e71..379b0f99ca 100644
--- a/app/test
e
patches after this patch set.
Jie Zhou (11):
eal/windows: return ENOTSUP for not supported API
app/test: remove unnecessary headers
app/test: replace POSIX specific code
app/test: exclude ENOTSUP as failure
app/test: skip interrupt tests on Windows
app/test: temporarily "sk
- Include rte_os_shim.h
- Replace sleep and usleep with rte_delay_us_sleep
- #ifndef RTE_EXEC_ENV_WINDOWS for POSIX code only
Signed-off-by: Jie Zhou
---
app/test/packet_burst_generator.c | 1 +
app/test/process.h| 4 +++-
app/test/test.c | 4
app/test
ned-off-by: Jie Zhou
---
app/test/test_cmdline_lib.c | 4
1 file changed, 4 insertions(+)
diff --git a/app/test/test_cmdline_lib.c b/app/test/test_cmdline_lib.c
index 4715edc341..eb54ef06d7 100644
--- a/app/test/test_cmdline_lib.c
+++ b/app/test/test_cmdline_lib.c
@@ -14
- Add python script to check if system supports hugepages
- Remove corresponding .sh scripts
- Replace calling of .sh with corresponding .py in meson.build
Signed-off-by: Jie Zhou
---
app/test/has-hugepage.sh | 11 ---
app/test/has_hugepage.py | 25 +
app/test
Even though test_interrupts.c can compile on Windows, skip interrupt
tests for now since majority of eal_interrupt on Windows are stubs.
Will remove the skip after interrupt being fully enabled on Windows.
Signed-off-by: Jie Zhou
---
app/test/test_interrupts.c | 10 ++
1 file changed
Remove two alarm_autotest test cases which do bogus range check
on Windows.
Signed-off-by: Jie Zhou
---
app/test/test_alarm.c | 4
1 file changed, 4 insertions(+)
diff --git a/app/test/test_alarm.c b/app/test/test_alarm.c
index b4034339b8..70e97a3109 100644
--- a/app/test/test_alarm.c
401 - 500 of 1402 matches
Mail list logo