igc: Add rx checksum support
Subsystems (2)
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.
Signed-off-by Sasha Neftin <[email protected]>
--- 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
@@ -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
Brown
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 supportExtend the socket buffer field process and add rx checksum functionality
Minor: fix indentation with tab instead of spaces.
Quoted 6 lines
Signed-off-by Sasha Neftin <[email protected]>--- 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(-)
Tested-by Aaron Brown <[email protected]>