#
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 ...
|
#
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 ...
|
#
bcd9f098 |
| 03-Feb-2022 |
Kumara Parameshwaran <kparameshwar@vmware.com> |
drivers/net: use internal function to get ethdev struct
Make changes in PMDs to use the new function where rte_eth_dev_get_port_by_name is used to get port_id to access rte_eth_devices
Signed-off-b
drivers/net: use internal function to get ethdev struct
Make changes in PMDs to use the new function where rte_eth_dev_get_port_by_name is used to get port_id to access rte_eth_devices
Signed-off-by: Kumara Parameshwaran <kparameshwar@vmware.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
cb056611 |
| 15-Oct-2020 |
Stephen Hemminger <stephen@networkplumber.org> |
eal: rename lcore master and slave
Replace master lcore with main lcore and replace slave lcore with worker lcore.
Keep the old functions and macros but mark them as deprecated for this release.
T
eal: rename lcore master and slave
Replace master lcore with main lcore and replace slave lcore with worker lcore.
Keep the old functions and macros but mark them as deprecated for this release.
The "--master-lcore" command line option is also deprecated and any usage will print a warning and use "--main-lcore" as replacement.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
show more ...
|
#
c1ea7a5f |
| 27-Apr-2020 |
Jasvinder Singh <jasvinder.singh@intel.com> |
net/softnic: fix resource leak for pipeline
For sending request messages to data plane threads, the caller invokes pipeline_msg_send_recv() function which never returns null response. Thus, removed
net/softnic: fix resource leak for pipeline
For sending request messages to data plane threads, the caller invokes pipeline_msg_send_recv() function which never returns null response. Thus, removed redundant check on the returned response.
Coverity issue: 357676, 357680, 357681, 357682, 357690, 357693, 357711 Coverity issue: 357722, 357725, 357734, 357739, 357743, 357747, 357762 Coverity issue: 357766, 357787
Fixes: 6d4d05402501 ("net/softnic: add command to read stats") Fixes: 202905f3ee4d ("net/softnic: add command to create objects") Fixes: ee19326a4b1e ("net/softnic: add command for pipeline table entries") Fixes: 9bc0ce0ad17c ("net/softnic: add command for meter action") Fixes: 2505030a8383 ("net/softnic: add command for TTL action") Cc: stable@dpdk.org
Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
show more ...
|
#
22335d43 |
| 27-Apr-2020 |
Jasvinder Singh <jasvinder.singh@intel.com> |
net/softnic: fix memory leak for thread
For sending request messages to data plane threads, the caller invokes thread_msg_send_recv() function which never returns null response. Thus, removed redund
net/softnic: fix memory leak for thread
For sending request messages to data plane threads, the caller invokes thread_msg_send_recv() function which never returns null response. Thus, removed redundant check on the returned response.
Coverity issue: 357717, 357772 Fixes: 70709c78fda6 ("net/softnic: add command to enable/disable pipeline") Cc: stable@dpdk.org
Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
show more ...
|
#
9c6b1993 |
| 15-May-2019 |
David Marchand <david.marchand@redhat.com> |
net/softnic: do not dereference global config struct
Prefer the existing apis rather than direct access the configuration structure.
Fixes: a958a5c07f4b ("net/softnic: support service cores") Cc: s
net/softnic: do not dereference global config struct
Prefer the existing apis rather than direct access the configuration structure.
Fixes: a958a5c07f4b ("net/softnic: support service cores") Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
show more ...
|
#
5024da51 |
| 04-Apr-2019 |
Jasvinder Singh <jasvinder.singh@intel.com> |
net/softnic: fix unchecked return value
Fix unchecked return value issue reported by Coverity.
Coverity issue: 336852 Fixes: a958a5c07f4b ("net/softnic: support service cores") Cc: stable@dpdk.org
net/softnic: fix unchecked return value
Fix unchecked return value issue reported by Coverity.
Coverity issue: 336852 Fixes: a958a5c07f4b ("net/softnic: support service cores") Cc: stable@dpdk.org
Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com> Acked-by: Rami Rosen <ramirose@gmail.com>
show more ...
|
#
a958a5c0 |
| 10-Jan-2019 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
net/softnic: support service cores
Add support to run the Soft NIC device on service cores, based on the value of the sc parameter:
0: The current Soft NIC device is run explicitly by the applicati
net/softnic: support service cores
Add support to run the Soft NIC device on service cores, based on the value of the sc parameter:
0: The current Soft NIC device is run explicitly by the application. The firmware creates one or several pipelines for this dev and maps them to CPU cores that should not be service cores. The app is required to call rte_pmd_softnic_run() to make this dev work.
1 (default): The current device is run on the service cores transparently to the app. The firmware creates one or several pipelines for this dev current device and maps them to CPU cores that should be service cores. Each of these service cores is calling rte_pmd_softnic_run() in order to make this dev work with no app intervention.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
show more ...
|
#
3b7f2b9e |
| 24-Oct-2018 |
Fan Zhang <roy.fan.zhang@intel.com> |
net/softnic: add symmetric crypto action
This patch adds symmetric crypto action support to softnic.
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Cristian Dumitrescu <cristian.dumit
net/softnic: add symmetric crypto action
This patch adds symmetric crypto action support to softnic.
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
show more ...
|
#
b9bcbeec |
| 10-Oct-2018 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
net/softnic: support packet decap action
Add support for packet decap table action.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
|
#
16d2d653 |
| 09-Oct-2018 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
net/softnic: support packet tag action
Add support for packet tag table action.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
|
#
13b8c680 |
| 28-Sep-2018 |
Reshma Pattan <reshma.pattan@intel.com> |
net/softnic: fix IPv6 endianness
Fix IPv6 endianness from big endian to CPU order.
Fixes: ee19326a4b ("net/softnic: add command for pipeline table entries") Cc: stable@dpdk.org
Signed-off-by: Resh
net/softnic: fix IPv6 endianness
Fix IPv6 endianness from big endian to CPU order.
Fixes: ee19326a4b ("net/softnic: add command for pipeline table entries") Cc: stable@dpdk.org
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
show more ...
|
#
8602bcae |
| 26-Sep-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
net/softnic: update DSCP table
Implement meter object dscp table update.
Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
|
#
b89f4a57 |
| 26-Sep-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
net/softnic: update meter profile
Implement meter profile update function
Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
|
#
2505030a |
| 06-Jul-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
net/softnic: add command for TTL action
Add cli commands for ttl action in softnic pipeline objects.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Sing
net/softnic: add command for TTL action
Add cli commands for ttl action in softnic pipeline objects.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
show more ...
|
#
9bc0ce0a |
| 06-Jul-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
net/softnic: add command for meter action
Add cli commands for meter action in softnic pipeline objects.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder
net/softnic: add command for meter action
Add cli commands for meter action in softnic pipeline objects.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
show more ...
|
#
6d4d0540 |
| 06-Jul-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
net/softnic: add command to read stats
Add cli commands to read port and table stats of softnic pipeline objects.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: J
net/softnic: add command to read stats
Add cli commands to read port and table stats of softnic pipeline objects.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
show more ...
|
#
ee19326a |
| 06-Jul-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
net/softnic: add command for pipeline table entries
Add cli commands for table entries in softnic pipeline objects.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by:
net/softnic: add command for pipeline table entries
Add cli commands for table entries in softnic pipeline objects.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
show more ...
|
#
70709c78 |
| 06-Jul-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
net/softnic: add command to enable/disable pipeline
Add cli commands to enable and disable pipelines on specific threads in softnic.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.co
net/softnic: add command to enable/disable pipeline
Add cli commands to enable and disable pipelines on specific threads in softnic.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
show more ...
|
#
202905f3 |
| 08-Jun-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
net/softnic: add command to create objects
Add cli commands to create softnic objects such as mempool, swq, pipeline, etc.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-
net/softnic: add command to create objects
Add cli commands to create softnic objects such as mempool, swq, pipeline, etc.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
show more ...
|
#
5719a615 |
| 11-Jul-2018 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
net/softnic: add run API
Implements softnic API function to run pipeline objects.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@
net/softnic: add run API
Implements softnic API function to run pipeline objects.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
show more ...
|
#
bd2fbb62 |
| 06-Jul-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
net/softnic: add thread
Add thread data structure and init function to run softnic pipelines objects.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Sin
net/softnic: add thread
Add thread data structure and init function to run softnic pipelines objects.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
show more ...
|