#
e6bf3256 |
| 12-Nov-2024 |
Stephen Hemminger <stephen@networkplumber.org> |
net/dpaa2: remove unnecessary check for null before free
Calling rte_free() with NULL parameter is allowed. Found by nullfree.cocci
Fixes: 5964d36a2904 ("net/dpaa2: release port upon close") Cc: st
net/dpaa2: remove unnecessary check for null before free
Calling rte_free() with NULL parameter is allowed. Found by nullfree.cocci
Fixes: 5964d36a2904 ("net/dpaa2: release port upon close") Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Ferruh Yigit <ferruh.yigit@amd.com>
show more ...
|
#
25e5845b |
| 23-Oct-2024 |
Jun Yang <jun.yang@nxp.com> |
net/dpaa2: support multiple flow rules extractions
Support multiple extractions as well as hardware descriptions instead of hard code.
Signed-off-by: Jun Yang <jun.yang@nxp.com> Acked-by: Hemant Ag
net/dpaa2: support multiple flow rules extractions
Support multiple extractions as well as hardware descriptions instead of hard code.
Signed-off-by: Jun Yang <jun.yang@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
41603590 |
| 23-Oct-2024 |
Vanshika Shukla <vanshika.shukla@nxp.com> |
net/dpaa2: support VLAN traffic splitting
This patch adds support for adding rules in DPDMUX to split VLAN traffic based on VLAN ids.
Signed-off-by: Vanshika Shukla <vanshika.shukla@nxp.com> Acked-
net/dpaa2: support VLAN traffic splitting
This patch adds support for adding rules in DPDMUX to split VLAN traffic based on VLAN ids.
Signed-off-by: Vanshika Shukla <vanshika.shukla@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
00e928e9 |
| 23-Oct-2024 |
Sachin Saxena <sachin.saxena@nxp.com> |
net/dpaa2: improve DPDMUX error behavior settings
compatible with MC v10.36 or later
Signed-off-by: Sachin Saxena <sachin.saxena@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
|
#
4d4399ae |
| 23-Oct-2024 |
Jun Yang <jun.yang@nxp.com> |
bus/fslmc: create DPAA2 device with its object
Create dpaa2 device with object instead of object ID. Assign each dpaa2 object with it's container.
Signed-off-by: Jun Yang <jun.yang@nxp.com> Acked-b
bus/fslmc: create DPAA2 device with its object
Create dpaa2 device with object instead of object ID. Assign each dpaa2 object with it's container.
Signed-off-by: Jun Yang <jun.yang@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
cfe96771 |
| 23-Oct-2024 |
Vanshika Shukla <vanshika.shukla@nxp.com> |
net/dpaa2: support CVLAN DPDMUX
This patch adds the support for DPDMUX_METHOD_C_VLAN_MAC method which implements DPDMUX based on C-VLAN and MAC address.
Signed-off-by: Vanshika Shukla <vanshika.shu
net/dpaa2: support CVLAN DPDMUX
This patch adds the support for DPDMUX_METHOD_C_VLAN_MAC method which implements DPDMUX based on C-VLAN and MAC address.
Signed-off-by: Vanshika Shukla <vanshika.shukla@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
274fd921 |
| 23-Oct-2024 |
Rohit Raj <rohit.raj@nxp.com> |
bus/fslmc: support close operation
Add rte_fslmc_close API to close all the DPAA2 devices while closing the DPDK application.
Signed-off-by: Rohit Raj <rohit.raj@nxp.com> Acked-by: Hemant Agrawal <
bus/fslmc: support close operation
Add rte_fslmc_close API to close all the DPAA2 devices while closing the DPDK application.
Signed-off-by: Rohit Raj <rohit.raj@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
17eda10d |
| 23-Oct-2024 |
Hemant Agrawal <hemant.agrawal@nxp.com> |
net/dpaa2: dump DPDMUX counters
This patch add supports to dump dpdmux counters as they are required to identify the reasons for packet drop in dpdmux.
Signed-off-by: Hemant Agrawal <hemant.agrawal
net/dpaa2: dump DPDMUX counters
This patch add supports to dump dpdmux counters as they are required to identify the reasons for packet drop in dpdmux.
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> Signed-off-by: Rohit Raj <rohit.raj@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
f665790a |
| 13-Dec-2023 |
David Marchand <david.marchand@redhat.com> |
drivers: remove redundant newline from logs
Fix places where two newline characters may be logged.
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Chengwen
drivers: remove redundant newline from logs
Fix places where two newline characters may be logged.
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Chengwen Feng <fengchengwen@huawei.com>
show more ...
|
#
8275d5fc |
| 25-Oct-2022 |
Thomas Monjalon <thomas@monjalon.net> |
ethdev: use Ethernet protocol struct for flow matching
As announced in the deprecation notice, flow item structures should re-use the protocol header definitions from the directory lib/net/. The Eth
ethdev: use Ethernet protocol struct for flow matching
As announced in the deprecation notice, flow item structures should re-use the protocol header definitions from the directory lib/net/. The Ethernet headers (including VLAN) structures are used instead of the redundant fields in the flow items.
The remaining protocols to clean up are listed for future work in the deprecation list. Some protocols are not even defined in the directory net yet.
Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Ferruh Yigit <ferruh.yigit@amd.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@corigine.com> Acked-by: Ori Kam <orika@nvidia.com> Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Acked-by: Chengwen Feng <fengchengwen@huawei.com>
show more ...
|
#
e45956ce |
| 07-Oct-2022 |
Vanshika Shukla <vanshika.shukla@nxp.com> |
net/dpaa2: fix DPDMUX error behaviour
Driver is giving the wrong interface ID while setting the error behaviour.
This patch fixes the issue by passing the correct MAC interface index value to the A
net/dpaa2: fix DPDMUX error behaviour
Driver is giving the wrong interface ID while setting the error behaviour.
This patch fixes the issue by passing the correct MAC interface index value to the API.
Fixes: 3d43972b1b42 ("net/dpaa2: do not drop parse error packets by dpdmux") Cc: stable@dpdk.org
Signed-off-by: Vanshika Shukla <vanshika.shukla@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
b4f22ca5 |
| 28-Jul-2022 |
David Marchand <david.marchand@redhat.com> |
bus/fslmc: make driver-only headers private
The fslmc bus interface is for drivers only. Mark as internal and move the header in the driver headers list.
While at it, cleanup internal structures: -
bus/fslmc: make driver-only headers private
The fslmc bus interface is for drivers only. Mark as internal and move the header in the driver headers list.
While at it, cleanup internal structures: - remove unneeded reference to bus specific singleton object, - remove unneeded list head structure type, - reorder the definitions and macro manipulating the bus singleton object, - remove inclusion of rte_bus.h and update code that relied on it,
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
0b5da8cc |
| 29-Mar-2022 |
Tianli Lai <laitianli@tom.com> |
net/dpaa2: fix dpdmux default interface
if dpdmux objects created by restool tools with the argument "--default-if=<if-id-number>", this function would change it to 1
Fixes: 1def64c2d79e ("net/dpaa
net/dpaa2: fix dpdmux default interface
if dpdmux objects created by restool tools with the argument "--default-if=<if-id-number>", this function would change it to 1
Fixes: 1def64c2d79e ("net/dpaa2: add dpdmux initialization and configuration") Cc: stable@dpdk.org
Signed-off-by: Tianli Lai <laitianli@tom.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.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 ...
|
#
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>
|
#
4ed8a733 |
| 19-Jul-2021 |
Vanshika Shukla <vanshika.shukla@nxp.com> |
net/dpaa2: add some parameter validations
This patch adds validation of the port id for rte_pmd_dpaa2_set_custom_hash API to check if the port is a valid DPAA2 port. Also handles some edge cases in
net/dpaa2: add some parameter validations
This patch adds validation of the port id for rte_pmd_dpaa2_set_custom_hash API to check if the port is a valid DPAA2 port. Also handles some edge cases in the rte_pmd_dpaa2_mux_flow_create API.
Signed-off-by: Vanshika Shukla <vanshika.shukla@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
3d43972b |
| 24-Feb-2021 |
Hemant Agrawal <hemant.agrawal@nxp.com> |
net/dpaa2: do not drop parse error packets by dpdmux
DPDMUX should not drop parse error packets. They shall be left to the decision of the connected DPNI interfaces
Signed-off-by: Hemant Agrawal <h
net/dpaa2: do not drop parse error packets by dpdmux
DPDMUX should not drop parse error packets. They shall be left to the decision of the connected DPNI interfaces
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
914450ba |
| 24-Feb-2021 |
Apeksha Gupta <apeksha.gupta@nxp.com> |
net/dpaa2: skip resetting dpdmux
This is require as the interface is shared with Linux and we do not want the dpdmux to be reset. Rather the default interface to kernel shall continue. command dpdmu
net/dpaa2: skip resetting dpdmux
This is require as the interface is shared with Linux and we do not want the dpdmux to be reset. Rather the default interface to kernel shall continue. command dpdmux_set_resetable is used to skip DPDMUX reset.
By default the DPDMUX_RESET command will reset the DPDMUX completely, dpdmux_set_resetable command will be ignored in old MC firmware.
Signed-off-by: Apeksha Gupta <apeksha.gupta@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
e5e9ef72 |
| 24-Feb-2021 |
Akhil Goyal <akhil.goyal@nxp.com> |
net/dpaa2: support raw pattern in dpdmux
Added support for flow raw pattern and check that the call for dpdmux_set_custom_key() which should be called only once for a particular DPDMUX as all previo
net/dpaa2: support raw pattern in dpdmux
Added support for flow raw pattern and check that the call for dpdmux_set_custom_key() which should be called only once for a particular DPDMUX as all previous rules will be erased with this call. Hence calling it for the first time only.
Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
66c64eb2 |
| 24-Feb-2021 |
Hemant Agrawal <hemant.agrawal@nxp.com> |
net/dpaa2: support configuring dpdmux max Rx frame length
This patch introduce a new PMD API, which can help the applications to configure the max frame length for a given dpdmux interface
Signed-o
net/dpaa2: support configuring dpdmux max Rx frame length
This patch introduce a new PMD API, which can help the applications to configure the max frame length for a given dpdmux interface
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
a6a5f4b4 |
| 15-May-2020 |
Hemant Agrawal <hemant.agrawal@nxp.com> |
bus/fslmc: add accessor for MCP
Currently rte_mcp_ptr_list is being shared as a variable across libs. This is only used in control path. This patch change it to a exported function based access.
Si
bus/fslmc: add accessor for MCP
Currently rte_mcp_ptr_list is being shared as a variable across libs. This is only used in control path. This patch change it to a exported function based access.
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> Acked-by: Ray Kinsella <mdr@ashroe.eu>
show more ...
|
#
7a582318 |
| 08-May-2020 |
Nipun Gupta <nipun.gupta@nxp.com> |
net/dpaa2: support UDP destination port based muxing
This change adds DPDMUX support to bifurcate traffic on the basis of UDP destination port.
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com> Acke
net/dpaa2: support UDP destination port based muxing
This change adds DPDMUX support to bifurcate traffic on the basis of UDP destination port.
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
611faa5f |
| 29-Feb-2020 |
Luca Boccassi <bluca@debian.org> |
fix various typos found by Lintian
Cc: stable@dpdk.org
Signed-off-by: Luca Boccassi <bluca@debian.org>
|
#
16035e4e |
| 29-Aug-2019 |
Hemant Agrawal <hemant.agrawal@nxp.com> |
net/dpaa2: support DPDMUX classification for ethernet
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
|
#
b7ed955a |
| 17-Apr-2019 |
Thomas Monjalon <thomas@monjalon.net> |
ethdev: deprecate legacy filter API
As stated in the deprecation notice from December 2016, "the legacy filter API, including rte_eth_dev_filter_supported(), rte_eth_dev_filter_ctrl() as well as fil
ethdev: deprecate legacy filter API
As stated in the deprecation notice from December 2016, "the legacy filter API, including rte_eth_dev_filter_supported(), rte_eth_dev_filter_ctrl() as well as filter types MACVLAN, ETHERTYPE, FLEXIBLE, SYN, NTUPLE, TUNNEL, FDIR, HASH and L2_TUNNEL, is superseded by the generic flow API (rte_flow)".
After a long wait of more than two years, the legacy filter API is marked as deprecated, while still tested with testpmd and the tep_termination example.
The next step will be to announce a deadline for complete removal. As preparation of the removal of rte_eth_ctrl.h, RTE_ETH_FLOW_*, RTE_TUNNEL_TYPE_* and RTE_ETH_HASH_FUNCTION_* definitions are moved to rte_ethdev.h and rte_flow.h.
Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Shahaf Shuler <shahafs@mellanox.com> Acked-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Jerin Jacob <jerinj@marvell.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com> Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|