netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net] ionic: fix rxq comp packet type mask
@ 2020-01-30 18:07 Shannon Nelson
  2020-01-31 16:48 ` Jakub Kicinski
  0 siblings, 1 reply; 2+ messages in thread
From: Shannon Nelson @ 2020-01-30 18:07 UTC (permalink / raw)
  To: netdev, davem; +Cc: 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 <snelson@pensando.io>
---
 drivers/net/ethernet/pensando/ionic/ionic_if.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/pensando/ionic/ionic_if.h b/drivers/net/ethernet/pensando/ionic/ionic_if.h
index f131adad96e3..ce07c2931a72 100644
--- 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	0x0f
+#define IONIC_RXQ_COMP_PKT_TYPE_MASK	0x7f
 };
 
 enum ionic_pkt_type {
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net] ionic: fix rxq comp packet type mask
  2020-01-30 18:07 [PATCH net] ionic: fix rxq comp packet type mask Shannon Nelson
@ 2020-01-31 16:48 ` Jakub Kicinski
  0 siblings, 0 replies; 2+ messages in thread
From: Jakub Kicinski @ 2020-01-31 16:48 UTC (permalink / raw)
  To: Shannon Nelson; +Cc: netdev, davem

On Thu, 30 Jan 2020 10:07:06 -0800, Shannon Nelson wrote:
> 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>

Applied, thank you. 

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-31 16:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-30 18:07 [PATCH net] ionic: fix rxq comp packet type mask Shannon Nelson
2020-01-31 16:48 ` Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).