Mercurial > archived > louis > epitech > mq > rathaxes
diff rathaxes_remove_useless_xmit_tso_cksum_offload_method_from_e1000.patch @ 96:3e715b3e0ecd
Start a series to cleanup/refactor the e1000 sample a little bit
author | Louis Opter <louis@lse.epita.fr> |
---|---|
date | Sun, 18 Nov 2012 02:19:07 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rathaxes_remove_useless_xmit_tso_cksum_offload_method_from_e1000.patch Sun Nov 18 02:19:07 2012 +0100 @@ -0,0 +1,40 @@ +# 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();