From: Alfredo Cardigliano Date: Thu, 30 Jan 2020 17:26:49 +0000 (+0100) Subject: net/ionic: fix packet type mask X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=6645b283eb66de465692b8c7563b7f5ecbe1cc67;p=dpdk.git net/ionic: fix packet type mask Fix the IONIC_RXQ_COMP_PKT_TYPE_MASK define. Coverity issue: 353608 Fixes: 01489e5d79a7 ("net/ionic: add hardware structures definitions") Signed-off-by: Alfredo Cardigliano --- diff --git a/drivers/net/ionic/ionic_if.h b/drivers/net/ionic/ionic_if.h index ab300be6e7..f83c8711b1 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 {