#
028d1dfd |
| 06-Oct-2021 |
Jun Yang <jun.yang@nxp.com> |
net/dpaa2: support Tx flow redirection action
TX redirection support by flow action RTE_FLOW_ACTION_TYPE_PHY_PORT and RTE_FLOW_ACTION_TYPE_PORT_ID
This action is executed by HW to forward packets b
net/dpaa2: support Tx flow redirection action
TX redirection support by flow action RTE_FLOW_ACTION_TYPE_PHY_PORT and RTE_FLOW_ACTION_TYPE_PORT_ID
This action is executed by HW to forward packets between ports. If the ingress packets match the rule, the packets are switched without software involved and perf is improved as well.
Signed-off-by: Jun Yang <jun.yang@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
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 ...
|
#
fb7ad441 |
| 21-Mar-2021 |
Thomas Monjalon <thomas@monjalon.net> |
ethdev: replace callback getting filter operations
Since rte_flow is the only API for filtering operations, the legacy driver interface filter_ctrl was too much complicated for the simple task of ge
ethdev: replace callback getting filter operations
Since rte_flow is the only API for filtering operations, the legacy driver interface filter_ctrl was too much complicated for the simple task of getting the struct rte_flow_ops.
The filter type RTE_ETH_FILTER_GENERIC and the filter operarion RTE_ETH_FILTER_GET are removed. The new driver callback flow_ops_get replaces filter_ctrl.
Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Acked-by: Haiyue Wang <haiyue.wang@intel.com> Acked-by: Rosen Xu <rosen.xu@intel.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com> Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
4690a611 |
| 24-Feb-2021 |
Nipun Gupta <nipun.gupta@nxp.com> |
net/dpaa2: enable error queues optionally
In case error packets are received by the Ethernet interface, this patch enables receiving packets on the error queue, printing the error and the error pack
net/dpaa2: enable error queues optionally
In case error packets are received by the Ethernet interface, this patch enables receiving packets on the error queue, printing the error and the error packet.
To enable, use the dev_arg as : fslmc:dpni.1,drv_error_queue=1
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
8d21c563 |
| 24-Feb-2021 |
Hemant Agrawal <hemant.agrawal@nxp.com> |
net/dpaa2: support optional Tx confirmation
Add support for dev arg ``fslmc:dpni.1,drv_tx_conf=1``
It is optional for dpaa2 to use TX confirmation. DPAA2 can free the transmitted packets. However s
net/dpaa2: support optional Tx confirmation
Add support for dev arg ``fslmc:dpni.1,drv_tx_conf=1``
It is optional for dpaa2 to use TX confirmation. DPAA2 can free the transmitted packets. However some use-case requires the TX confirmation to be explicit.
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
ac624068 |
| 24-Feb-2021 |
Gagandeep Singh <g.singh@nxp.com> |
net/dpaa2: support traffic management
Add basic support for scheduling and shaping on dpaa2 platform.
HW supports 2 level of scheduling and shaping. However the current patch only support single le
net/dpaa2: support traffic management
Add basic support for scheduling and shaping on dpaa2 platform.
HW supports 2 level of scheduling and shaping. However the current patch only support single level.
Signed-off-by: Gagandeep Singh <g.singh@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
1832bc8e |
| 20-Jan-2021 |
Apeksha Gupta <apeksha.gupta@nxp.com> |
net/dpaa2: support MPLS distribution
add support for MPLS based distribution is supported.
Signed-off-by: Apeksha Gupta <apeksha.gupta@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
|
#
043b5715 |
| 18-Jan-2021 |
Steve Yang <stevex.yang@intel.com> |
net/dpaa2: fix jumbo frame flag condition for MTU set
The jumbo frame uses the 'RTE_ETHER_MAX_LEN' as boundary condition, but the Ether overhead is larger than 18 when it supports VLAN tag. That wil
net/dpaa2: fix jumbo frame flag condition for MTU set
The jumbo frame uses the 'RTE_ETHER_MAX_LEN' as boundary condition, but the Ether overhead is larger than 18 when it supports VLAN tag. That will cause the jumbo flag rx offload is wrong when MTU size is 'RTE_ETHER_MTU'.
This fix will change the boundary condition with 'RTE_ETHER_MTU' and overhead, that perhaps impacts the cases of the jumbo frame related.
Fixes: e16408499412 ("net/dpaa2: configure jumbo frames") Cc: stable@dpdk.org
Signed-off-by: Steve Yang <stevex.yang@intel.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
61c41e2e |
| 29-Oct-2020 |
Thomas Monjalon <thomas@monjalon.net> |
net/dpaa2: switch Rx timestamp to dynamic mbuf field
The mbuf timestamp is moved to a dynamic field in order to allow removal of the deprecated static field. The related mbuf flag is also replaced.
net/dpaa2: switch Rx timestamp to dynamic mbuf field
The mbuf timestamp is moved to a dynamic field in order to allow removal of the deprecated static field. The related mbuf flag is also replaced.
Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com> Acked-by: David Marchand <david.marchand@redhat.com> Acked-by: Olivier Matz <olivier.matz@6wind.com>
show more ...
|
#
c6299a08 |
| 06-Oct-2020 |
Chenxu Di <chenxux.di@intel.com> |
net/dpaa2: fix build with timesync functions
Some timesync related source files are built only when 'RTE_LIBRTE_IEEE1588' config is set, which is missing in meson.
Building with '-DRTE_LIBRTE_IEEE1
net/dpaa2: fix build with timesync functions
Some timesync related source files are built only when 'RTE_LIBRTE_IEEE1588' config is set, which is missing in meson.
Building with '-DRTE_LIBRTE_IEEE1588' cflag will enable timesync functionality in the files that are build, but it won't build files that require 'RTE_LIBRTE_IEEE1588' config. This causes the build error.
Fixing by removing config check in meson file and build all .c files by default, but wrap relevant code part with 'RTE_LIBRTE_IEEE1588' macro.
Also removing 'RTE_LIBRTE_IEEE1588' ifdef around some fields of the data structures, to not require finer grained macro wraps on the functions using them. Since the registration of the function disabled with macro check, having functions compiled shouldn't affect the functionality.
Fixes: 184c39d16568 ("net/dpaa2: add DPRTC sub-module") Cc: stable@dpdk.org
Signed-off-by: Chenxu Di <chenxux.di@intel.com> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Sachin Saxena <sachin.saxena@oss.nxp.com>
show more ...
|
#
724f79df |
| 10-Jul-2020 |
Hemant Agrawal <hemant.agrawal@nxp.com> |
net/dpaa2: support per-port Rx mbuf timestamp
DEV_RX_OFFLOAD_TIMESTAMP is per port, so the internal implementation shall enable it on per port basis only.
Signed-off-by: Hemant Agrawal <hemant.agra
net/dpaa2: support per-port Rx mbuf timestamp
DEV_RX_OFFLOAD_TIMESTAMP is per port, so the internal implementation shall enable it on per port basis only.
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
422aa32c |
| 10-Jul-2020 |
Hemant Agrawal <hemant.agrawal@nxp.com> |
net/dpaa2: remove Rx timestamp enable PMD API
This experimental API is no longer required as the same purpose can be solved with standard DEV_RX_OFFLOAD_TIMESTAMP
Signed-off-by: Hemant Agrawal <hem
net/dpaa2: remove Rx timestamp enable PMD API
This experimental API is no longer required as the same purpose can be solved with standard DEV_RX_OFFLOAD_TIMESTAMP
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
3f881f8d |
| 07-Jul-2020 |
Nipun Gupta <nipun.gupta@nxp.com> |
net/dpaa2: support raw flow classification
Add support for raw flow, which can be used for any protocol rules.
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com> Acked-by: Hemant Agrawal <hemant.agra
net/dpaa2: support raw flow classification
Add support for raw flow, which can be used for any protocol rules.
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
271f5aee |
| 07-Jul-2020 |
Jun Yang <jun.yang@nxp.com> |
net/dpaa2: support distribution size set on multiple TCs
Default distribution size of TC is 1, which is limited by MC. We have to set the distribution size for each TC to support multiple RXQs per T
net/dpaa2: support distribution size set on multiple TCs
Default distribution size of TC is 1, which is limited by MC. We have to set the distribution size for each TC to support multiple RXQs per TC.
Signed-off-by: Jun Yang <jun.yang@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
4ce58f8a |
| 07-Jul-2020 |
Jun Yang <jun.yang@nxp.com> |
net/dpaa2: support QoS or FS table entry indexing
Calculate QoS/FS entry index by group and priority of flow.
1)The less index of entry, the higher priority of flow. 2)Verify if the flow with same
net/dpaa2: support QoS or FS table entry indexing
Calculate QoS/FS entry index by group and priority of flow.
1)The less index of entry, the higher priority of flow. 2)Verify if the flow with same group and priority has been added before creating flow.
Signed-off-by: Jun Yang <jun.yang@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
5f176728 |
| 07-Jul-2020 |
Jun Yang <jun.yang@nxp.com> |
net/dpaa2: support key extracts of flow API
1) Support QoS extracts and TC extracts for multiple TCs.
2) Protocol type of L2 extract is used to parse L3. Next protocol of L3 extract is used to p
net/dpaa2: support key extracts of flow API
1) Support QoS extracts and TC extracts for multiple TCs.
2) Protocol type of L2 extract is used to parse L3. Next protocol of L3 extract is used to parse L4.
3) generic IP key extracts instead of IPv4 and IPv6 respectively.
4) Special for IP address extracts: Put IP(v4/v6) address extract(s)/rule(s) at the end of extracts array to make rest fields at fixed position.
Signed-off-by: Jun Yang <jun.yang@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
6b6ca751 |
| 15-May-2020 |
Hemant Agrawal <hemant.agrawal@nxp.com> |
drivers: mark internal NXP symbols
This patch moves the internal symbols to INTERNAL sections so that any change in them is not reported as ABI breakage.
Signed-off-by: Hemant Agrawal <hemant.agraw
drivers: mark internal NXP symbols
This patch moves the internal symbols to INTERNAL sections so that any change in them is not reported as ABI breakage.
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> Acked-by: Ray Kinsella <mdr@ashroe.eu>
show more ...
|
#
e35ead33 |
| 08-May-2020 |
Hemant Agrawal <hemant.agrawal@nxp.com> |
net/dpaa2: add default Rx/Tx configuration
This patch adds default/preferred rx/tx params in dev info, specially the advertised burst size.
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
|
#
f2fc83b4 |
| 09-Feb-2020 |
Thomas Monjalon <thomas@monjalon.net> |
replace unused attributes
There is a common macro __rte_unused, avoiding warnings, which is now used where appropriate for consistency.
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
|
#
3835cc22 |
| 17-Oct-2019 |
Nipun Gupta <nipun.gupta@nxp.com> |
event/dpaa2: set priority as per DPCON device
This patch sets the priority of the dpcon dev, such that it is within the supported range of dpcon
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com> Ack
event/dpaa2: set priority as per DPCON device
This patch sets the priority of the dpcon dev, such that it is within the supported range of dpcon
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
72ec7a67 |
| 29-Aug-2019 |
Sunil Kumar Kori <sunil.kori@nxp.com> |
net/dpaa2: add soft parser driver
Signed-off-by: Sunil Kumar Kori <sunil.kori@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
|
#
81c42c84 |
| 29-Aug-2019 |
Shreyansh Jain <shreyansh.jain@nxp.com> |
net/dpaa2: support separate MC portal per process
Earlier, there was a single MCP handle which was available across complete DPAA2 driver as well as part of the dev_private which was shared by the s
net/dpaa2: support separate MC portal per process
Earlier, there was a single MCP handle which was available across complete DPAA2 driver as well as part of the dev_private which was shared by the secondary process.
For secondary, that is not valid and it would require to open its own handle for the MC. This is eventually used as part of the DPNI configuration.
By using the process_private member of the rte_eth_dev, it is possible to keep separate handles per process. Without worry of overwriting when secondary process accesses the dev_private.
Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com> Reviewed-by: Sachin Saxena <sachin.saxena@nxp.com>
show more ...
|
#
bc767866 |
| 29-Aug-2019 |
Priyanka Jain <priyanka.jain@nxp.com> |
net/dpaa2: add PTP driver
This patch adds the support for PTP driver for DPAA2 devices.
To enable set CONFIG_RTE_LIBRTE_IEEE1588=y in config/defconfig_arm64-dpaa2-linuxapp-gc
Signed-off-by: Priyan
net/dpaa2: add PTP driver
This patch adds the support for PTP driver for DPAA2 devices.
To enable set CONFIG_RTE_LIBRTE_IEEE1588=y in config/defconfig_arm64-dpaa2-linuxapp-gc
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
9ceacab7 |
| 29-Aug-2019 |
Priyanka Jain <priyanka.jain@nxp.com> |
net/dpaa2: support Tx confirmation mode
TX confirmation mode provides dedicated confirmation queues for transmitted packets. These queues are used by software to get the status and release transmitt
net/dpaa2: support Tx confirmation mode
TX confirmation mode provides dedicated confirmation queues for transmitted packets. These queues are used by software to get the status and release transmitted packets buffers.
By default TX confirmation mode is kept disabled.
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
13b856ac |
| 29-Aug-2019 |
Hemant Agrawal <hemant.agrawal@nxp.com> |
net/dpaa2: support taildrop on frame count basis
The existing taildrop was based on queue data size. This patch replaces it with frame count bases using CGR methods of DPAA2 device. The number of CG
net/dpaa2: support taildrop on frame count basis
The existing taildrop was based on queue data size. This patch replaces it with frame count bases using CGR methods of DPAA2 device. The number of CGRs are limited. So, - use per queue CGR based tail drop for as many as CGR available. - Remaining queues shall use the legacy byte based tail drop
Number of CGRs can be controlled by dpl file during dpni_create.
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|