common/cnxk: fix build warnings on ubuntu 24.04
PATCH 1/3 common/cnxk: fix build warnings on ubuntu 24.04
From: Sunil Kumar Kori <[email protected]>
Bugzilla ID: 1513
--- drivers/common/cnxk/roc_irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/common/cnxk/roc_irq.c +1 -1
@@ -15,7 +15,7 @@#define MSIX_IRQ_SET_BUF_LEN \ (sizeof(struct vfio_irq_set) + sizeof(int) * \ - (plt_intr_max_intr_get(intr_handle))) + ((uint32_t)plt_intr_max_intr_get(intr_handle)))static int irq_get_info (struct plt_intr_handle *intr_handle)
Signature · 1 line
2.43.0
PATCH 2/3 regex/cn9k: fix build warnings on ubuntu 24.04
From: Sunil Kumar Kori <[email protected]>
Bugzilla ID: 1513
--- drivers/regex/cn9k/cn9k_regexdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/regex/cn9k/cn9k_regexdev.c +1 -1
@@ -271,7 +271,7 @@ static inline int ree_enqueue(struct roc_ree_qp *qp, struct rte_regex_ops *op, struct roc_ree_pending_queue *pend_q) { - union roc_ree_inst inst; + union roc_ree_inst inst = {0};union ree_res *res;uint32_t offset;
Signature · 1 line
2.43.0
RE: [PATCH 2/3] regex/cn9k: fix build warnings on ubuntu 24.04
Quoted 27 lines
-----Original Message-----
From: [email protected] <[email protected]>
Sent: Thursday, November 14, 2024 1:08 PM
To: Liron Himi <[email protected]>; Jerin Jacob <[email protected]>
Cc: [email protected]; [email protected]; Sunil Kumar Kori <[email protected]>; [email protected]
Subject: [PATCH 2/3] regex/cn9k: fix build warnings on ubuntu 24.04From: Sunil Kumar Kori <[email protected]>
Bugzilla ID: 1513
Fixes 72c00ae9dba7 ("regex/cn9k: use cnxk infrastructure")Signed-off-by Sunil Kumar Kori <[email protected]>--- drivers/regex/cn9k/cn9k_regexdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/regex/cn9k/cn9k_regexdev.c +0
-0
drivers/regex/cn9k/cn9k_regexdev.c static inline int · line 273
Quoted 4 lines
drivers/regex/cn9k/cn9k_regexdev.c +1
-1@@ -271,7 +271,7 @@ static inline int ree_enqueue(struct roc_ree_qp *qp, struct rte_regex_ops *op, struct roc_ree_pending_queue *pend_q) { - union roc_ree_inst inst; + union roc_ree_inst inst = {0};
This changes are in fastpath and it is costly. Please fix with other means or suppress the warning if it not relevant. I skipped this patch for the merged and 1/3, 3/3 patches are pplied to dpdk-next-net-mrvl/for-main. Thanks
Quoted 5 lines
drivers/regex/cn9k/cn9k_regexdev.c +0
-1union ree_res *res;uint32_t offset; --2.43.0
RE: [PATCH 2/3] regex/cn9k: fix build warnings on ubuntu 24.04
Quoted 29 lines
-----Original Message-----
From: Jerin Jacob <[email protected]>
Sent: Monday, November 18, 2024 2:11 PM
To: Sunil Kumar Kori <[email protected]>; Liron Himi <[email protected]>
Cc: [email protected]; [email protected]; Sunil Kumar Kori <[email protected]>; [email protected]
Subject: RE: [PATCH 2/3] regex/cn9k: fix build warnings on ubuntu 24.04Quoted 19 lines
-----Original Message-----
From: [email protected] <[email protected]>
Sent: Thursday, November 14, 2024 1:08 PM
To: Liron Himi <[email protected]>; Jerin Jacob <[email protected]>
Cc: [email protected]; [email protected]; Sunil Kumar Kori <[email protected]>; [email protected]
Subject: [PATCH 2/3] regex/cn9k: fix build warnings on ubuntu 24.04From: Sunil Kumar Kori <[email protected]>
Bugzilla ID: 1513
Fixes 72c00ae9dba7 ("regex/cn9k: use cnxk infrastructure")Signed-off-by Sunil Kumar Kori <[email protected]>--- drivers/regex/cn9k/cn9k_regexdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 15 lines
drivers/regex/cn9k/cn9k_regexdev.c static inline int · line 273
Quoted 10 lines
drivers/regex/cn9k/cn9k_regexdev.c +1
-1@@ -271,7 +271,7 @@ static inline int ree_enqueue(struct roc_ree_qp *qp, struct rte_regex_ops *op, struct roc_ree_pending_queue *pend_q) { - union roc_ree_inst inst; + union roc_ree_inst inst = {0};This changes are in fastpath and it is costly. Please fix with other means or suppress the warning if it not relevant.
I skipped this patch for the merged and 1/3, 3/3 patches are pplied to dpdk- next-net-mrvl/for-main. Thanks
Ack.
Quoted 6 lines
Quoted 6 lines
drivers/regex/cn9k/cn9k_regexdev.c +0
-1union ree_res *res;uint32_t offset; --2.43.0
PATCH 3/3 net/cnxk: fix build warnings on ubuntu 24.04
In reply to [email protected]From: Sunil Kumar Kori <[email protected]>
Bugzilla ID: 1513
--- drivers/net/cnxk/cnxk_ethdev_devargs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/net/cnxk/cnxk_ethdev_devargs.c +3 -3
@@ -305,12 +305,12 @@ cnxk_ethdev_parse_devargs(struct rte_devargs *devargs, struct cnxk_eth_dev *dev)uint16_t scalar_enable =0 ;uint16_t tx_compl_ena =0 ;uint16_t custom_sa_act =0 ; -uint8_t custom_inb_sa =0 ; +uint16_t custom_inb_sa =0 ;struct rte_kvargs *kvlist;uint32_t meta_buf_sz =0 ; +uint16_t lock_rx_ctx =0 ; +uint16_t rx_inj_ena =0 ;uint16_t no_inl_dev =0 ; -uint8_t lock_rx_ctx =0 ; -uint8_t rx_inj_ena =0 ;memset (&sdp_chan,0 ,sizeof (sdp_chan));memset (&pre_l2_info,0 ,sizeof (struct flow_pre_l2_size_info ));
Signature · 1 line
2.43.0