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
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
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
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
For complex packets use raw flow type with pre-constructed packet buffer
instead of creating a packet internally in PMD.
v2:
Fix documentation according to doxygen style comments.
Fix compilation warnings for clang target.
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/i40e_ethdev.h
Fix potential memory leak in cmd_ddp_info_parsed() function.
Fixes: a8e005696c7b ("app/testpmd: get ddp profile protocol info")
Signed-off-by: Kirill Rybalchenko
---
app/test-pmd/cmdline.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/app/test-pmd/cmdli
Add possibility to load file with raw packet and set it
as a template for flow director filter setup.
Kirill Rybalchenko (2):
app/testpmd: add raw flowtype mode for flow director filter
doc: add description of raw mode in flow director in testpmd
app/test-pmd/cmdline.c
Add description of raw flow type mode for flow_director_filter
command in testpmd. Modify description of flow type parameter
for functions set_hash_global_config, set_hash_input_set and
set_fdir_input_set
Signed-off-by: Kirill Rybalchenko
---
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 24
Add possibility to load file with raw packet and set it
as a template for flow director filter setup.
Signed-off-by: Kirill Rybalchenko
---
app/test-pmd/cmdline.c | 116 -
app/test-pmd/config.c | 8 ++--
app/test-pmd/testpmd.h | 6 +--
3
affects the following components:
net/i40e
net/enic
net/mlx5
net/ixgbe
app/testpmd
Signed-off-by: Kirill Rybalchenko
---
app/test-pmd/cmdline.c | 22 +++---
drivers/net/enic/enic_clsf.c| 6 +-
drivers/net/i40e/i40e_ethdev.c | 38
outer IP Destination address
for RSS/FDIR for tunnelled packets, as flexible payload
overwrites outer IP destination address on the field vector.
Now flexible payload turned on only when flow director is
enabled and configured.
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/i40e_ethdev.c
be reset if payload is disabled or on port reset
(uninit).
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/i40e_ethdev.c | 32 +---
drivers/net/i40e/i40e_ethdev.h | 1 +
drivers/net/i40e/i40e_fdir.c | 1 +
3 files changed, 23 insertions(+), 11 deletions
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.
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e
together;
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/rte_pmd_i40e.c | 26 --
1 file changed, 24 insertions(+), 2 deletions(-)
diff --git a/drivers/net/i40e/rte_pmd_i40e.c b/drivers/net/i40e/rte_pmd_i40e.c
index 5436db4..be37912 100644
--- a/drivers/net/i40e
together;
Fixes: b319712f53c8 ("net/i40e: extended list of operations for DDP processing")
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/rte_pmd_i40e.c | 26 --
1 file changed, 24 insertions(+), 2 deletions(-)
diff --git a/drivers/net/i40e/rte_pmd_i40e.c b/d
Documentation and help string more clear describe
meaning of arguments for ddp add del function.
Fixes: 856ceb331b0a ("app/testpmd: enable DDP remove profile feature")
Signed-off-by: Kirill Rybalchenko
---
app/test-pmd/cmdline.c | 8
doc/guides/nic
together;
Fixes: b319712f53c8 ("net/i40e: extended list of operations for DDP processing")
v3: prevent registration of read-only profiles with profile list
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/rte_pmd_i40e.c | 40
1 file c
Group ID 0xFF indicates that packages does not change parser
graph so compatible with any other packages.
Fixes: b1ec717bfff5 ("net/i40e: fix multiple DDP packages conflict")
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/rte_pmd_i40e.c | 7 +++
1 file changed, 7
versions.
Remove the versioning of rte_eth_dev_filter_ctrl function.
Signed-off-by: Kirill Rybalchenko
---
lib/librte_ether/rte_ethdev.c | 155 +-
1 file changed, 2 insertions(+), 153 deletions(-)
diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether
versions.
Remove the versioning of rte_eth_dev_filter_ctrl function.
v2:
Modify map file, increment library version,
remove deprecation notice
Signed-off-by: Kirill Rybalchenko
---
doc/guides/rel_notes/deprecation.rst| 6 --
doc/guides/rel_notes/release_18_05.rst | 2 +-
lib/librte_ether
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
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
1 - 100 of 118 matches
Mail list logo