#
96893df7 |
| 13-Feb-2024 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
net/softnic: fix include of log library
When rte_log.h was moved to a new directory, the include path was not updated for the generated C code produced by the pipeline library, which results in buil
net/softnic: fix include of log library
When rte_log.h was moved to a new directory, the include path was not updated for the generated C code produced by the pipeline library, which results in build failure for this code.
Fixes: 09ce41310930 ("log: separate logging functions out of EAL") Cc: stable@dpdk.org
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Tested-by: Ferruh Yigit <ferruh.yigit@amd.com>
show more ...
|
#
357d87e8 |
| 27-Sep-2022 |
Harshad Narayane <harshad.suresh.narayane@intel.com> |
net/softnic: fix file descriptor leak
Fix file close at pipeline code generation.
Coverity issue: 380976 Fixes: e3be2495c509 ("net/softnic: add pipeline code generation command")
Signed-off-by: Ha
net/softnic: fix file descriptor leak
Fix file close at pipeline code generation.
Coverity issue: 380976 Fixes: e3be2495c509 ("net/softnic: add pipeline code generation command")
Signed-off-by: Harshad Narayane <harshad.suresh.narayane@intel.com> Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
show more ...
|
#
167756c1 |
| 27-Sep-2022 |
Harshad Narayane <harshad.suresh.narayane@intel.com> |
net/softnic: fix memory leak
Fix memory resource free for buffer allocation failure at pipeline library build.
Coverity issue: 380975, 380977 Fixes: 0227003369d1 ("net/softnic: add pipeline library
net/softnic: fix memory leak
Fix memory resource free for buffer allocation failure at pipeline library build.
Coverity issue: 380975, 380977 Fixes: 0227003369d1 ("net/softnic: add pipeline library build command")
Signed-off-by: Harshad Narayane <harshad.suresh.narayane@intel.com> Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
show more ...
|
#
d2384afb |
| 05-Aug-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
net/softnic: print output port packet drop counters
Print the output port packet drop statistics counters.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
|
#
de0a728a |
| 01-Sep-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
net/softnic: add pipeline mirroring command
Add CLI command for pipeline mirroring configuration.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yo
net/softnic: add pipeline mirroring command
Add CLI command for pipeline mirroring configuration.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com>
show more ...
|
#
4e141bf4 |
| 01-Sep-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
net/softnic: add pipeline statistics command
Add CLI command for pipeline statistics counters query.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra
net/softnic: add pipeline statistics command
Add CLI command for pipeline statistics counters query.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com>
show more ...
|
#
49b842da |
| 01-Sep-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
net/softnic: add pipeline meter commands
Add CLI commands for pipeline meter configuration.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.j
net/softnic: add pipeline meter commands
Add CLI commands for pipeline meter configuration.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com>
show more ...
|
#
c7683010 |
| 01-Sep-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
net/softnic: add pipeline register read/write commands
Add CLI commands for pipeline registers read and write operations.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-o
net/softnic: add pipeline register read/write commands
Add CLI commands for pipeline registers read and write operations.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com>
show more ...
|
#
b4647f3a |
| 01-Sep-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
net/softnic: add pipeline commit and abort commands
Add CLI commands for pipeline table update commit and abort.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yo
net/softnic: add pipeline commit and abort commands
Add CLI commands for pipeline table update commit and abort.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com>
show more ...
|
#
3f14baa0 |
| 01-Sep-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
net/softnic: add pipeline learner table commands
Add CLI command for managing the learner table default entry.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yoge
net/softnic: add pipeline learner table commands
Add CLI command for managing the learner table default entry.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com>
show more ...
|
#
e9c35c60 |
| 01-Sep-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
net/softnic: add pipeline selector table commands
Add CLI commands for selector tables group and member management.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by:
net/softnic: add pipeline selector table commands
Add CLI commands for selector tables group and member management.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com>
show more ...
|
#
d8141864 |
| 01-Sep-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
net/softnic: add pipeline table commands
Add CLI commands for pipeline table entry management.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yoges
net/softnic: add pipeline table commands
Add CLI commands for pipeline table entry management.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com>
show more ...
|
#
00dfff03 |
| 01-Sep-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
net/softnic: add pipeline build command
Add CLI command for pipeline build.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com>
|
#
02270033 |
| 01-Sep-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
net/softnic: add pipeline library build command
Add CLI command for pipeline shared library build.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <y
net/softnic: add pipeline library build command
Add CLI command for pipeline shared library build.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com>
show more ...
|
#
e3be2495 |
| 01-Sep-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
net/softnic: add pipeline code generation command
Add CLI command for pipeline code generation.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yoge
net/softnic: add pipeline code generation command
Add CLI command for pipeline code generation.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com>
show more ...
|
#
d5854eb4 |
| 01-Sep-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
net/softnic: remove unused text parsing functions
Remove the text parsing functions that are not used.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangr
net/softnic: remove unused text parsing functions
Remove the text parsing functions that are not used.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com>
show more ...
|
#
a1f7065d |
| 01-Sep-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
net/softnic: remove list of Ethernet devices
The list of Ethernet devices within this driver is redundant, as the DPDK global list of Ethernet devices can be used instead.
Signed-off-by: Cristian D
net/softnic: remove list of Ethernet devices
The list of Ethernet devices within this driver is redundant, as the DPDK global list of Ethernet devices can be used instead.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com>
show more ...
|
#
fa0a52a7 |
| 01-Sep-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
net/softnic: replace legacy pipeline with SWX pipeline
Replace the legacy pipeline support with support for the SWX pipeline.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Sign
net/softnic: replace legacy pipeline with SWX pipeline
Replace the legacy pipeline support with support for the SWX pipeline.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com>
show more ...
|
#
87dc5c20 |
| 01-Sep-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
net/softnic: remove legacy pipeline commands
Remove the legacy pipeline CLI commands.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.jangra@
net/softnic: remove legacy pipeline commands
Remove the legacy pipeline CLI commands.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com>
show more ...
|
#
8cfd2967 |
| 01-Sep-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
net/softnic: remove TAP support
Remove the TUN/TAP device support. The TUN/TAP devices are still supported as virtual Ethernet devices through the TAP Poll Mode Driver.
Signed-off-by: Cristian Dumi
net/softnic: remove TAP support
Remove the TUN/TAP device support. The TUN/TAP devices are still supported as virtual Ethernet devices through the TAP Poll Mode Driver.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com>
show more ...
|
#
1bf0745f |
| 01-Sep-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
net/softnic: remove crypto support
Remove the cryptographic device API support.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.
net/softnic: remove crypto support
Remove the cryptographic device API support.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com>
show more ...
|
#
6a3d21f3 |
| 01-Sep-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
net/softnic: remove flow support
Remove the Ethernet device flow API support.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.co
net/softnic: remove flow support
Remove the Ethernet device flow API support.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com>
show more ...
|
#
c5e2f2a4 |
| 01-Sep-2022 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
net/softnic: remove traffic manager support
Remove the Ethernet device traffic manager API support.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <
net/softnic: remove traffic manager support
Remove the Ethernet device traffic manager API support.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com>
show more ...
|
#
06c047b6 |
| 09-Feb-2022 |
Stephen Hemminger <stephen@networkplumber.org> |
remove unnecessary null checks
Functions like free, rte_free, and rte_mempool_free already handle NULL pointer so the checks here are not necessary.
Remove redundant NULL pointer checks before free
remove unnecessary null checks
Functions like free, rte_free, and rte_mempool_free already handle NULL pointer so the checks here are not necessary.
Remove redundant NULL pointer checks before free functions found by nullfree.cocci
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
show more ...
|
#
675a6c18 |
| 04-Oct-2021 |
Ferruh Yigit <ferruh.yigit@intel.com> |
net/softnic: fix useless address check
Reported by "gcc (GCC) 12.0.0 20211003 (experimental)":
./drivers/net/softnic/rte_eth_softnic_cli.c: In function ‘tmgr_hierarchy_default’: ./drivers/net/soft
net/softnic: fix useless address check
Reported by "gcc (GCC) 12.0.0 20211003 (experimental)":
./drivers/net/softnic/rte_eth_softnic_cli.c: In function ‘tmgr_hierarchy_default’: ./drivers/net/softnic/rte_eth_softnic_cli.c:634:73: error: the comparison will always evaluate as ‘true’ for the address of ‘tc_valid’ will never be NULL [-Werror=address] 634 | (¶ms->shared_shaper_id.tc_valid[0]) ? 1 : 0, | ^
Fixing it by removing useless check.
Fixes: 1af2dc5111ce ("net/softnic: add command for default tmgr hierarchy") Fixes: 5eb676d74fc8 ("net/softnic: add config flexibility to TM") Cc: stable@dpdk.org
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Jasvinder Singh <jasvinder.singh@intel.com>
show more ...
|