git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8522f7b
)
net/ionic: fix packet type mask
author
Alfredo Cardigliano
<cardigliano@ntop.org>
Thu, 30 Jan 2020 17:26:49 +0000
(18:26 +0100)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Wed, 5 Feb 2020 08:51:21 +0000
(09:51 +0100)
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 <cardigliano@ntop.org>
drivers/net/ionic/ionic_if.h
patch
|
blob
|
history
diff --git
a/drivers/net/ionic/ionic_if.h
b/drivers/net/ionic/ionic_if.h
index
ab300be
..
f83c871
100644
(file)
--- 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 0x
0
f
+#define IONIC_RXQ_COMP_PKT_TYPE_MASK 0x
7
f
};
enum ionic_pkt_type {