Skip to content

Commit caa2858

Browse files
committed
Merge branch 'sfc-more-encap-offloads'
Edward Cree says: ==================== sfc: more encap offloads This patch series adds support for RX checksum offload of encapsulated packets. It also adds support for configuring the hardware's lists of UDP ports used for VXLAN and GENEVE encapsulation offloads. Since changing these lists causes the MC to reboot, the driver has been hardened against reboots, which used to be considered an exceptional occurrence but are now normal. ==================== Signed-off-by: David S. Miller <[email protected]>
2 parents df6dd79 + e5fbd97 commit caa2858

File tree

11 files changed

+640
-58
lines changed

11 files changed

+640
-58
lines changed

drivers/net/ethernet/sfc/bitfield.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,9 @@ typedef union efx_oword {
433433
(oword).u64[1] = (from).u64[1] & (mask).u64[1]; \
434434
} while (0)
435435

436+
#define EFX_AND_QWORD(qword, from, mask) \
437+
(qword).u64[0] = (from).u64[0] & (mask).u64[0]
438+
436439
#define EFX_OR_OWORD(oword, from, mask) \
437440
do { \
438441
(oword).u64[0] = (from).u64[0] | (mask).u64[0]; \

0 commit comments

Comments
 (0)