Skip to contentSkip to conversation

igc: Add rx checksum support

PATCH New Sasha Neftin 2 participants 2 messages Oct 3, 2019 – Oct 8, 2019

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

PATCH 1/1 igc: Add rx checksum support

Extend the socket buffer field process and add rx checksum functionality
Minor: fix indentation with tab instead of spaces.

---
 drivers/net/ethernet/intel/igc/igc_defines.h |  5 +++-
 drivers/net/ethernet/intel/igc/igc_main.c    | 43 ++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+), 1 deletion(-)
drivers/net/ethernet/intel/igc/igc_defines.h +4 -1
index 03f1aca3f57f..f3788f0b95b4 100644
@@ -282,7 +282,10 @@
 #define IGC_RCTL_BAM		0x00008000 /* broadcast enable */
 
 /* Receive Descriptor bit definitions */
-#define IGC_RXD_STAT_EOP	0x02    /* End of Packet */
+#define IGC_RXD_STAT_EOP	0x02	/* End of Packet */
+#define IGC_RXD_STAT_IXSM	0x04	/* Ignore checksum */
+#define IGC_RXD_STAT_UDPCS	0x10	/* UDP xsum calculated */
+#define IGC_RXD_STAT_TCPCS	0x20	/* TCP xsum calculated */
 
 #define IGC_RXDEXT_STATERR_CE		0x01000000
 #define IGC_RXDEXT_STATERR_SE		0x02000000
drivers/net/ethernet/intel/igc/igc_main.c +43 -0

61 lines not on this page · raw message

Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 igc: Add rx checksum support

Quoted 9 lines

From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On Behalf Of Sasha Neftin
Sent: Thursday, October 3, 2019 3:43 AM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [PATCH v1] igc: Add rx checksum support

Extend the socket buffer field process and add rx checksum functionality
Minor: fix indentation with tab instead of spaces.

Quoted 6 lines
---
 drivers/net/ethernet/intel/igc/igc_defines.h |  5 +++-
 drivers/net/ethernet/intel/igc/igc_main.c    | 43
++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+), 1 deletion(-)