comparison 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
comparison
equal deleted inserted replaced
95:4e7107e284de 96:3e715b3e0ecd
1 # HG changeset patch
2 # Parent 73167fa965b16dfafac934b854f0d862eb8749ad
3 rathaxes: remove an useless sequence in the e1000 sample
4
5 The provided sequence e1000::_xmit_tso_cksum_offload has been replaced
6 by a method of the TxRing type template.
7
8
9 diff --git a/rathaxes/samples/e1000/e1000.blt b/rathaxes/samples/e1000/e1000.blt
10 --- a/rathaxes/samples/e1000/e1000.blt
11 +++ b/rathaxes/samples/e1000/e1000.blt
12 @@ -1101,13 +1101,6 @@
13 }
14 }
15
16 - template sequence e1000::_xmit_tso_cksum_offload(Ethernet::Device ctx, Socket::SKBuff skb)
17 - {
18 - chunk ::CALL()
19 - {
20 - }
21 - }
22 -
23 template sequence e1000::xmit(Ethernet::Device ctx, Socket::AbstractSKBuff kernel_skb)
24 {
25 chunk ::CALL()
26 diff --git a/rathaxes/samples/e1000/e1000.rti b/rathaxes/samples/e1000/e1000.rti
27 --- a/rathaxes/samples/e1000/e1000.rti
28 +++ b/rathaxes/samples/e1000/e1000.rti
29 @@ -134,11 +134,6 @@
30 provided chunk ::CALL();
31 }
32
33 - provided sequence _xmit_tso_cksum_offload(Ethernet::Device, Socket::SKBuff)
34 - {
35 - provided chunk ::CALL();
36 - }
37 -
38 provided sequence xmit(Ethernet::Device, Socket::AbstractSKBuff)
39 {
40 provided chunk ::CALL();