File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ typedef struct XDP_DATAPATH {
44
44
uint32_t TxRingSize ;
45
45
uint32_t PollingIdleTimeoutUs ;
46
46
BOOLEAN TxAlwaysPoke ;
47
- BOOLEAN SkipXsum ;
48
47
BOOLEAN Running ; // Signal to stop partitions.
49
48
50
49
XDP_PARTITION Partitions [0 ];
@@ -314,10 +313,6 @@ CxPlatXdpReadConfig(
314
313
Xdp -> TxRingSize = strtoul (Value , NULL , 10 );
315
314
} else if (strcmp (Line , "TxAlwaysPoke" ) == 0 ) {
316
315
Xdp -> TxAlwaysPoke = !!strtoul (Value , NULL , 10 );
317
- } else if (strcmp (Line , "SkipXsum" ) == 0 ) {
318
- BOOLEAN State = !!strtoul (Value , NULL , 10 );
319
- Xdp -> SkipXsum = State ;
320
- printf ("SkipXsum: %u\n" , State );
321
316
}
322
317
}
323
318
@@ -436,10 +431,6 @@ CxPlatDpRawInterfaceInitialize(
436
431
QUIC_STATUS Status ;
437
432
438
433
CxPlatLockInitialize (& Interface -> RuleLock );
439
- Interface -> OffloadStatus .Receive .NetworkLayerXsum = Xdp -> SkipXsum ;
440
- Interface -> OffloadStatus .Receive .TransportLayerXsum = Xdp -> SkipXsum ;
441
- Interface -> OffloadStatus .Transmit .NetworkLayerXsum = Xdp -> SkipXsum ;
442
- Interface -> OffloadStatus .Transmit .NetworkLayerXsum = Xdp -> SkipXsum ;
443
434
Interface -> Xdp = Xdp ;
444
435
445
436
Interface -> QueueCount = (uint16_t )CxPlatProcCount ();
You can’t perform that action at this time.
0 commit comments