Skip to contentSkip to conversation

common/cnxk: fix width of dpc set field

PATCH Applied Nawal Kishor 2 participants 2 messages Mar 16 – Mar 24

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 common/cnxk: fix width of dpc set field

Fixed width od op_dpc_set member of npa_cn20k_pool_s and npa_cn20k_aura_s.

Fixes 143a419edf35 ("common/cnxk: use new NPA aq enq mbox for CN20K")
---
 drivers/common/cnxk/hw/npa.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/common/cnxk/hw/npa.h +4 -2
index e421c70e01..0c7a8923df 100644
@@ -375,7 +375,8 @@ struct npa_cn20k_aura_s {
 	uint64_t fc_msh_dst : 11;
 	uint64_t rsvd_438_435 : 4;
 	uint64_t op_dpc_ena : 1;
-	uint64_t op_dpc_set : 6;
+	uint64_t op_dpc_set : 5;
+	uint64_t rsvd_637_637 : 1;
 	uint64_t stream_ctx : 1;
 	uint64_t unified_ctx : 1;
 	uint64_t rsvd_511_448 : 64; /* W7 */
@@ -446,7 +447,8 @@ struct npa_cn20k_pool_s {
 	uint64_t fc_msh_dst : 11;
 	uint64_t rsvd_630_627 : 4;
 	uint64_t op_dpc_ena : 1;
-	uint64_t op_dpc_set : 6;
+	uint64_t op_dpc_set : 5;
+	uint64_t rsvd_637_637 : 1;
 	uint64_t stream_ctx : 1;
 	uint64_t rsvd_639 : 1;
 	uint64_t rsvd_703_640 : 64;  /* W10 */
Signature · 1 line
2.48.1
Applied
#1 lore raw
Quoted 7 lines · Nawal Kishor

Fixed width od op_dpc_set member of npa_cn20k_pool_s and npa_cn20k_aura_s.

Fixes 143a419edf35 ("common/cnxk: use new NPA aq enq mbox for CN20K")

Applied to dpdk-next-net-mrvl/for-main. Thanks

Quoted 31 lines
---
 drivers/common/cnxk/hw/npa.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/common/cnxk/hw/npa.h +4 -3
index e421c70e01..0c7a8923df 100644
@@ -375,7 +375,8 @@ struct npa_cn20k_aura_s {
        uint64_t fc_msh_dst : 11;
        uint64_t rsvd_438_435 : 4;
        uint64_t op_dpc_ena : 1;
-       uint64_t op_dpc_set : 6;
+       uint64_t op_dpc_set : 5;
+       uint64_t rsvd_637_637 : 1;
        uint64_t stream_ctx : 1;
        uint64_t unified_ctx : 1;
        uint64_t rsvd_511_448 : 64; /* W7 */
@@ -446,7 +447,8 @@ struct npa_cn20k_pool_s {
        uint64_t fc_msh_dst : 11;
        uint64_t rsvd_630_627 : 4;
        uint64_t op_dpc_ena : 1;
-       uint64_t op_dpc_set : 6;
+       uint64_t op_dpc_set : 5;
+       uint64_t rsvd_637_637 : 1;
        uint64_t stream_ctx : 1;
        uint64_t rsvd_639 : 1;
        uint64_t rsvd_703_640 : 64;  /* W10 */
--

2.48.1