Multi-core scheduling mode is a mode where scheduler distributes
crypto operations in a round-robin base, between several core
assigned as workers.
Signed-off-by: Kirill Rybalchenko
---
Changes in v3:
- Rebased against dpdk-next-crypto
- Fixed op status check in the reordering ring dequeuing
Crypto operation status RTE_CRYPTO_OP_STATUS_ENQUEUED is removed
from rte_crypto.h as it is not needed for crypto operation processing.
This status value is redundant to RTE_CRYPTO_OP_STATUS_NOT_PROCESSED value
and it was not intended to be part of public API.
Signed-off-by: Kirill Rybalchenko
buffer, scheduler clears this bit, so the application gets
unmodified status from crypto pmd.
Fixes: 4c07e0552f0a ("crypto/scheduler: add multicore scheduling mode")
Signed-off-by: Kirill Rybalchenko
---
drivers/crypto/scheduler/scheduler_multicore.c | 94 ++--
Done more clear explanation of usage of corelist parameter.
Signed-off-by: Kirill Rybalchenko
---
doc/guides/cryptodevs/scheduler.rst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/doc/guides/cryptodevs/scheduler.rst
b/doc/guides/cryptodevs/scheduler.rst
index f3ee88a..3ba0188 100644
Flag dev_started should be cleared after dev_stop() function call
because the flag is checked inside the dev_stop() function.
Fixes: d11b0f30df88 ("cryptodev: introduce API and framework for crypto
devices")
Cc: sta...@dpdk.org
Signed-off-by: Kirill Rybalchenko
---
lib/librte
ned-off-by: Kirill Rybalchenko
---
app/test-crypto-perf/main.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/app/test-crypto-perf/main.c b/app/test-crypto-perf/main.c
index 9ec2a4b..d4bbbef 100644
--- a/app/test-crypto-perf/main.c
+++ b/app/test-crypto-perf/main.c
@@ -395
Call of rte_cryptodev_stop() function from test destructors is added.
Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application")
Cc: sta...@dpdk.org
Signed-off-by: Kirill Rybalchenko
---
app/test-crypto-perf/cperf_test_latency.c| 3 ++-
app/test-c
for cloud filter")
Cc: sta...@dpdk.org
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Andrey Chilikin
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 3 ++-
drivers/net/i40e/base/i40e_common.c | 9 +
2 files changed, 11 insertions(+), 1 de
mode")
Signed-off-by: Kirill Rybalchenko
---
drivers/crypto/scheduler/scheduler_multicore.c | 28 ++
1 file changed, 20 insertions(+), 8 deletions(-)
diff --git a/drivers/crypto/scheduler/scheduler_multicore.c
b/drivers/crypto/scheduler/scheduler_multicore.c
index b2ce44
In strlcpy function parameters there was no allowance for
null terminator, so ip address was copied without last character.
Fixes: ae943ebe1ed3 ("examples/ipsec-secgw: replace strncpy with strlcpy")
Signed-off-by: Kirill Rybalchenko
---
examples/ipsec-secgw/parser.c | 9 +--
")
Cc: sta...@dpdk.org
v2:
Rebase to head of dpdk-dev master branch
Signed-off-by: Kirill Rybalchenko
---
drivers/crypto/scheduler/scheduler_multicore.c | 28 ++
1 file changed, 20 insertions(+), 8 deletions(-)
diff --git a/drivers/crypto/scheduler/scheduler_mult
uling mode")
Cc: sta...@dpdk.org
Signed-off-by: Kirill Rybalchenko
---
drivers/crypto/scheduler/rte_cryptodev_scheduler.h | 2 +-
drivers/crypto/scheduler/scheduler_multicore.c | 4 +-
drivers/crypto/scheduler/scheduler_pmd.c | 68 +-
drivers/c
New default configuration without flexible payload
is implemented now.
Fixes: 09dd01ad9a68 ("doc: announce behaviour change to i40e RSS")
Cc: sta...@dpdk.org
Signed-off-by: Kirill Rybalchenko
---
doc/guides/rel_notes/deprecation.rst | 6 --
1 file changed, 6 deletions(-)
diff -
be reset if payload is disabled or on port reset
(uninit).
v2:
dev_init and dev_close disable flexible payload by default.
Flexible payload enabled selectively, only if appropriate
PIT is set up. The same done for FDIR and for rte_flow API.
v3:
Minor fix in comments.
Signed-off-by: Kirill
Signed-off-by: Kirill Rybalchenko
---
doc/guides/rel_notes/deprecation.rst | 6 ++
1 file changed, 6 insertions(+)
diff --git a/doc/guides/rel_notes/deprecation.rst
b/doc/guides/rel_notes/deprecation.rst
index 13e8543..f0589ea 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc
Signed-off-by: Kirill Rybalchenko
Acked-by: Marko Kovacevic
---
doc/guides/rel_notes/deprecation.rst | 6 ++
1 file changed, 6 insertions(+)
diff --git a/doc/guides/rel_notes/deprecation.rst
b/doc/guides/rel_notes/deprecation.rst
index 13e8543..f0589ea 100644
--- a/doc/guides/rel_notes
Signed-off-by: Kirill Rybalchenko
Acked-by: Marko Kovacevic
---
doc/guides/rel_notes/deprecation.rst | 6 ++
1 file changed, 6 insertions(+)
diff --git a/doc/guides/rel_notes/deprecation.rst
b/doc/guides/rel_notes/deprecation.rst
index 13e8543..aaf306a 100644
--- a/doc/guides/rel_notes
affects the following components:
net/i40e
net/ixgbe
app/testpmd
v2:
implement versioning of rte_eth_dev_filter_ctrl function
for ABI backward compatibility with version 17.11 and older
Signed-off-by: Kirill Rybalchenko
---
app/test-pmd/cmdline.c | 22 ++---
drivers/net/i40e
affects the following components:
net/i40e
net/ixgbe
app/testpmd
v2:
implement versioning of rte_eth_dev_filter_ctrl function
for ABI backward compatibility with version 17.11 and older
v3:
fix code style warnings
Signed-off-by: Kirill Rybalchenko
---
app/test-pmd/cmdline.c | 22
Implement dynamic mapping of software flow types to hardware pctypes.
This allows to map new flow types to pctypes without changing
API of the driver.
Kirill Rybalchenko (5):
app/testpmd: add new commands to manipulate with pctype mapping
net/i40e: add function to initialize pctype mapping
Add new function i40e_set_default_pctype_table() to
initialize flow type to pctype dynamic mapping table
with default values.
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/i40e_rxtx.c | 57
drivers/net/i40e/i40e_rxtx.h | 1 +
2 files
Add new functions which allow modify, return or reset to default
the contents of flow type to pctype dynamic mapping table.
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/rte_pmd_i40e.c | 98 +
drivers/net/i40e/rte_pmd_i40e.h | 60
Add new commands to manipulate with dynamic flow type to
pctype mapping table in i40e PMD.
Commands allow to print table, modify it and reset to default value.
Signed-off-by: Kirill Rybalchenko
---
app/test-pmd/cmdline.c | 263 +
1 file changed
-by: Kirill Rybalchenko
---
drivers/net/i40e/i40e_fdir.c | 10 +-
drivers/net/i40e/i40e_flow.c | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/net/i40e/i40e_fdir.c b/drivers/net/i40e/i40e_fdir.c
index 8013add..7515941 100644
--- a/drivers/net/i40e/i40e_fdir.c
functions.
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/i40e_ethdev.c| 313 +-
drivers/net/i40e/i40e_ethdev.h| 16 +-
drivers/net/i40e/i40e_ethdev_vf.c | 36 ++---
3 files changed, 98 insertions(+), 267 deletions(-)
diff --git a/drivers/net
For complex packets use raw flow type with pre-constructed packet buffer
instead of creating a packet internally in PMD.
Kirill Rybalchenko (2):
ethdev: add support for raw flow type for flow director
net/i40e: add support for raw flow type for flow director
drivers/net/i40e/i40e_fdir.c
When addidng flow director filter for raw flow type, instead
of constructing packet use buffer with pre-constructed packet.
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/i40e_fdir.c | 27 +++
1 file changed, 19 insertions(+), 8 deletions(-)
diff --git a/drivers
Add new structure rte_eth_raw_flow to the union rte_eth_fdir_flow
to support filter for raw flow type
Signed-off-by: Kirill Rybalchenko
---
lib/librte_ether/rte_eth_ctrl.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether
This patch adds new package info types to get list of protocols,
pctypes and ptypes defined in a profile
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/rte_pmd_i40e.c | 155
drivers/net/i40e/rte_pmd_i40e.h | 25 +++
2 files changed, 180
This patch adds ability to request information about protocols defined in
dynamic
device personalization profile
Kirill Rybalchenko (2):
net/i40e: get information about protocols defined in ddp profile
app/testpmd: get information about protocols defined in ddp profile
app/test-pmd
Update 'ddp get info' command to display protocols defined in a profile
Signed-off-by: Kirill Rybalchenko
---
app/test-pmd/cmdline.c | 94 +-
1 file changed, 93 insertions(+), 1 deletion(-)
diff --git a/app/test-pmd/cmdline.c b/ap
flow types and pctypes.
Kirill Rybalchenko (4):
net/i40e: implement dynamic mapping of sw flow types to hw pctypes
net/i40e: add new functions to manipulate with pctype mapping table
app/testpmd: add new commands to manipulate with pctype mapping
ethdev: remove unnecessary check for new
functions.
Signed-off-by: Kirill Rybalchenko
---
v2
Re-arrange patchset to avoid compillation errors.
Remove usage of statically defined flow types and pctypes.
---
drivers/net/i40e/i40e_ethdev.c| 347 ++
drivers/net/i40e/i40e_ethdev.h| 16 +-
drivers
Add new functions which allow modify, return or reset to default
the contents of flow type to pctype dynamic mapping table.
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/rte_pmd_i40e.c | 98 +
drivers/net/i40e/rte_pmd_i40e.h | 61
Add new commands to manipulate with dynamic flow type to
pctype mapping table in i40e PMD.
Commands allow to print table, modify it and reset to default value.
Signed-off-by: Kirill Rybalchenko
---
app/test-pmd/cmdline.c | 311 +++-
doc/guides
Remove unnecessary check for new flow type for rss hash
filter update.
Signed-off-by: Kirill Rybalchenko
---
lib/librte_ether/rte_ethdev.c | 8
1 file changed, 8 deletions(-)
diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c
index 0597641..c470997 100644
--- a
This patch adds ability to request information about protocols defined in
dynamic
device personalization profile
v2:
Some code style warnings were removed
Kirill Rybalchenko (2):
net/i40e: get information about protocols defined in ddp profile
app/testpmd: get information about protocols
This patch adds new package info types to get list of protocols,
pctypes and ptypes defined in a profile
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/rte_pmd_i40e.c | 167
drivers/net/i40e/rte_pmd_i40e.h | 25 ++
2 files changed, 192
Update 'ddp get info' command to display protocols defined in a profile
Signed-off-by: Kirill Rybalchenko
---
app/test-pmd/cmdline.c | 98 +-
1 file changed, 97 insertions(+), 1 deletion(-)
diff --git a/app/test-pmd/cmdline.c b/ap
Port info command prints information about all supported flow types,
including dynamically mapped ones.
Signed-off-by: Kirill Rybalchenko
---
app/test-pmd/config.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index
This patch adds ability to request information about protocols defined in
dynamic
device personalization profile
v2:
Some code style warnings were removed
v3:
info_size parameter always represents size of the info buffer in bytes;
fix code style;
Kirill Rybalchenko (2):
net/i40e: get
This patch adds new package info types to get list of protocols,
pctypes and ptypes defined in a profile
---
v3
info_size parameter always represents size of the info
buffer in bytes
---
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/rte_pmd_i40e.c | 171
Update 'ddp get info' command to display protocols defined in a profile
---
v3
Fix code style
Signed-off-by: Kirill Rybalchenko
---
app/test-pmd/cmdline.c | 107 -
1 file changed, 106 insertions(+), 1 deletion(-)
diff --git a/ap
This patch adds ability to request information about protocols defined in
dynamic
device personalization profile
v2:
Some code style warnings were removed
v3:
info_size parameter always represents size of the info buffer in bytes;
fix code style;
v4:
anothe code style fixes
Kirill Rybalchenko
This patch adds new package info types to get list of protocols,
pctypes and ptypes defined in a profile
---
v3
info_size parameter always represents size of the info buffer in bytes
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/rte_pmd_i40e.c | 171
Update 'ddp get info' command to display protocols defined in a profile
Signed-off-by: Kirill Rybalchenko
---
app/test-pmd/cmdline.c | 111 -
1 file changed, 110 insertions(+), 1 deletion(-)
diff --git a/app/test-pmd/cmdline.c b/ap
buff_size parameter in rte_pmd_i40e_get_ddp_info function call
always represents buffer size in bytes
Kirill Rybalchenko (2):
net/i40e: get information about protocols defined in ddp profile
app/testpmd: get information about protocols defined in ddp profile
app/test-pmd/cmdline.c
This patch adds new package info types to get list of protocols,
pctypes and ptypes defined in a profile
---
v3
info_size parameter always represents size of the info buffer in bytes
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/rte_pmd_i40e.c | 171
Update 'ddp get info' command to display protocols defined in a profile
v5:
buff_size parameter in rte_pmd_i40e_get_ddp_info function call
always represents buffer size in bytes
Signed-off-by: Kirill Rybalchenko
---
app/test-pmd/cmdli
When addidng flow director filter for raw flow type, instead
of constructing packet use buffer with pre-constructed packet.
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/i40e_fdir.c | 31 +++
1 file changed, 23 insertions(+), 8 deletions(-)
diff --git a
Add new structure rte_eth_raw_flow to the union rte_eth_fdir_flow
to support filter for raw flow type
Signed-off-by: Kirill Rybalchenko
---
lib/librte_ether/rte_eth_ctrl.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether
For complex packets use raw flow type with pre-constructed packet buffer
instead of creating a packet internally in PMD.
v2:
Fixed code style, comment added
Kirill Rybalchenko (2):
ethdev: add support for raw flow type for flow director
net/i40e: add support for raw flow type for flow
rte_pmd_i40e_flow_type_mapping_get returns now full mapping table.
testpmd: changed command syntax from 'pctype mapping...' to
'port config pctype mapping...' and 'show port pctype mapping'
Various small modifications in code style after reviewing.
Kirill Rybalchenko (6):
net/i40e: remove unneces
Add new definition in enum i40e_filter_pctype for
for invalid pctype
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/base/i40e_type.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/base/i40e_type.h
b/drivers/net/i40e/base/i40e_type.h
index
Remove unnecessary bit operations in I40E_PFQF_HENA
and I40E_VFQF_HENA registers
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/i40e_ethdev.c| 21 +++--
drivers/net/i40e/i40e_ethdev_vf.c | 22 --
2 files changed, 7 insertions(+), 36 deletions
Add new functions which allow modify, return or reset to default
the contents of flow type to pctype dynamic mapping table.
v3:
function rte_pmd_i40e_flow_type_mapping_get returns now full
mapping table.
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/rte_pmd_i40e.c | 90
.
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/i40e_ethdev.c| 343 --
drivers/net/i40e/i40e_ethdev.h| 17 +-
drivers/net/i40e/i40e_ethdev_vf.c | 16 +-
drivers/net/i40e/i40e_fdir.c | 54 +++---
drivers/net/i40e/i40e_flow.c | 5
e mapping'
Signed-off-by: Kirill Rybalchenko
---
app/test-pmd/cmdline.c | 335 +++-
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 46
drivers/net/i40e/rte_pmd_i40e_version.map | 2 +-
3 files changed, 372 insertions(+), 11 deletions(-)
diff
Remove unnecessary check for new flow type for rss hash
filter update.
Signed-off-by: Kirill Rybalchenko
---
lib/librte_ether/rte_ethdev.c | 8
1 file changed, 8 deletions(-)
diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c
index a88916f..d2279b7 100644
--- a
Port info command prints information about all supported flow types,
including dynamically mapped ones.
Signed-off-by: Kirill Rybalchenko
Reviewed-by: Jingjing Wu
---
app/test-pmd/config.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/app/test-pmd/config.c b/app
buff_size parameter in rte_pmd_i40e_get_ddp_info function call
always represents buffer size in bytes
v6:
fix bug with wrong usage of buff_size parameter
Kirill Rybalchenko (2):
net/i40e: get information about protocols defined in ddp profile
app/testpmd: get information about protocols defined
This patch adds new package info types to get list of protocols,
pctypes and ptypes defined in a profile
---
v3
info_size parameter always represents size of the info buffer in bytes
v6
fix bug with wrong usage of info_size parameter
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e
Update 'ddp get info' command to display protocols defined in a profile
v5
buff_size parameter in rte_pmd_i40e_get_ddp_info function call
always represents buffer size in bytes
v6
fix bug with wrong usage of buff_size parameter
Signed-off-by: Kirill Rybalchenko
---
app/test-pmd
variable
for zero value
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/rte_pmd_i40e.c | 172
drivers/net/i40e/rte_pmd_i40e.h | 25 ++
2 files changed, 197 insertions(+)
diff --git a/drivers/net/i40e/rte_pmd_i40e.c b/drivers/net/i40e
buff_size parameter in rte_pmd_i40e_get_ddp_info function call
always represents buffer size in bytes
v6:
fix bug with wrong usage of buff_size parameter
v7:
change misleading variable names, change order of checking variable
for zero value
Kirill Rybalchenko (2):
net/i40e: get information about
Update 'ddp get info' command to display protocols defined in a profile
v5
buff_size parameter in rte_pmd_i40e_get_ddp_info function call
always represents buffer size in bytes
v6
fix bug with wrong usage of buff_size parameter
Signed-off-by: Kirill Rybalchenko
---
app/test-pmd
Remove unnecessary bit operations in I40E_PFQF_HENA
and I40E_VFQF_HENA registers
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/i40e_ethdev.c| 21 +++--
drivers/net/i40e/i40e_ethdev_vf.c | 22 --
2 files changed, 7 insertions(+), 36 deletions
Move declaration of automatic variables to beginning of function.
Move declaration of I40E_FILTER_PCTYPE_INVALID to i40e_ethdev.h
Fix some typos in source filea and documentation.
Kirill Rybalchenko (5):
net/i40e: remove unnecessary bit operations
net/i40e: implement dynamic mapping of sw flow
:
Change prototypes of some static functions.
Move declaration of automatic variables to beginning of function.
Move declaration of I40E_FILTER_PCTYPE_INVALID to i40e_ethdev.h
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/i40e_ethdev.c| 344
apping'
v4:
Fix typos in cmdline.c and documentation.
Move variable declaration to the beginning of function.
Signed-off-by: Kirill Rybalchenko
---
app/test-pmd/cmdline.c | 336 +++-
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 46
2 files
Remove unnecessary check for new flow type for rss hash
filter update.
Signed-off-by: Kirill Rybalchenko
---
lib/librte_ether/rte_ethdev.c | 8
1 file changed, 8 deletions(-)
diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c
index 1849a3b..f3bf3e5 100644
--- a
Add new functions which allow modify, return or reset to default
the contents of flow type to pctype dynamic mapping table.
v3:
Function rte_pmd_i40e_flow_type_mapping_get returns now full
mapping table.
v4:
Fix typo in rte_pmd_i40e_version.map file.
Signed-off-by: Kirill Rybalchenko
Move declaration of automatic variables to beginning of function.
Move declaration of I40E_FILTER_PCTYPE_INVALID to i40e_ethdev.h
Fix some typos in source filea and documentation.
v5:
Fix code style warnings and documentation.
No functional changes.
Reviewed-by: Ferruh Yigit
Kirill Rybalchenko (5):
Remove unnecessary bit operations in I40E_PFQF_HENA
and I40E_VFQF_HENA registers.
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/i40e_ethdev.c| 21 +++--
drivers/net/i40e/i40e_ethdev_vf.c | 22 --
2 files changed, 7 insertions(+), 36 deletions
:
Change prototypes of some static functions.
Move declaration of automatic variables to beginning of function.
Move declaration of I40E_FILTER_PCTYPE_INVALID to i40e_ethdev.h
v5:
Fix code style warnings.
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/i40e_ethdev.c| 347
: Kirill Rybalchenko
---
drivers/net/i40e/rte_pmd_i40e.c | 94 +++
drivers/net/i40e/rte_pmd_i40e.h | 55 ++
drivers/net/i40e/rte_pmd_i40e_version.map | 3 +
3 files changed, 152 insertions(+)
diff --git a/drivers/net/i40e
apping'
v4:
Fix typos in cmdline.c and documentation.
Move variable declaration to the beginning of function.
v5:
Fix code style warnings and documentation.
Signed-off-by: Kirill Rybalchenko
---
app/test-pmd/cmdline.c | 338 +++-
doc/guides/te
Remove unnecessary check for new flow type for rss hash
filter update.
Signed-off-by: Kirill Rybalchenko
---
lib/librte_ether/rte_ethdev.c | 8
1 file changed, 8 deletions(-)
diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c
index 1849a3b..f3bf3e5 100644
--- a
variable
for zero value
v8
Fix code style warnings.
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/rte_pmd_i40e.c | 171
drivers/net/i40e/rte_pmd_i40e.h | 25 ++
2 files changed, 196 insertions(+)
diff --git a/drivers/net/i40e
Update 'ddp get info' command to display protocols defined in a profile
v5
buff_size parameter in rte_pmd_i40e_get_ddp_info function call
always represents buffer size in bytes
v6
fix bug with wrong usage of buff_size parameter
v8
Fix code style warnings.
Signed-off-by: Kirill R
buff_size parameter in rte_pmd_i40e_get_ddp_info function call
always represents buffer size in bytes
v6:
fix bug with wrong usage of buff_size parameter
v7:
change misleading variable names, change order of checking variable
for zero value
v8:
Fix code style warnings.
Kirill Rybalchenko (2
Add new structure rte_eth_raw_flow to the union rte_eth_fdir_flow
to support filter for raw flow type.
Signed-off-by: Kirill Rybalchenko
---
lib/librte_ether/rte_eth_ctrl.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether
For complex packets use raw flow type with pre-constructed packet buffer
instead of creating a packet internally in PMD.
v2:
Fixed code style, comment added
v3:
Merged with dunamic pctype to flow type mapping patch.
Added raw fode to flow_director_filter command in testpmd.
Kirill Rybalchenko
v3:
Add raw flow type support to flow_director_filter command
Signed-off-by: Kirill Rybalchenko
---
app/test-pmd/cmdline.c | 69 +++---
1 file changed, 66 insertions(+), 3 deletions(-)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
When addidng flow director filter for raw flow type, instead
of constructing packet use buffer with pre-constructed packet.
v3:
Merge with dynamic pctype to flow type mapping patch.
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/i40e_fdir.c | 25 -
1 file
v3:
Add description of raw flow type mode for flow_director_filter
command in testpmd.
Signed-off-by: Kirill Rybalchenko
---
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4
1 file changed, 4 insertions(+)
diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst
b/doc/guides
Precompiler instructions #ifdef RTE_LIBRTE_I40E_PMD ... #endif
were not placed correctly, which caused number of
compilation errors if I40E PMD is disabled.
Fixes: 5a4806d304e0 ("app/testpmd: support updating pctype mapping")
Signed-off-by: Kirill Rybalchenko
---
app/test-pmd/cmd
unnecessary parameters from flow_director_filter command
in testpmd for raw flow type mode.
Modify testpmd documentation accordingly.
Kirill Rybalchenko (4):
ethdev: add support for raw flow type for flow director
net/i40e: add support for raw flow type for flow director
app/testpmd: add raw flow
When addidng flow director filter for raw flow type, instead
of constructing packet use buffer with pre-constructed packet.
v3:
Merge with dynamic pctype to flow type mapping patch.
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/i40e_fdir.c | 25 -
1 file
v3:
Add raw flow type support to flow_director_filter command
v4:
Remove unnecessary flexbytes parameter for raw flow type flow
director.
Add possibility for arbitrary flow type for set_fdir_input_set
and set_hash_global_config commands.
Signed-off-by: Kirill Rybalchenko
---
app/test-pmd
v3:
Add description of raw flow type mode for flow_director_filter
command in testpmd.
v4:
Fix documentation of flow_director_filter command in testpmd
according to modified parameters.
Signed-off-by: Kirill Rybalchenko
---
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 18 +-
1
Add new structure rte_eth_raw_flow to the union rte_eth_fdir_flow
to support filter for raw flow type.
Signed-off-by: Kirill Rybalchenko
---
lib/librte_ether/rte_eth_ctrl.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether
v3:
Add raw flow type support to flow_director_filter command
v4:
Remove unnecessary flexbytes parameter for raw flow type flow
director.
Add possibility for arbitrary flow type for set_fdir_input_set
and set_hash_global_config commands.
Signed-off-by: Kirill Rybalchenko
---
app/test-pmd
When addidng flow director filter for raw flow type, instead
of constructing packet use buffer with pre-constructed packet.
v3:
Merge with dynamic pctype to flow type mapping patch.
v5:
Fix code style warning.
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/i40e_fdir.c | 26
Add new structure rte_eth_raw_flow to the union rte_eth_fdir_flow
to support filter for raw flow type.
Signed-off-by: Kirill Rybalchenko
---
lib/librte_ether/rte_eth_ctrl.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether
unnecessary parameters from flow_director_filter command
in testpmd for raw flow type mode.
Modify testpmd documentation accordingly.
v5:
Fix code style warning.
Kirill Rybalchenko (4):
ethdev: add support for raw flow type for flow director
net/i40e: add support for raw flow type for flow
v3:
Add description of raw flow type mode for flow_director_filter
command in testpmd.
v4:
Fix documentation of flow_director_filter command in testpmd
according to modified parameters.
Signed-off-by: Kirill Rybalchenko
---
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 18 +-
1
For complex packets use raw flow type with pre-constructed packet buffer
instead of creating a packet internally in PMD.
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/i40e_ethdev.h| 9 +
drivers/net/i40e/i40e_fdir.c | 56
num parameter for strncpy() function should be smaller than
actual destination buffer size to allow null termination.
Fixes: 40d1324423a4 ("net/i40e: get ddp profile protocol info")
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/rte_pmd_i40e.c | 2 +-
1 file changed, 1 inser
Use more secure snprintf function instead of strncpy
to prevent memory access violation.
Fixes: 40d1324423a4 ("net/i40e: get ddp profile protocol info")
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/rte_pmd_i40e.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
di
1 - 100 of 118 matches
Mail list logo