#
056ec485 |
| 24-Sep-2020 |
Apeksha Gupta <apeksha.gupta@nxp.com> |
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: stable@dpdk.org
Signed-off-by: Apeksha Gupta <apeksha.gupta@nxp.com> Acked-by: Nipun Gupta <nipun.gupta@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 ...
|
#
40f84025 |
| 07-Jul-2020 |
Jun Yang <jun.yang@nxp.com> |
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 <jun.yang@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
59303cdf |
| 07-Jul-2020 |
Jun Yang <jun.yang@nxp.com> |
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 <jun.yang@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
bac4a296 |
| 07-Jul-2020 |
Jun Yang <jun.yang@nxp.com> |
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 <jun.yang@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
cf707c0f |
| 07-Jul-2020 |
Jun Yang <jun.yang@nxp.com> |
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 <jun.yang@nxp.com> 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 <jun.yang@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
f44f55b3 |
| 07-Jul-2020 |
Jun Yang <jun.yang@nxp.com> |
net/dpaa2: differentiate IPv4/IPv6 in IP flow setup
Discriminate between IPv4 and IPv6 in generic IP flow setup.
Signed-off-by: Jun Yang <jun.yang@nxp.com> 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 <jun.yang@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
f5ed2ea0 |
| 07-Jul-2020 |
Jun Yang <jun.yang@nxp.com> |
net/dpaa2: add logging of flow extracts and rules
This patch add support for logging the flow rules.
Signed-off-by: Jun Yang <jun.yang@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
|
#
d0a77dc3 |
| 07-Jul-2020 |
Jun Yang <jun.yang@nxp.com> |
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 <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 ...
|
#
627fb636 |
| 07-Jul-2020 |
Jun Yang <jun.yang@nxp.com> |
net/dpaa2: free flow rule memory
Free rule memory when the flow is destroyed.
Signed-off-by: Jun Yang <jun.yang@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
|
#
926c1279 |
| 07-Jul-2020 |
Jun Yang <jun.yang@nxp.com> |
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 <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 ...
|
#
4e445633 |
| 07-Jul-2020 |
Jun Yang <jun.yang@nxp.com> |
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 <jun.yang@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>
|
#
96f7bfe8 |
| 10-Sep-2019 |
Sachin Saxena <sachin.saxena@nxp.com> |
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 <sachin.saxena@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
6d13ea8e |
| 21-May-2019 |
Olivier Matz <olivier.matz@6wind.com> |
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 <olivier.matz@6wind.com> Reviewed-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
3b93bed6 |
| 25-Apr-2019 |
Shreyansh Jain <shreyansh.jain@nxp.com> |
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 <ferruh.yigit@intel.com> Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
show more ...
|
#
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 ...
|
#
6a556bd6 |
| 26-Mar-2019 |
Hemant Agrawal <hemant.agrawal@nxp.com> |
net/dpaa2: support flow table flush
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
|
#
fe2b986a |
| 22-Feb-2019 |
Sunil Kumar Kori <sunil.kori@nxp.com> |
net/dpaa2: support generic flow
Signed-off-by: Sunil Kumar Kori <sunil.kori@nxp.com> Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
|