File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ typedef struct XDP_DATAPATH {
4444 uint32_t TxRingSize ;
4545 uint32_t PollingIdleTimeoutUs ;
4646 BOOLEAN TxAlwaysPoke ;
47- BOOLEAN SkipXsum ;
4847 BOOLEAN Running ; // Signal to stop partitions.
4948
5049 XDP_PARTITION Partitions [0 ];
@@ -314,10 +313,6 @@ CxPlatXdpReadConfig(
314313 Xdp -> TxRingSize = strtoul (Value , NULL , 10 );
315314 } else if (strcmp (Line , "TxAlwaysPoke" ) == 0 ) {
316315 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 );
321316 }
322317 }
323318
@@ -436,10 +431,6 @@ CxPlatDpRawInterfaceInitialize(
436431 QUIC_STATUS Status ;
437432
438433 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 ;
443434 Interface -> Xdp = Xdp ;
444435
445436 Interface -> QueueCount = (uint16_t )CxPlatProcCount ();
You can’t perform that action at this time.
0 commit comments