|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1 |
|
| #
a4c1146c |
| 12-Jan-2022 |
Cristian Dumitrescu <[email protected]> |
examples/pipeline: print table entries to file
Add support for the show CLI command to print table entries to a file instead of standard output.
Signed-off-by: Cristian Dumitrescu <cristian.dumitre
examples/pipeline: print table entries to file
Add support for the show CLI command to print table entries to a file instead of standard output.
Signed-off-by: Cristian Dumitrescu <[email protected]> Signed-off-by: Harshad Narayane <[email protected]>
show more ...
|
| #
96b37959 |
| 27-Nov-2021 |
Cristian Dumitrescu <[email protected]> |
pipeline: add drop port for each pipeline
An additional output port is now implicitly created for every pipeline to serve as the packet drop port. Up to now, the drop port had to be explicitly creat
pipeline: add drop port for each pipeline
An additional output port is now implicitly created for every pipeline to serve as the packet drop port. Up to now, the drop port had to be explicitly created for each pipeline.
Signed-off-by: Cristian Dumitrescu <[email protected]> Signed-off-by: Yogesh Jangra <[email protected]>
show more ...
|
|
Revision tags: v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2, v21.11-rc1 |
|
| #
0317c452 |
| 17-Sep-2021 |
Yogesh Jangra <[email protected]> |
port: configure loop count for source port
Add support for configurable number of loops through the input PCAP file for the source port. Added an additional parameter to source port CLI command.
Si
port: configure loop count for source port
Add support for configurable number of loops through the input PCAP file for the source port. Added an additional parameter to source port CLI command.
Signed-off-by: Yogesh Jangra <[email protected]> Acked-by: Cristian Dumitrescu <[email protected]>
show more ...
|
| #
8bd4862f |
| 20-Sep-2021 |
Cristian Dumitrescu <[email protected]> |
examples/pipeline: support learner tables
Add application-level support for learner tables.
Signed-off-by: Cristian Dumitrescu <[email protected]>
|
| #
a7db3afc |
| 25-Aug-2021 |
Aman Deep Singh <[email protected]> |
net: add macro to extract MAC address bytes
Added macros to simplify print of MAC address. The six bytes of a MAC address are extracted in a macro here, to improve code readablity.
Signed-off-by: A
net: add macro to extract MAC address bytes
Added macros to simplify print of MAC address. The six bytes of a MAC address are extracted in a macro here, to improve code readablity.
Signed-off-by: Aman Deep Singh <[email protected]> Reviewed-by: Ferruh Yigit <[email protected]>
show more ...
|
| #
c2c4f87b |
| 25-Aug-2021 |
Aman Deep Singh <[email protected]> |
net: add macro for MAC address print
Added macro to print six bytes of MAC address. The MAC addresses will be printed in upper case hexadecimal format. In case there is a specific check for lower ca
net: add macro for MAC address print
Added macro to print six bytes of MAC address. The MAC addresses will be printed in upper case hexadecimal format. In case there is a specific check for lower case MAC address, the user may need to make a change in such test case after this patch.
Signed-off-by: Aman Deep Singh <[email protected]> Reviewed-by: Ferruh Yigit <[email protected]>
show more ...
|
|
Revision tags: v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2 |
|
| #
cfcc7bf8 |
| 12-Jul-2021 |
Cristian Dumitrescu <[email protected]> |
examples/pipeline: fix out of bounds array access
Fix the incorrect array out of bounds check within the function pipeline_selector_group_member_read().
Coverity issue: 371911 Fixes: 598fe0dd0d8e3
examples/pipeline: fix out of bounds array access
Fix the incorrect array out of bounds check within the function pipeline_selector_group_member_read().
Coverity issue: 371911 Fixes: 598fe0dd0d8e3 ("examples/pipeline: support selector table")
Signed-off-by: Cristian Dumitrescu <[email protected]>
show more ...
|
| #
00b67591 |
| 12-Jul-2021 |
Ali Alnubani <[email protected]> |
examples/pipeline: fix build
This patch fixes the following build failures seen on Ubuntu 16.04 with gcc 5.4.0 because of uninitialized variables: ... examples/pipeline/cli.c:1559:11: error: 'weight
examples/pipeline: fix build
This patch fixes the following build failures seen on Ubuntu 16.04 with gcc 5.4.0 because of uninitialized variables: ... examples/pipeline/cli.c:1559:11: error: 'weight_val' may be used uninitialized in this function [-Werror=maybe-uninitialized] ... examples/pipeline/cli.c:1545:13: error: 'member_id_val' may be used uninitialized in this function [-Werror=maybe-uninitialized] ... examples/pipeline/cli.c:1538:12: error: 'group_id_val' may be used uninitialized in this function [-Werror=maybe-uninitialized] ... examples/pipeline/cli.c:2189:2: error: 'idx1' may be used uninitialized in this function [-Werror=maybe-uninitialized] ... examples/pipeline/cli.c:2179:43: error: 'idx0' may be used uninitialized in this function [-Werror=maybe-uninitialized] ... examples/pipeline/cli.c:2265:2: error: 'idx1' may be used uninitialized in this function [-Werror=maybe-uninitialized] ... examples/pipeline/cli.c:2248:43: error: 'idx0' may be used uninitialized in this function [-Werror=maybe-uninitialized] ... examples/pipeline/cli.c:2358:2: error: 'idx1' may be used uninitialized in this function [-Werror=maybe-uninitialized] ... examples/pipeline/cli.c:2325:43: error: 'idx0' may be used uninitialized in this function [-Werror=maybe-uninitialized]
Fixes: 598fe0dd0d8e ("examples/pipeline: support selector table")
Signed-off-by: Ali Alnubani <[email protected]> Acked-by: Cristian Dumitrescu <[email protected]>
show more ...
|
|
Revision tags: v21.08-rc1 |
|
| #
598fe0dd |
| 10-Jul-2021 |
Cristian Dumitrescu <[email protected]> |
examples/pipeline: support selector table
Add application-level support for selector tables.
Signed-off-by: Churchill Khangar <[email protected]> Signed-off-by: Cristian Dumitrescu <crist
examples/pipeline: support selector table
Add application-level support for selector tables.
Signed-off-by: Churchill Khangar <[email protected]> Signed-off-by: Cristian Dumitrescu <[email protected]>
show more ...
|
| #
75129ceb |
| 02-Jul-2021 |
Churchill Khangar <[email protected]> |
examples/pipeline: improve table update commands
For more flexibility, the single monolithic table update command is split into table entry add, table entry delete, table default entry add, pipeline
examples/pipeline: improve table update commands
For more flexibility, the single monolithic table update command is split into table entry add, table entry delete, table default entry add, pipeline commit and pipeline abort.
Signed-off-by: Churchill Khangar <[email protected]> Signed-off-by: Cristian Dumitrescu <[email protected]>
show more ...
|
|
Revision tags: v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1 |
|
| #
1c8b6af9 |
| 31-Mar-2021 |
Cristian Dumitrescu <[email protected]> |
examples/pipeline: add newline to error messages
Add newline to some error messages that were missing it.
Signed-off-by: Cristian Dumitrescu <[email protected]>
|
| #
742b0a57 |
| 16-Apr-2021 |
Cristian Dumitrescu <[email protected]> |
pipeline: add table statistics to SWX
Add support for table statistics for the SWX pipeline. For each table, we maintain a counter for lookup hit packets, one for lookup miss packets and one packet
pipeline: add table statistics to SWX
Add support for table statistics for the SWX pipeline. For each table, we maintain a counter for lookup hit packets, one for lookup miss packets and one packet counter for each table action.
Signed-off-by: Cristian Dumitrescu <[email protected]> Signed-off-by: Yogesh Jangra <[email protected]>
show more ...
|
| #
f38913b7 |
| 16-Mar-2021 |
Cristian Dumitrescu <[email protected]> |
pipeline: add meter array to SWX
Meter arrays are stateful objects that are updated by the data plane and configured & monitored by the control plane. The meters implement the RFC 2698 Two Rate Thre
pipeline: add meter array to SWX
Meter arrays are stateful objects that are updated by the data plane and configured & monitored by the control plane. The meters implement the RFC 2698 Two Rate Three Color Marker (trTCM) algorithm.
Signed-off-by: Cristian Dumitrescu <[email protected]>
show more ...
|
| #
64cfcebd |
| 16-Mar-2021 |
Cristian Dumitrescu <[email protected]> |
pipeline: add register array to SWX
Register arrays are stateful objects that can be read & modified by both the data plane and the control plane, as opposed to tables, which are read-only for data
pipeline: add register array to SWX
Register arrays are stateful objects that can be read & modified by both the data plane and the control plane, as opposed to tables, which are read-only for data plane. One key use-case is the implementation of stats counters.
Signed-off-by: Cristian Dumitrescu <[email protected]>
show more ...
|
| #
0d644eb6 |
| 24-Mar-2021 |
Churchill Khangar <[email protected]> |
examples/pipeline: support hexadecimal argument in CLI
This patch allows specification of integer arguments for the CLI commands in hexadecimal and octal as well as decimal.
Signed-off-by: Churchil
examples/pipeline: support hexadecimal argument in CLI
This patch allows specification of integer arguments for the CLI commands in hexadecimal and octal as well as decimal.
Signed-off-by: Churchill Khangar <[email protected]> Acked-by: Cristian Dumitrescu <[email protected]>
show more ...
|
| #
e2b8dc52 |
| 23-Mar-2021 |
Venkata Suresh Kumar P <[email protected]> |
port: add file descriptor SWX port
Add the file descriptor input/output port type for the SWX pipeline. File descriptor port type provides interface with the kernel network stack. Example file descr
port: add file descriptor SWX port
Add the file descriptor input/output port type for the SWX pipeline. File descriptor port type provides interface with the kernel network stack. Example file descriptor port is TAP device.
Signed-off-by: Venkata Suresh Kumar P <[email protected]> Signed-off-by: Churchill Khangar <[email protected]> Acked-by: Cristian Dumitrescu <[email protected]>
show more ...
|
| #
cff9a717 |
| 16-Feb-2021 |
Cristian Dumitrescu <[email protected]> |
pipeline: improve table entry parsing
Improve the table entry parsing: better code structure, enable parsing for the key field masks, allow comments and empty lines in the table entry files.
Signed
pipeline: improve table entry parsing
Improve the table entry parsing: better code structure, enable parsing for the key field masks, allow comments and empty lines in the table entry files.
Signed-off-by: Cristian Dumitrescu <[email protected]> Signed-off-by: Venkata Suresh Kumar P <[email protected]> Signed-off-by: Churchill Khangar <[email protected]>
show more ...
|
|
Revision tags: v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2 |
|
| #
77a41301 |
| 28-Jan-2021 |
Cristian Dumitrescu <[email protected]> |
port: add ring SWX port
Add the ring input/output port type for the SWX pipeline.
Signed-off-by: Cristian Dumitrescu <[email protected]>
|
| #
821848f5 |
| 28-Jan-2021 |
Cristian Dumitrescu <[email protected]> |
examples/pipeline: fix CLI parsing crash
Cannot dereference pointer for token[1] unless valid.
Fixes: 5074e1d551 ("examples/pipeline: add configuration commands") Cc: [email protected]
Signed-off-by
examples/pipeline: fix CLI parsing crash
Cannot dereference pointer for token[1] unless valid.
Fixes: 5074e1d551 ("examples/pipeline: add configuration commands") Cc: [email protected]
Signed-off-by: Cristian Dumitrescu <[email protected]>
show more ...
|
|
Revision tags: v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2 |
|
| #
275ebefe |
| 26-Oct-2020 |
Cristian Dumitrescu <[email protected]> |
examples/pipeline: fix resource leak
Coverity issue: 363041 Fixes: 5074e1d551 ("examples/pipeline: add configuration commands")
Signed-off-by: Cristian Dumitrescu <[email protected]>
|
| #
7fef9ef1 |
| 22-Oct-2020 |
Yogesh Jangra <[email protected]> |
examples/pipeline: fix help command
This patch has the changes to list all supported commands and fix supported commands help details.
Fixes: 5074e1d55107 ("examples/pipeline: add configuration com
examples/pipeline: fix help command
This patch has the changes to list all supported commands and fix supported commands help details.
Fixes: 5074e1d55107 ("examples/pipeline: add configuration commands")
Signed-off-by: Yogesh Jangra <[email protected]> Acked-by: Cristian Dumitrescu <[email protected]>
show more ...
|
|
Revision tags: v20.11-rc1 |
|
| #
03665a48 |
| 13-Oct-2020 |
Cristian Dumitrescu <[email protected]> |
examples/pipeline: fix resource release in table update
Fix the resource release sequence in table update.
Coverity issue: 362882, 363041, 363044, 363047 Fixes: 5074e1d551 ("examples/pipeline: add
examples/pipeline: fix resource release in table update
Fix the resource release sequence in table update.
Coverity issue: 362882, 363041, 363044, 363047 Fixes: 5074e1d551 ("examples/pipeline: add configuration commands")
Signed-off-by: Cristian Dumitrescu <[email protected]>
show more ...
|
| #
64eaee23 |
| 06-Oct-2020 |
Cristian Dumitrescu <[email protected]> |
examples/pipeline: fix files for table update
Coverity issue: 362744, 362745, 362882 Fixes: 5074e1d551 ("examples/pipeline: add configuration commands")
Signed-off-by: Cristian Dumitrescu <cristian
examples/pipeline: fix files for table update
Coverity issue: 362744, 362745, 362882 Fixes: 5074e1d551 ("examples/pipeline: add configuration commands")
Signed-off-by: Cristian Dumitrescu <[email protected]>
show more ...
|
| #
5074e1d5 |
| 01-Oct-2020 |
Cristian Dumitrescu <[email protected]> |
examples/pipeline: add configuration commands
Add CLI commands for application configuration and query.
Signed-off-by: Cristian Dumitrescu <[email protected]>
|