[PATCH 08/17] net/nfp: fix flow rule action data problem
Chaoyong He
chaoyong.he at corigine.com
Mon Jun 24 03:57:14 CEST 2024
From: Long Wu <long.wu at corigine.com>
The data type of 'mark_id' field in 'struct nfp_net_cmsg_action'
should be 'uint32_t' rather than 'uint16_t'.
Fixes: 0b9079d24808 ("net/nfp: support flow API for CoreNIC firmware")
Cc: chaoyong.he at corigine.com
Cc: stable at dpdk.org
Signed-off-by: Long Wu <long.wu at corigine.com>
Reviewed-by: Chaoyong He <chaoyong.he at corigine.com>
Reviewed-by: Peng Zhang <peng.zhang at corigine.com>
---
drivers/net/nfp/nfp_net_cmsg.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/nfp/nfp_net_cmsg.h b/drivers/net/nfp/nfp_net_cmsg.h
index b3d9bc33cf..ccb607f443 100644
--- a/drivers/net/nfp/nfp_net_cmsg.h
+++ b/drivers/net/nfp/nfp_net_cmsg.h
@@ -144,7 +144,7 @@ struct nfp_net_cmsg_action {
uint16_t action;
uint8_t queue;
uint8_t spare;
- uint16_t mark_id;
+ uint32_t mark_id;
};
enum nfp_net_cfg_mbox_cmd {
--
2.39.1
More information about the dev
mailing list