projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e63b5fd
)
net: ravb: Enable IPv6 RX checksum offloading for GbEth
author
Paul Barker
<paul.barker.ct@bp.renesas.com>
Tue, 15 Oct 2024 13:36:32 +0000
(14:36 +0100)
committer
Andrew Lunn
<andrew@lunn.ch>
Fri, 18 Oct 2024 02:24:24 +0000
(21:24 -0500)
The GbEth IP supports offloading IPv6 TCP, UDP & ICMPv6 checksums in the
RX path.
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
drivers/net/ethernet/renesas/ravb.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ethernet/renesas/ravb.h
b/drivers/net/ethernet/renesas/ravb.h
index a5b4f4fe77b1e7ae283a786b95a435c805e12402..e1e55e677215687ab91995b726910cc63344c7a8 100644
(file)
--- a/
drivers/net/ethernet/renesas/ravb.h
+++ b/
drivers/net/ethernet/renesas/ravb.h
@@
-1014,7
+1014,8
@@
enum CSR2_BIT {
CSR2_RDHD = 0x08000000,
};
-#define CSR2_CSUM_ENABLE (CSR2_RTCP4 | CSR2_RUDP4 | CSR2_RICMP4)
+#define CSR2_CSUM_ENABLE (CSR2_RTCP4 | CSR2_RUDP4 | CSR2_RICMP4 | \
+ CSR2_RTCP6 | CSR2_RUDP6 | CSR2_RICMP6)
#define DBAT_ENTRY_NUM 22
#define RX_QUEUE_OFFSET 4