Skip to contentSkip to conversation

ionic: fix rxq comp packet type mask

PATCH Applied Shannon Nelson 2 participants 2 messages Jan 30, 2020 – Jan 31, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ionic: fix rxq comp packet type mask

Be sure to include all the packet type bits in the mask.

Fixes fbfb8031533c ("ionic: Add hardware init and device commands")
---
 drivers/net/ethernet/pensando/ionic/ionic_if.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/pensando/ionic/ionic_if.h +1 -1
index f131adad96e3..ce07c2931a72 100644
@@ -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	0x0f
+#define IONIC_RXQ_COMP_PKT_TYPE_MASK	0x7f
 };
 
 enum ionic_pkt_type {
Signature · 1 line
2.17.1
maintainer Applied
#1 lore raw
Quoted 5 lines · Shannon Nelson

Be sure to include all the packet type bits in the mask.

Fixes fbfb8031533c ("ionic: Add hardware init and device commands")

Applied, thank you.

Please remember not to add empty lines between tags and explain user-visible impact of fixes.