view rathaxes_remove_useless_xmit_tso_cksum_offload_method_from_e1000.patch @ 99:e2c237d6c37b

Update patches against David's new decl system
author Louis Opter <louis@lse.epita.fr>
date Thu, 22 Nov 2012 22:47:25 -0800
parents 3e715b3e0ecd
children
line wrap: on
line source

# HG changeset patch
# Parent 73167fa965b16dfafac934b854f0d862eb8749ad
rathaxes: remove an useless sequence in the e1000 sample

The provided sequence e1000::_xmit_tso_cksum_offload has been replaced
by a method of the TxRing type template.


diff --git a/rathaxes/samples/e1000/e1000.blt b/rathaxes/samples/e1000/e1000.blt
--- a/rathaxes/samples/e1000/e1000.blt
+++ b/rathaxes/samples/e1000/e1000.blt
@@ -1101,13 +1101,6 @@
         }
     }
 
-    template sequence   e1000::_xmit_tso_cksum_offload(Ethernet::Device ctx, Socket::SKBuff skb)
-    {
-        chunk   ::CALL()
-        {
-        }
-    }
-
     template sequence   e1000::xmit(Ethernet::Device ctx, Socket::AbstractSKBuff kernel_skb)
     {
         chunk   ::CALL()
diff --git a/rathaxes/samples/e1000/e1000.rti b/rathaxes/samples/e1000/e1000.rti
--- a/rathaxes/samples/e1000/e1000.rti
+++ b/rathaxes/samples/e1000/e1000.rti
@@ -134,11 +134,6 @@
         provided chunk  ::CALL();
     }
 
-    provided sequence   _xmit_tso_cksum_offload(Ethernet::Device, Socket::SKBuff)
-    {
-        provided chunk  ::CALL();
-    }
-
     provided sequence   xmit(Ethernet::Device, Socket::AbstractSKBuff)
     {
         provided chunk  ::CALL();