ionic: fix rxq comp packet type mask
Subsystems (3)
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")
Signed-off-by Shannon Nelson <[email protected]>
--- 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
@@ -866,7 +866,7 @@ struct ionic_rxq_comp {#define IONIC_RXQ_COMP_CSUM_F_VLAN 0x40#define IONIC_RXQ_COMP_CSUM_F_CALC 0x80u8 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
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")Signed-off-by Shannon Nelson <[email protected]>
Applied, thank you.
Please remember not to add empty lines between tags and explain user-visible impact of fixes.