[v21,01/13] config: add zsda device number

Message ID 20241111024219.3126193-2-li.hanxiao@zte.com.cn (mailing list archive)
State Superseded, archived
Delegated to: akhil goyal
Headers
Series drivers/zsda: introduce zsda drivers |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Hanxiao Li Nov. 11, 2024, 2:42 a.m. UTC
Add the number of zsda devices.

Signed-off-by: Hanxiao Li <li.hanxiao@zte.com.cn>
---
 config/rte_config.h | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.27.0
  

Comments

Hanxiao Li Nov. 11, 2024, 3:22 a.m. UTC | #1
Hi Akhil:

  I noticed that the state of patches is truned to 'Changes Requested', after turned to 'Deferred'.
  So I modify and submit patches as soon as possible.

  After modifying the patches, it was a bit late.
  I noticed some errors, after submitting them. so I submitted v20 and v21 later.
  I'm so sorry, if so many emails disturb you.

  Besides, there is a misspelled error in comments of patch 11/13.
  Is this a serious problem? If not, I will modify it in next series of patches.
  Because I have only submitted one of four parts so far.

  And If you think it's better to merged in next release. Well, It's ok.

Thanks and sorry,
Hanxiao Li
  

Patch

diff --git a/config/rte_config.h b/config/rte_config.h
index dd7bb0d35b..e1e85b3291 100644
--- a/config/rte_config.h
+++ b/config/rte_config.h
@@ -117,6 +117,10 @@ 
 #define RTE_PMD_QAT_COMP_SGL_MAX_SEGMENTS 16
 #define RTE_PMD_QAT_COMP_IM_BUFFER_SIZE 65536
 
+/* ZSDA device */
+/* Max. number of ZSDA devices which can be attached */
+#define RTE_PMD_ZSDA_MAX_PCI_DEVICES 256
+
 /* virtio crypto defines */
 #define RTE_MAX_VIRTIO_CRYPTO 32