| be541d37 | 16-May-2022 |
Pavan Nikhilesh <[email protected]> |
common/cnxk: lock when accessing mbox of SSO
Since mailbox is now accessed from multiple threads, use lock to synchronize access.
Signed-off-by: Pavan Nikhilesh <[email protected]> Signed-of
common/cnxk: lock when accessing mbox of SSO
Since mailbox is now accessed from multiple threads, use lock to synchronize access.
Signed-off-by: Pavan Nikhilesh <[email protected]> Signed-off-by: Shijith Thotton <[email protected]>
show more ...
|
| 18ca4a4e | 12-May-2022 |
Raja Zidane <[email protected]> |
net/mlx5: support ESP SPI match and RSS hash
In packets with ESP header, the inner IP will be encrypted, and its fields cannot be used for RSS hashing. So, ESP packets can be hashed only by the oute
net/mlx5: support ESP SPI match and RSS hash
In packets with ESP header, the inner IP will be encrypted, and its fields cannot be used for RSS hashing. So, ESP packets can be hashed only by the outer IP layer. So, when using RSS on ESP packets, hashing may not be efficient, because the fields used by the hash functions are only the outer IPs, causing all traffic belonging to all tunnels between a given pair of GWs to land on one core. Adding the SPI hash field can extend the spreading of IPsec packets.
Signed-off-by: Raja Zidane <[email protected]> Acked-by: Matan Azrad <[email protected]>
show more ...
|
| 3c100e0e | 08-May-2022 |
Nithin Dabilpuram <[email protected]> |
common/cnxk: support per-port RQ in inline device
Add support for per port RQ in inline device thereby using Aura/Pool attributes from that port specific first RQ. When inline device is used with ch
common/cnxk: support per-port RQ in inline device
Add support for per port RQ in inline device thereby using Aura/Pool attributes from that port specific first RQ. When inline device is used with channel masking, it will fallback to single RQ for all ethdev ports.
Also remove clamping up of CQ size for LBK ethdev when inline inbound is enabled as now backpressure is supported even on LBK ethdevs.
Signed-off-by: Nithin Dabilpuram <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| f0b9158c | 08-May-2022 |
Nithin Dabilpuram <[email protected]> |
common/cnxk: use aggregate level RR priority from mbox
Use aggregate level Round Robin Priority from mbox response instead of fixing it to single macro. This is useful when kernel AF driver changes
common/cnxk: use aggregate level RR priority from mbox
Use aggregate level Round Robin Priority from mbox response instead of fixing it to single macro. This is useful when kernel AF driver changes the constant.
Signed-off-by: Nithin Dabilpuram <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 24d37e07 | 08-May-2022 |
Akhil Goyal <[email protected]> |
common/cnxk: convert warning to debug print
Inbound SA SPI if not in min-max range specified in devargs, was marked as a warning. But this is not converted to debug print because if the entry is fou
common/cnxk: convert warning to debug print
Inbound SA SPI if not in min-max range specified in devargs, was marked as a warning. But this is not converted to debug print because if the entry is found to be duplicate in the mask, it will give another error print. Hence, warning print is not needed and is now converted to debug print.
Signed-off-by: Akhil Goyal <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| f5a43270 | 08-May-2022 |
Nithin Dabilpuram <[email protected]> |
common/cnxk: fix soft expiry disable path
Fix issues in mode where soft expiry is disabled in ROC. When soft expiry support is not enabled in inline device, memory is not allocated for the ring base
common/cnxk: fix soft expiry disable path
Fix issues in mode where soft expiry is disabled in ROC. When soft expiry support is not enabled in inline device, memory is not allocated for the ring base array and should not be accessed.
Fixes: bea5d990a93b ("net/cnxk: support outbound soft expiry notification") Cc: [email protected]
Signed-off-by: Nithin Dabilpuram <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| b315581c | 08-May-2022 |
Rakesh Kudurumalla <[email protected]> |
common/cnxk: skip probing SoC environment for CN9K
SoC run platform file is not present in CN9k so probing is done for CN10k devices
Signed-off-by: Rakesh Kudurumalla <[email protected]> Ack
common/cnxk: skip probing SoC environment for CN9K
SoC run platform file is not present in CN9k so probing is done for CN10k devices
Signed-off-by: Rakesh Kudurumalla <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| e746aec1 | 08-May-2022 |
Satha Rao <[email protected]> |
common/cnxk: fix SQ flush sequence
Fix SQ flush sequence to issue NIX RX SW Sync after SMQ flush. This sync ensures that all the packets that were in-flight are flushed out of memory.
This patch al
common/cnxk: fix SQ flush sequence
Fix SQ flush sequence to issue NIX RX SW Sync after SMQ flush. This sync ensures that all the packets that were in-flight are flushed out of memory.
This patch also fixes NULL return issues reported by static analysis tool in Traffic Manager and sync's mailbox to that of the kernel version.
Fixes: 05d727e8b14a ("common/cnxk: support NIX traffic management") Fixes: 0b7e667ee303 ("common/cnxk: enable packet marking") Cc: [email protected]
Signed-off-by: Satha Rao <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 064e7903 | 08-May-2022 |
Vidya Sagar Velumuri <[email protected]> |
common/cnxk: support timestamp PKIND in CPT
Add new API to configure the SA table entries with new CPT PKIND when timestamp is enabled.
Signed-off-by: Vidya Sagar Velumuri <[email protected]> A
common/cnxk: support timestamp PKIND in CPT
Add new API to configure the SA table entries with new CPT PKIND when timestamp is enabled.
Signed-off-by: Vidya Sagar Velumuri <[email protected]> Acked-by: Ray Kinsella <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 76aa8098 | 08-May-2022 |
Vidya Sagar Velumuri <[email protected]> |
common/cnxk: add new PKIND for CPT when ts is enabled
With timestamp enabled, time stamp will be added to second pass packets from CPT. NPC needs different configuration to parse second pass packets
common/cnxk: add new PKIND for CPT when ts is enabled
With timestamp enabled, time stamp will be added to second pass packets from CPT. NPC needs different configuration to parse second pass packets with and without timestamp. New PKIND is defined for CPT when time stamp is enabled on NIX. CPT should use this PKIND for second pass packets when TS is enabled for corresponding ethdev port.
Signed-off-by: Vidya Sagar Velumuri <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| ff1400aa | 08-May-2022 |
Radha Mohan Chintakuntla <[email protected]> |
net/cnxk: add receive channel backpressure for SDP
The SDP interfaces also need to be configured for NIX receive channel backpressure for packet receive.
Signed-off-by: Radha Mohan Chintakuntla <ra
net/cnxk: add receive channel backpressure for SDP
The SDP interfaces also need to be configured for NIX receive channel backpressure for packet receive.
Signed-off-by: Radha Mohan Chintakuntla <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 28b283fa | 08-May-2022 |
Subrahmanyam Nilla <[email protected]> |
common/cnxk: support multi channel for SDP send queues
Currently only base channel number is configured as default channel for all the SDP send queues. Due to this, packets sent on different SQ's ar
common/cnxk: support multi channel for SDP send queues
Currently only base channel number is configured as default channel for all the SDP send queues. Due to this, packets sent on different SQ's are landing on the same output queue on the host. Channel number in the send queue should be configured according to the number of queues assigned to the SDP PF or VF device.
Signed-off-by: Subrahmanyam Nilla <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| a800675b | 27-Apr-2022 |
Satheesh Paul <[email protected]> |
net/cnxk: support IPv6 fragment flow pattern item
Support matching IPv6 fragment extension header with RTE_FLOW_ITEM_TYPE_IPV6_FRAG_EXT flow pattern item.
Signed-off-by: Satheesh Paul <psatheesh@ma
net/cnxk: support IPv6 fragment flow pattern item
Support matching IPv6 fragment extension header with RTE_FLOW_ITEM_TYPE_IPV6_FRAG_EXT flow pattern item.
Signed-off-by: Satheesh Paul <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| b934e65b | 30-Apr-2022 |
Vamsi Attunuru <[email protected]> |
net/cnxk: enable 3DES-CBC capability
Enable 3DES-CBC capability of inline crypto device.
Signed-off-by: Vamsi Attunuru <[email protected]> Acked-by: Jerin Jacob <[email protected]> |
| bbe8d1f1 | 04-May-2022 |
Kiran Kumar K <[email protected]> |
common/cnxk: support parsing custom SA action
Adding ROC Flow changes to parse custom SA action for cnxk device. When custom sa action is enabled, VTAG actions are not allowed. And custom SA index w
common/cnxk: support parsing custom SA action
Adding ROC Flow changes to parse custom SA action for cnxk device. When custom sa action is enabled, VTAG actions are not allowed. And custom SA index will be calculated based on SA_HI and SA_LO values. This allows the potential for a MCAM entry to match many SAs, rather than only match a single SA.
Signed-off-by: Kiran Kumar K <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| e4a96623 | 24-Apr-2022 |
Gowrishankar Muthukrishnan <[email protected]> |
common/cnxk: fix sizeof not portable
Fix sizeof not portable issue reported in coverity scan.
Coverity issue: 376538 Fixes: 7e9a94909ee ("common/cnxk: realloc inline device XAQ AURA") Cc: stable@dp
common/cnxk: fix sizeof not portable
Fix sizeof not portable issue reported in coverity scan.
Coverity issue: 376538 Fixes: 7e9a94909ee ("common/cnxk: realloc inline device XAQ AURA") Cc: [email protected]
Signed-off-by: Gowrishankar Muthukrishnan <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| ea0d681e | 24-Apr-2022 |
Gowrishankar Muthukrishnan <[email protected]> |
common/cnxk: fix null pointer dereference
Fix null pointer dereference reported in coverity scan.
Coverity issue: 372065 Fixes: 665b6a7400b ("common/cnxk: add NPC helper API") Cc: [email protected]
common/cnxk: fix null pointer dereference
Fix null pointer dereference reported in coverity scan.
Coverity issue: 372065 Fixes: 665b6a7400b ("common/cnxk: add NPC helper API") Cc: [email protected]
Signed-off-by: Gowrishankar Muthukrishnan <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 6a65e22a | 20-Apr-2022 |
Satheesh Paul <[email protected]> |
common/cnxk: fix unaligned access to device memory
Use mbox_memcpy() instead of memcpy() to prevent unaligned access.
Fixes: 1f66919817e ("common/cnxk: improve MCAM entries management") Cc: stable@
common/cnxk: fix unaligned access to device memory
Use mbox_memcpy() instead of memcpy() to prevent unaligned access.
Fixes: 1f66919817e ("common/cnxk: improve MCAM entries management") Cc: [email protected]
Signed-off-by: Satheesh Paul <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 1f997c06 | 30-Mar-2022 |
Rahul Bhansali <[email protected]> |
common/cnxk: add ROC errata list
Created roc_errata.h to list the errata handled in userspace drivers. Added no_drop_re, cq_min_size_4k, no_fc_stype_ststp, no_drop_aging, no_vwqe_flush_op etc errata
common/cnxk: add ROC errata list
Created roc_errata.h to list the errata handled in userspace drivers. Added no_drop_re, cq_min_size_4k, no_fc_stype_ststp, no_drop_aging, no_vwqe_flush_op etc erratas.
Signed-off-by: Rahul Bhansali <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 7ae43d88 | 28-Mar-2022 |
Volodymyr Fialko <[email protected]> |
common/cnxk: add null check for inline device
Inline device could be null in cases when it was not bound or missing. Added check to prevent null pointer access.
Fixes: fe5846bcc07 ("net/cnxk: add d
common/cnxk: add null check for inline device
Inline device could be null in cases when it was not bound or missing. Added check to prevent null pointer access.
Fixes: fe5846bcc07 ("net/cnxk: add devargs for min-max SPI") Cc: [email protected]
Signed-off-by: Volodymyr Fialko <[email protected]>
show more ...
|
| c6353c57 | 17-Mar-2022 |
Satheesh Paul <[email protected]> |
common/cnxk: fix QinQ ROC item mismatch
ROC code is assuming presence of vlan extension headers in case of QinQ, because of this, there is incompatibility between the driver and ROC. Fixed this in R
common/cnxk: fix QinQ ROC item mismatch
ROC code is assuming presence of vlan extension headers in case of QinQ, because of this, there is incompatibility between the driver and ROC. Fixed this in ROC by treating QINQ as multiple VLAN pattern items for DPDK (as opposed to treating QINQ as separate pattern item).
Fixes: b8ac8b089ce ("common/cnxk: support matching VLAN existence") Cc: [email protected]
Signed-off-by: Satheesh Paul <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| fe8e6571 | 17-Mar-2022 |
Satheesh Paul <[email protected]> |
common/cnxk: correct ROC naming conventions
Corrected some names to follow ROC naming convention in ROC NPC code.
Signed-off-by: Satheesh Paul <[email protected]> Acked-by: Jerin Jacob <jerinj@
common/cnxk: correct ROC naming conventions
Corrected some names to follow ROC naming convention in ROC NPC code.
Signed-off-by: Satheesh Paul <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 4968b362 | 28-Feb-2022 |
Satheesh Paul <[email protected]> |
common/cnxk: support CPT second pass flow rules
Added support to create flow rules to match packets from CPT's second pass packets. With this change, ingress rules will be created with bits 10 and 1
common/cnxk: support CPT second pass flow rules
Added support to create flow rules to match packets from CPT's second pass packets. With this change, ingress rules will be created with bits 10 and 11 of channel field in the MCAM ignored by default. For rules specific to second pass packets, the CPT channel bits will be set in the MCAM.
Signed-off-by: Satheesh Paul <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 90160401 | 28-Apr-2022 |
Simei Su <[email protected]> |
common/iavf: support Rx timestamp in virtual channel
Add new ops and structures to support VF to support Rx timestamp on flex descriptor.
"VIRTCHNL_OP_1588_PTP_GET_CAPS" ops is sent by the VF to re
common/iavf: support Rx timestamp in virtual channel
Add new ops and structures to support VF to support Rx timestamp on flex descriptor.
"VIRTCHNL_OP_1588_PTP_GET_CAPS" ops is sent by the VF to request PTP capabilities and responded by the PF with capabilities enabled for that VF.
"VIRTCHNL_OP_1588_PTP_GET_TIME" ops is sent by the VF to request the current time of the PHC. The PF will respond by reading the device time and reporting it back to the VF.
Signed-off-by: Simei Su <[email protected]> Acked-by: Qi Zhang <[email protected]>
show more ...
|
| c54fb3f7 | 28-Apr-2022 |
Gagandeep Singh <[email protected]> |
common/dpaax: fix short MAC-I IV calculation for ZUC
Fixing the IV calculation for ZUC based short MAC-I as per the HW security engine guidelines.
Fixes: 73a24060cd70 ("crypto/dpaa2_sec: add sample
common/dpaax: fix short MAC-I IV calculation for ZUC
Fixing the IV calculation for ZUC based short MAC-I as per the HW security engine guidelines.
Fixes: 73a24060cd70 ("crypto/dpaa2_sec: add sample PDCP descriptor APIs") Cc: [email protected]
Signed-off-by: Gagandeep Singh <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|