|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1 |
|
| #
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 |
|
| #
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, 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 ...
|
|
Revision tags: v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2, v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2, v20.11-rc1 |
|
| #
056ec485 |
| 24-Sep-2020 |
Apeksha Gupta <[email protected]> |
net/dpaa2: fix check for key size
DPAA2 has support for raw flow classification, which can be used for any protocol rules. This change fixes flow key pattern length match boundary condition with spe
net/dpaa2: fix check for key size
DPAA2 has support for raw flow classification, which can be used for any protocol rules. This change fixes flow key pattern length match boundary condition with spec length.
Fixes: 3f881f8d6eb0 ("net/dpaa2: support raw flow classification") Cc: [email protected]
Signed-off-by: Apeksha Gupta <[email protected]> Acked-by: Nipun Gupta <[email protected]>
show more ...
|
|
Revision tags: v20.08, v20.08-rc4, v20.08-rc3, v20.08-rc2, v20.08-rc1 |
|
| #
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 ...
|
| #
40f84025 |
| 07-Jul-2020 |
Jun Yang <[email protected]> |
net/dpaa2: support flow API FS miss action configuration
1) dpni_set_rx_hash_dist and dpni_set_rx_fs_dist used for TC configuration instead of dpni_set_rx_tc_dist. Otherwise, re-configuration
net/dpaa2: support flow API FS miss action configuration
1) dpni_set_rx_hash_dist and dpni_set_rx_fs_dist used for TC configuration instead of dpni_set_rx_tc_dist. Otherwise, re-configuration of default TC of QoS fails.
2) Default miss action is to drop. "export DPAA2_FLOW_CONTROL_MISS_FLOW=flow_id" is used receive the missed packets from flow with flow ID specified.
Signed-off-by: Jun Yang <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| #
59303cdf |
| 07-Jul-2020 |
Jun Yang <[email protected]> |
net/dpaa2: modify flow API QoS setup to follow FS setup
In HW/MC logical, QoS setup should follow FS setup. In addition, Skip QoS setup if MAX TC number of DPNI is set 1.
Signed-off-by: Jun Yang <j
net/dpaa2: modify flow API QoS setup to follow FS setup
In HW/MC logical, QoS setup should follow FS setup. In addition, Skip QoS setup if MAX TC number of DPNI is set 1.
Signed-off-by: Jun Yang <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| #
bac4a296 |
| 07-Jul-2020 |
Jun Yang <[email protected]> |
net/dpaa2: add flow data sanity check
Check flow attributions and actions before creating flow. Otherwise, the QoS table and FS table need to re-build if checking fails.
Signed-off-by: Jun Yang <ju
net/dpaa2: add flow data sanity check
Check flow attributions and actions before creating flow. Otherwise, the QoS table and FS table need to re-build if checking fails.
Signed-off-by: Jun Yang <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| #
cf707c0f |
| 07-Jul-2020 |
Jun Yang <[email protected]> |
net/dpaa2: support index of queue action for flow
Make more sense to use RXQ index for queue distribution
instead of flow ID.
Signed-off-by: Jun Yang <[email protected]> Acked-by: Hemant Agrawal <h
net/dpaa2: support index of queue action for flow
Make more sense to use RXQ index for queue distribution
instead of flow ID.
Signed-off-by: Jun Yang <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| #
f44f55b3 |
| 07-Jul-2020 |
Jun Yang <[email protected]> |
net/dpaa2: differentiate IPv4/IPv6 in IP flow setup
Discriminate between IPv4 and IPv6 in generic IP flow setup.
Signed-off-by: Jun Yang <[email protected]> Acked-by: Hemant Agrawal <hemant.agrawal@
net/dpaa2: differentiate IPv4/IPv6 in IP flow setup
Discriminate between IPv4 and IPv6 in generic IP flow setup.
Signed-off-by: Jun Yang <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| #
f5ed2ea0 |
| 07-Jul-2020 |
Jun Yang <[email protected]> |
net/dpaa2: add logging of flow extracts and rules
This patch add support for logging the flow rules.
Signed-off-by: Jun Yang <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
|
| #
d0a77dc3 |
| 07-Jul-2020 |
Jun Yang <[email protected]> |
net/dpaa2: define size of table entry
If entry size is not bigger than 27, MC alloc one TCAM entry, otherwise, alloc 2 TCAM entries. Extracts size by HW must be not bigger than TCAM entry size(27 or
net/dpaa2: define size of table entry
If entry size is not bigger than 27, MC alloc one TCAM entry, otherwise, alloc 2 TCAM entries. Extracts size by HW must be not bigger than TCAM entry size(27 or 54). So define the flow entry size as 54.
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 ...
|
| #
627fb636 |
| 07-Jul-2020 |
Jun Yang <[email protected]> |
net/dpaa2: free flow rule memory
Free rule memory when the flow is destroyed.
Signed-off-by: Jun Yang <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
|
| #
926c1279 |
| 07-Jul-2020 |
Jun Yang <[email protected]> |
net/dpaa2: add sanity check for flow extracts
Define extracts support for each protocol and check the fields of each pattern before building extracts of QoS/FS table.
Signed-off-by: Jun Yang <jun.y
net/dpaa2: add sanity check for flow extracts
Define extracts support for each protocol and check the fields of each pattern before building extracts of QoS/FS table.
Signed-off-by: Jun Yang <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| #
5f176728 |
| 07-Jul-2020 |
Jun Yang <[email protected]> |
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 <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| #
4e445633 |
| 07-Jul-2020 |
Jun Yang <[email protected]> |
net/dpaa2: support dynamic flow control
Dynamic flow used instead of layout defined.
The actual key/mask size depends on protocols and(or) fields of patterns specified. Also, the key and mask shoul
net/dpaa2: support dynamic flow control
Dynamic flow used instead of layout defined.
The actual key/mask size depends on protocols and(or) fields of patterns specified. Also, the key and mask should start from the beginning of IOVA.
Signed-off-by: Jun Yang <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
|
Revision tags: v20.05, v20.05-rc4, v20.05-rc3, v20.05-rc2, v20.05-rc1 |
|
| #
611faa5f |
| 29-Feb-2020 |
Luca Boccassi <[email protected]> |
fix various typos found by Lintian
Cc: [email protected]
Signed-off-by: Luca Boccassi <[email protected]>
|
|
Revision tags: v20.02, v20.02-rc4, v20.02-rc3, v20.02-rc2, v20.02-rc1, v19.11, v19.11-rc4, v19.11-rc3, v19.11-rc2, v19.11-rc1 |
|
| #
96f7bfe8 |
| 10-Sep-2019 |
Sachin Saxena <[email protected]> |
net/dpaa2: update MC firmware version
MC firmware is the core component of FSLMC bus and net/DPAA2 devices.
Prior to this patch, MC firmware supported 10.14.x version. This patch bumps the min supp
net/dpaa2: update MC firmware version
MC firmware is the core component of FSLMC bus and net/DPAA2 devices.
Prior to this patch, MC firmware supported 10.14.x version. This patch bumps the min supported version to 10.18.x.
Signed-off-by: Sachin Saxena <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
|
Revision tags: v19.08, v19.08-rc4, v19.08-rc3, v19.08-rc2, v19.08-rc1 |
|
| #
6d13ea8e |
| 21-May-2019 |
Olivier Matz <[email protected]> |
net: add rte prefix to ether structures
Add 'rte_' prefix to structures: - rename struct ether_addr as struct rte_ether_addr. - rename struct ether_hdr as struct rte_ether_hdr. - rename struct vlan_
net: add rte prefix to ether structures
Add 'rte_' prefix to structures: - rename struct ether_addr as struct rte_ether_addr. - rename struct ether_hdr as struct rte_ether_hdr. - rename struct vlan_hdr as struct rte_vlan_hdr. - rename struct vxlan_hdr as struct rte_vxlan_hdr. - rename struct vxlan_gpe_hdr as struct rte_vxlan_gpe_hdr.
Do not update the command line library to avoid adding a dependency to librte_net.
Signed-off-by: Olivier Matz <[email protected]> Reviewed-by: Stephen Hemminger <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]> Reviewed-by: Ferruh Yigit <[email protected]>
show more ...
|
|
Revision tags: v19.05, v19.05-rc4, v19.05-rc3 |
|
| #
3b93bed6 |
| 25-Apr-2019 |
Shreyansh Jain <[email protected]> |
net/dpaa2: fix loop increment
Identified by LGTM, the loop was incorrectly incrementing a different variable and conditional on another.
Fixes: fe2b986ac662 ("net/dpaa2: support generic flow")
Sug
net/dpaa2: fix loop increment
Identified by LGTM, the loop was incorrectly incrementing a different variable and conditional on another.
Fixes: fe2b986ac662 ("net/dpaa2: support generic flow")
Suggested-by: Ferruh Yigit <[email protected]> Signed-off-by: Shreyansh Jain <[email protected]>
show more ...
|
|
Revision tags: v19.05-rc2 |
|
| #
b7ed955a |
| 17-Apr-2019 |
Thomas Monjalon <[email protected]> |
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 <[email protected]> Acked-by: Shahaf Shuler <[email protected]> Acked-by: Andrew Rybchenko <[email protected]> Acked-by: Jerin Jacob <[email protected]> Acked-by: Stephen Hemminger <[email protected]> Acked-by: Hemant Agrawal <[email protected]> Acked-by: Adrien Mazarguil <[email protected]> Acked-by: Ajit Khaparde <[email protected]>
show more ...
|
|
Revision tags: v19.05-rc1 |
|
| #
6a556bd6 |
| 26-Mar-2019 |
Hemant Agrawal <[email protected]> |
net/dpaa2: support flow table flush
Signed-off-by: Hemant Agrawal <[email protected]>
|
| #
fe2b986a |
| 22-Feb-2019 |
Sunil Kumar Kori <[email protected]> |
net/dpaa2: support generic flow
Signed-off-by: Sunil Kumar Kori <[email protected]> Signed-off-by: Hemant Agrawal <[email protected]>
|