mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 03:10:30 -04:00
net: ravb: Enable IPv6 RX checksum offloading for GbEth
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user