| 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 ...
|
| 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 ...
|