Skip to content

Commit b5ce31b

Browse files
emuslnkuba-moo
authored andcommitted
ionic: fix rxq comp packet type mask
Be sure to include all the packet type bits in the mask. Fixes: fbfb803 ("ionic: Add hardware init and device commands") Signed-off-by: Shannon Nelson <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 2318ca8 commit b5ce31b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/pensando/ionic/ionic_if.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ struct ionic_rxq_comp {
866866
#define IONIC_RXQ_COMP_CSUM_F_VLAN 0x40
867867
#define IONIC_RXQ_COMP_CSUM_F_CALC 0x80
868868
u8 pkt_type_color;
869-
#define IONIC_RXQ_COMP_PKT_TYPE_MASK 0x0f
869+
#define IONIC_RXQ_COMP_PKT_TYPE_MASK 0x7f
870870
};
871871

872872
enum ionic_pkt_type {

0 commit comments

Comments
 (0)