|
Revision tags: v24.07-rc2, v24.07-rc1, v24.03, v24.03-rc4, v24.03-rc3, v24.03-rc2, v24.03-rc1 |
|
| #
0594ae0c |
| 24-Jan-2024 |
Ferruh Yigit <ferruh.yigit@amd.com> |
pipeline: fix calloc parameters
gcc [1] generates warning [2] about calloc usage, because calloc parameter order is wrong, fixing it by replacing parameters.
[1] gcc (GCC) 14.0.0 20231102 (experime
pipeline: fix calloc parameters
gcc [1] generates warning [2] about calloc usage, because calloc parameter order is wrong, fixing it by replacing parameters.
[1] gcc (GCC) 14.0.0 20231102 (experimental)
[2] Compiling C object .../pipeline_rte_swx_pipeline_spec.c.o .../rte_swx_pipeline_spec.c: In function ‘pipeline_spec_parse’: ../lib/pipeline/rte_swx_pipeline_spec.c:2893:11: warning: allocation of insufficient size ‘1’ for type ‘struct pipeline_spec’ with size ‘144’ [-Walloc-size] 2893 | s = calloc(sizeof(struct pipeline_spec), 1); | ^
.../rte_swx_pipeline_spec.c: In function ‘pipeline_iospec_parse’: ../lib/pipeline/rte_swx_pipeline_spec.c:4244:11: warning: allocation of insufficient size ‘1’ for type ‘struct pipeline_iospec’ with size ‘64’ [-Walloc-size] 4244 | s = calloc(sizeof(struct pipeline_iospec), 1); | ^
Fixes: 30c4abb90942 ("pipeline: rework specification file-based pipeline build") Fixes: 54cae37ef4ef ("pipeline: support I/O specification") Cc: stable@dpdk.org
Signed-off-by: Ferruh Yigit <ferruh.yigit@amd.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Acked-by: Morten Brørup <mb@smartsharesystems.com>
show more ...
|
|
Revision tags: v23.11, v23.11-rc4, v23.11-rc3, v23.11-rc2, v23.11-rc1, v23.07, v23.07-rc4, v23.07-rc3, v23.07-rc2 |
|
| #
b4f0a9bb |
| 14-Jun-2023 |
Thomas Monjalon <thomas@monjalon.net> |
lib: remove blank line ending comment blocks
At the end of a comment, no need for an extra line.
This pattern was fixed with the following command: git ls lib | xargs sed -i '/^ *\* *$/{N;/ *\*\/ *
lib: remove blank line ending comment blocks
At the end of a comment, no need for an extra line.
This pattern was fixed with the following command: git ls lib | xargs sed -i '/^ *\* *$/{N;/ *\*\/ *$/D;}'
Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
show more ...
|
|
Revision tags: v23.07-rc1, v23.03, v23.03-rc4, v23.03-rc3, v23.03-rc2 |
|
| #
2cd7722a |
| 02-Mar-2023 |
Yogesh Jangra <yogesh.jangra@intel.com> |
pipeline: fix RSS configuration
Currently, the rss object is configured after action, which leads to rss instruction failure, when rss instruction is called from action block. To resolve the error,
pipeline: fix RSS configuration
Currently, the rss object is configured after action, which leads to rss instruction failure, when rss instruction is called from action block. To resolve the error, rss object is configured before action and apply block.
Fixes: 8ba342ce6f09 ("pipeline: add RSS")
Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com> Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
show more ...
|
|
Revision tags: v23.03-rc1 |
|
| #
8ba342ce |
| 07-Feb-2023 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
pipeline: add RSS
Add pipeline support for the Receive Side Scaling (RSS) hashing. While the pipeline already supports the stateless hashing schemes, the RSS scheme uses a key configured by the cont
pipeline: add RSS
Add pipeline support for the Receive Side Scaling (RSS) hashing. While the pipeline already supports the stateless hashing schemes, the RSS scheme uses a key configured by the control plane and preserved between successive RSS hash invocations.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>
show more ...
|
|
Revision tags: v22.11, v22.11-rc4, v22.11-rc3, v22.11-rc2, v22.11-rc1 |
|
| #
fa7723b5 |
| 19-Aug-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
pipeline: configure hash function for learner tables
Make the hash function configurable for the learner pipeline tables.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-o
pipeline: configure hash function for learner tables
Make the hash function configurable for the learner pipeline tables.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>
show more ...
|
| #
9560a329 |
| 19-Aug-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
pipeline: configure hash function for regular tables
Make the hash function configurable for the regular pipeline tables.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-o
pipeline: configure hash function for regular tables
Make the hash function configurable for the regular pipeline tables.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>
show more ...
|
| #
076d6128 |
| 12-Aug-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
pipeline: remove 64-bit limit for structure fields
Remove the generic limitation of structure fields to 64 bits or less and push this restriction to the instructions that require it.
Signed-off-by:
pipeline: remove 64-bit limit for structure fields
Remove the generic limitation of structure fields to 64 bits or less and push this restriction to the instructions that require it.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Harshad Narayane <harshad.suresh.narayane@intel.com>
show more ...
|
| #
68b95704 |
| 28-Jul-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
pipeline: add API for shared library-based pipeline build
Previously, the pipeline build operation was done based on the specification file (typically produced by the P4 compiler), then the C code w
pipeline: add API for shared library-based pipeline build
Previously, the pipeline build operation was done based on the specification file (typically produced by the P4 compiler), then the C code with optimized functions for the pipeline actions and instructions was generated, built into a shared object library, loaded and installed into the pipeline in a completely hardcoded and non-customizable way.
Now, this process is split into three explicit stages: i) code generation (specification file -> C file); ii) code build (C file -> shared object library); iii) code installation (library load into the pipeline).
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>
show more ...
|
| #
54cae37e |
| 28-Jul-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
pipeline: support I/O specification
Add specification data structure and API for the pipeline I/O ports and related pipeline configuration such as packet mirroring.
Signed-off-by: Cristian Dumitres
pipeline: support I/O specification
Add specification data structure and API for the pipeline I/O ports and related pipeline configuration such as packet mirroring.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>
show more ...
|
| #
894c93e1 |
| 28-Jul-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
pipeline: generate code for specification structure
Add support to export the pipeline specification data structure to a C source code file.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@
pipeline: generate code for specification structure
Add support to export the pipeline specification data structure to a C source code file.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>
show more ...
|
| #
30c4abb9 |
| 28-Jul-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
pipeline: rework specification file-based pipeline build
Rework the specification file-based pipeline build operation to first parse the specification file into the previously introduced pipeline sp
pipeline: rework specification file-based pipeline build
Rework the specification file-based pipeline build operation to first parse the specification file into the previously introduced pipeline specification data structure, then use this structure to configure and build the pipeline.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>
show more ...
|
| #
4684aa75 |
| 28-Jul-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
pipeline: add pipeline specification data structure
Add specification data structure for the entire pipeline.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Kamal
pipeline: add pipeline specification data structure
Add specification data structure for the entire pipeline.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>
show more ...
|
| #
3421eb42 |
| 28-Jul-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
pipeline: move specification structures to internal header
Move all the pipeline object specification data structures to an internal header file.
Signed-off-by: Cristian Dumitrescu <cristian.dumitr
pipeline: move specification structures to internal header
Move all the pipeline object specification data structures to an internal header file.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>
show more ...
|
|
Revision tags: v22.07, v22.07-rc4, v22.07-rc3, v22.07-rc2, v22.07-rc1 |
|
| #
e2ecc535 |
| 20-May-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
pipeline: improve learner table timers
Enable the pipeline to use the improved learner table timer operation through the new "rearm" instruction.
Signed-off-by: Cristian Dumitrescu <cristian.dumitr
pipeline: improve learner table timers
Enable the pipeline to use the improved learner table timer operation through the new "rearm" instruction.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
show more ...
|
| #
73d94b00 |
| 11-Apr-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
pipeline: support default action arguments
Add support for arguments to the default action of regular and learner tables at initialization time. Until now, only default actions with no arguments wer
pipeline: support default action arguments
Add support for arguments to the default action of regular and learner tables at initialization time. Until now, only default actions with no arguments were accepted in the .spec file.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com>
show more ...
|
|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2 |
|
| #
30a1de10 |
| 15-Feb-2022 |
Sean Morrissey <sean.morrissey@intel.com> |
lib: remove unneeded header includes
These header includes have been flagged by the iwyu_tool and removed.
Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
|
|
Revision tags: v22.03-rc1 |
|
| #
7be78d02 |
| 29-Nov-2021 |
Josh Soref <jsoref@gmail.com> |
fix spelling in comments and strings
The tool comes from https://github.com/jsoref
Signed-off-by: Josh Soref <jsoref@gmail.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
|
|
Revision tags: v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2, v21.11-rc1 |
|
| #
cd79e020 |
| 18-Oct-2021 |
Yogesh Jangra <yogesh.jangra@intel.com> |
pipeline: support action annotations
Enable restricting the scope of an action to regular table entries or to the table default entry in order to support the P4 language tableonly or defaultonly ann
pipeline: support action annotations
Enable restricting the scope of an action to regular table entries or to the table default entry in order to support the P4 language tableonly or defaultonly annotations.
Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
show more ...
|
| #
175d213b |
| 14-Sep-2021 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
pipeline: improve handling of learner action arguments
The arguments of actions that are learned are now specified as part of the learn instruction as opposed to being statically specified as part o
pipeline: improve handling of learner action arguments
The arguments of actions that are learned are now specified as part of the learn instruction as opposed to being statically specified as part of the learner table configuration.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
show more ...
|
| #
4f59d372 |
| 20-Sep-2021 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
pipeline: support learner tables
Add pipeline level support for learner tables.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
|
|
Revision tags: v21.08, v21.08-rc4, v21.08-rc3 |
|
| #
cef38969 |
| 27-Jul-2021 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
pipeline: support variable size headers
Added support for variable size headers. The last field of a struct type can now have a variable size between 0 and N bytes. Useful to accommodate IPv4 packet
pipeline: support variable size headers
Added support for variable size headers. The last field of a struct type can now have a variable size between 0 and N bytes. Useful to accommodate IPv4 packets with options, etc.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
show more ...
|
|
Revision tags: v21.08-rc2, v21.08-rc1 |
|
| #
cdaa937d |
| 10-Jul-2021 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
pipeline: support selector table
Add pipeline-level support for selector tables.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
|
|
Revision tags: v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1 |
|
| #
99a2dd95 |
| 20-Apr-2021 |
Bruce Richardson <bruce.richardson@intel.com> |
lib: remove librte_ prefix from directory names
There is no reason for the DPDK libraries to all have 'librte_' prefix on the directory names. This prefix makes the directory names longer and also m
lib: remove librte_ prefix from directory names
There is no reason for the DPDK libraries to all have 'librte_' prefix on the directory names. This prefix makes the directory names longer and also makes it awkward to add features referring to individual libraries in the build - should the lib names be specified with or without the prefix. Therefore, we can just remove the library prefix and use the library's unique name as the directory name, i.e. 'eal' rather than 'librte_eal'
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|