| #
95af364b |
| 28-Apr-2022 |
Gagandeep Singh <[email protected]> |
crypto/dpaa2_sec: create fle pool per queue pair
Driver is creating a fle pool with a fixed number of buffers for all queue pairs of a DPSECI object. These fle buffers are equivalent to the number o
crypto/dpaa2_sec: create fle pool per queue pair
Driver is creating a fle pool with a fixed number of buffers for all queue pairs of a DPSECI object. These fle buffers are equivalent to the number of descriptors.
In this patch, creating the fle pool for each queue pair so that user can control the number of descriptors of a queue pair using API rte_cryptodev_queue_pair_setup().
Signed-off-by: Gagandeep Singh <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1 |
|
| #
a41f593f |
| 11-Feb-2022 |
Ferruh Yigit <[email protected]> |
ethdev: introduce generic dummy packet burst function
Multiple PMDs have dummy/noop Rx/Tx packet burst functions.
These dummy functions are very simple, introduce a common function in the ethdev an
ethdev: introduce generic dummy packet burst function
Multiple PMDs have dummy/noop Rx/Tx packet burst functions.
These dummy functions are very simple, introduce a common function in the ethdev and update drivers to use it instead of each driver having its own functions.
Signed-off-by: Ferruh Yigit <[email protected]> Acked-by: Morten Brørup <[email protected]> Acked-by: Viacheslav Ovsiienko <[email protected]> Acked-by: Thomas Monjalon <[email protected]>
show more ...
|
| #
f023d059 |
| 03-Jan-2022 |
Jun Yang <[email protected]> |
net/dpaa2: support recycle loopback port
DPAA2 recycle port is used for configuring the device in the loopback mode. Loopback configuration can be at dpni level or at serdes level.
Signed-off-by: J
net/dpaa2: support recycle loopback port
DPAA2 recycle port is used for configuring the device in the loopback mode. Loopback configuration can be at dpni level or at serdes level.
Signed-off-by: Jun Yang <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| #
6ac5a55b |
| 03-Jan-2022 |
Jun Yang <[email protected]> |
net/dpaa2: handle secondary process for DPNI
This change uses 'dev->process_private' instead of 'priv->hw' to get dpmcp per process while setting flow distribution, as priv->hw is only valid for pri
net/dpaa2: handle secondary process for DPNI
This change uses 'dev->process_private' instead of 'priv->hw' to get dpmcp per process while setting flow distribution, as priv->hw is only valid for primary process. It also initialize rte_dpaa2_bpid_info in secondary process.
Signed-off-by: Jun Yang <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| #
72100f0d |
| 03-Jan-2022 |
Gagandeep Singh <[email protected]> |
net/dpaa2: support level 2 in traffic management
This patch adds support for level 2 for QoS shaping.
Signed-off-by: Gagandeep Singh <[email protected]> Acked-by: Hemant Agrawal <[email protected]
net/dpaa2: support level 2 in traffic management
This patch adds support for level 2 for QoS shaping.
Signed-off-by: Gagandeep Singh <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| #
ed1cdbed |
| 03-Jan-2022 |
Jun Yang <[email protected]> |
net/dpaa2: support multiple Tx queues enqueue for ordered
Support the tx enqueue in order queue mode, where queue id for each event may be different.
Signed-off-by: Jun Yang <[email protected]> Acke
net/dpaa2: support multiple Tx queues enqueue for ordered
Support the tx enqueue in order queue mode, where queue id for each event may be different.
Signed-off-by: Jun Yang <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| #
90762e5c |
| 03-Jan-2022 |
Vanshika Shukla <[email protected]> |
net/dpaa2: fix timestamping for IEEE1588
The current implementation of DPAA2 driver code is such that it records Rx and Tx timestamp for PTP without checking if they are PTP packets or not. Packets
net/dpaa2: fix timestamping for IEEE1588
The current implementation of DPAA2 driver code is such that it records Rx and Tx timestamp for PTP without checking if they are PTP packets or not. Packets for which RTE_MBUF_F_RX_IEEE1588_TMST and RTE_MBUF_F_TX_IEEE1588_TMST is not set, Rx and Tx timestamp should not be recorded.
This patch fixes this issue by checking if the required flags are set in the mbuf before recording timestamps.
Also this change defines separate values for DPAA2_TX_CONF_ENABLE and DPAA2_NO_PREFETCH_RX
Fixes: e806bf878c17 ("net/dpaa2: support timestamp") Cc: [email protected]
Signed-off-by: Vanshika Shukla <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| #
7be78d02 |
| 29-Nov-2021 |
Josh Soref <[email protected]> |
fix spelling in comments and strings
The tool comes from https://github.com/jsoref
Signed-off-by: Josh Soref <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]>
|
|
Revision tags: v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2, v21.11-rc1 |
|
| #
295968d1 |
| 22-Oct-2021 |
Ferruh Yigit <[email protected]> |
ethdev: add namespace
Add 'RTE_ETH' namespace to all enums & macros in a backward compatible way. The macros for backward compatibility can be removed in next LTS. Also updated some struct names to
ethdev: add namespace
Add 'RTE_ETH' namespace to all enums & macros in a backward compatible way. The macros for backward compatibility can be removed in next LTS. Also updated some struct names to have 'rte_eth' prefix.
All internal components switched to using new names.
Syntax fixed on lines that this patch touches.
Signed-off-by: Ferruh Yigit <[email protected]> Acked-by: Tyler Retzlaff <[email protected]> Acked-by: Andrew Rybchenko <[email protected]> Acked-by: Ajit Khaparde <[email protected]> Acked-by: Jerin Jacob <[email protected]> Acked-by: Wisam Jaddo <[email protected]> Acked-by: Rosen Xu <[email protected]> Acked-by: Chenbo Xia <[email protected]> Acked-by: Hemant Agrawal <[email protected]> Acked-by: Somnath Kotur <[email protected]>
show more ...
|
| #
89e84dea |
| 06-Oct-2021 |
Vanshika Shukla <[email protected]> |
net/dpaa2: add more RSS distributions
This patch updates the RSS support to support following additional distributions: - VLAN - ESP - AH - PPPOE
Signed-off-by: Vanshika Shukla <vanshika.shukla@nxp
net/dpaa2: add more RSS distributions
This patch updates the RSS support to support following additional distributions: - VLAN - ESP - AH - PPPOE
Signed-off-by: Vanshika Shukla <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| #
028d1dfd |
| 06-Oct-2021 |
Jun Yang <[email protected]> |
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 <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
|
Revision tags: v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2 |
|
| #
4ed8a733 |
| 19-Jul-2021 |
Vanshika Shukla <[email protected]> |
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 <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
|
Revision tags: v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1 |
|
| #
fb7ad441 |
| 21-Mar-2021 |
Thomas Monjalon <[email protected]> |
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 <[email protected]> Acked-by: Ajit Khaparde <[email protected]> Acked-by: Haiyue Wang <[email protected]> Acked-by: Rosen Xu <[email protected]> Acked-by: Hemant Agrawal <[email protected]> Reviewed-by: Andrew Rybchenko <[email protected]> Reviewed-by: Ferruh Yigit <[email protected]>
show more ...
|
| #
4690a611 |
| 24-Feb-2021 |
Nipun Gupta <[email protected]> |
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 <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| #
8d21c563 |
| 24-Feb-2021 |
Hemant Agrawal <[email protected]> |
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 <[email protected]>
show more ...
|
| #
ac624068 |
| 24-Feb-2021 |
Gagandeep Singh <[email protected]> |
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 <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
|
Revision tags: v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2 |
|
| #
1832bc8e |
| 20-Jan-2021 |
Apeksha Gupta <[email protected]> |
net/dpaa2: support MPLS distribution
add support for MPLS based distribution is supported.
Signed-off-by: Apeksha Gupta <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
|
|
Revision tags: v21.02-rc1 |
|
| #
043b5715 |
| 18-Jan-2021 |
Steve Yang <[email protected]> |
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: [email protected]
Signed-off-by: Steve Yang <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
|
Revision tags: v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2 |
|
| #
61c41e2e |
| 29-Oct-2020 |
Thomas Monjalon <[email protected]> |
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 <[email protected]> Acked-by: Hemant Agrawal <[email protected]> Acked-by: David Marchand <[email protected]> Acked-by: Olivier Matz <[email protected]>
show more ...
|
|
Revision tags: v20.11-rc1 |
|
| #
c6299a08 |
| 06-Oct-2020 |
Chenxu Di <[email protected]> |
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: [email protected]
Signed-off-by: Chenxu Di <[email protected]> Signed-off-by: Ferruh Yigit <[email protected]> Acked-by: Sachin Saxena <[email protected]>
show more ...
|
|
Revision tags: v20.08, v20.08-rc4, v20.08-rc3, v20.08-rc2, v20.08-rc1 |
|
| #
724f79df |
| 10-Jul-2020 |
Hemant Agrawal <[email protected]> |
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 <[email protected]>
show more ...
|
| #
422aa32c |
| 10-Jul-2020 |
Hemant Agrawal <[email protected]> |
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 <[email protected]>
show more ...
|
| #
3f881f8d |
| 07-Jul-2020 |
Nipun Gupta <[email protected]> |
net/dpaa2: support raw flow classification
Add support for raw flow, which can be used for any protocol rules.
Signed-off-by: Nipun Gupta <[email protected]> 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 <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| #
271f5aee |
| 07-Jul-2020 |
Jun Yang <[email protected]> |
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 <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| #
4ce58f8a |
| 07-Jul-2020 |
Jun Yang <[email protected]> |
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 <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|