projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2318ca8
)
ionic: fix rxq comp packet type mask
author
Shannon Nelson
<snelson@pensando.io>
Thu, 30 Jan 2020 18:07:06 +0000
(10:07 -0800)
committer
Jakub Kicinski
<kuba@kernel.org>
Fri, 31 Jan 2020 16:43:05 +0000
(08:43 -0800)
Be sure to include all the packet type bits in the mask.
Fixes:
fbfb8031533c
("ionic: Add hardware init and device commands")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_if.h
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/pensando/ionic/ionic_if.h
b/drivers/net/ethernet/pensando/ionic/ionic_if.h
index
f131ada
..
ce07c29
100644
(file)
--- a/
drivers/net/ethernet/pensando/ionic/ionic_if.h
+++ b/
drivers/net/ethernet/pensando/ionic/ionic_if.h
@@
-866,7
+866,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 {