* [dpdk-dev] [PATCH] net/ionic: fix packet type mask
@ 2020-01-30 17:26 Alfredo Cardigliano
2020-01-31 13:24 ` Ferruh Yigit
0 siblings, 1 reply; 2+ messages in thread
From: Alfredo Cardigliano @ 2020-01-30 17:26 UTC (permalink / raw)
To: Alfredo Cardigliano; +Cc: dev
Fix the IONIC_RXQ_COMP_PKT_TYPE_MASK define. This fixes
the coverity defect #353608
Signed-off-by: Alfredo Cardigliano <cardigliano@ntop.org>
---
drivers/net/ionic/ionic_if.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ionic/ionic_if.h b/drivers/net/ionic/ionic_if.h
index ab300be6e..f83c8711b 100644
--- a/drivers/net/ionic/ionic_if.h
+++ b/drivers/net/ionic/ionic_if.h
@@ -867,7 +867,7 @@ struct ionic_rxq_comp {
#define IONIC_RXQ_COMP_CSUM_F_VLAN 0x40
#define IONIC_RXQ_COMP_CSUM_F_CALC 0x80
u8 pkt_type_color;
-#define IONIC_RXQ_COMP_PKT_TYPE_MASK 0x0f
+#define IONIC_RXQ_COMP_PKT_TYPE_MASK 0x7f
};
enum ionic_pkt_type {
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] [PATCH] net/ionic: fix packet type mask
2020-01-30 17:26 [dpdk-dev] [PATCH] net/ionic: fix packet type mask Alfredo Cardigliano
@ 2020-01-31 13:24 ` Ferruh Yigit
0 siblings, 0 replies; 2+ messages in thread
From: Ferruh Yigit @ 2020-01-31 13:24 UTC (permalink / raw)
To: Alfredo Cardigliano; +Cc: dev
On 1/30/2020 5:26 PM, Alfredo Cardigliano wrote:
> Fix the IONIC_RXQ_COMP_PKT_TYPE_MASK define. This fixes
> the coverity defect #353608
>
> Signed-off-by: Alfredo Cardigliano <cardigliano@ntop.org>
Coverity issue: 353608
Fixes: 01489e5d79a7 ("net/ionic: add hardware structures definitions")
Applied to dpdk-next-net/master, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-01-31 13:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-30 17:26 [dpdk-dev] [PATCH] net/ionic: fix packet type mask Alfredo Cardigliano
2020-01-31 13:24 ` Ferruh Yigit
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).