net/cnxk: add flag to show CPT can enqueue events

CPT can be told to submit events to SSO upon completion.
Crypto adapter uses this feature and the new flag can be
used to optimize receive path in those cases.

Signed-off-by: Shijith Thotton <sthotton@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
This commit is contained in:
Shijith Thotton 2021-09-02 20:11:49 +05:30 committed by Akhil Goyal
parent 05f157b8c5
commit 64a1029a01
2 changed files with 5 additions and 3 deletions

View File

@ -21,8 +21,9 @@
* Defining it from backwards to denote its been * Defining it from backwards to denote its been
* not used as offload flags to pick function * not used as offload flags to pick function
*/ */
#define NIX_RX_VWQE_F BIT(14) #define NIX_RX_VWQE_F BIT(13)
#define NIX_RX_MULTI_SEG_F BIT(15) #define NIX_RX_MULTI_SEG_F BIT(14)
#define CPT_RX_WQE_F BIT(15)
#define CNXK_NIX_CQ_ENTRY_SZ 128 #define CNXK_NIX_CQ_ENTRY_SZ 128
#define NIX_DESCS_PER_LOOP 4 #define NIX_DESCS_PER_LOOP 4

View File

@ -22,7 +22,8 @@
* Defining it from backwards to denote its been * Defining it from backwards to denote its been
* not used as offload flags to pick function * not used as offload flags to pick function
*/ */
#define NIX_RX_MULTI_SEG_F BIT(15) #define NIX_RX_MULTI_SEG_F BIT(14)
#define CPT_RX_WQE_F BIT(15)
#define CNXK_NIX_CQ_ENTRY_SZ 128 #define CNXK_NIX_CQ_ENTRY_SZ 128
#define NIX_DESCS_PER_LOOP 4 #define NIX_DESCS_PER_LOOP 4