From: Jacek Konieczny <jajcus@jajcus.net>
To: xen-devel@lists.xensource.com
Subject: Re: netfront: rx->offset: 12, size: 4294967295
Date: Mon, 4 Jun 2007 16:05:22 +0200 [thread overview]
Message-ID: <20070604140522.GF2158@jajo.eggsoft.pl> (raw)
In-Reply-To: <C289C99E.FF11%keir@xensource.com>
[-- Attachment #1: Type: text/plain, Size: 315 bytes --]
On Mon, Jun 04, 2007 at 01:52:30PM +0100, Keir Fraser wrote:
> Can you try changing the definition of copying_receiver in netback/common.h
> to be 'unsigned copying_receiver:1' instead of int:1?
It works! See the attached patch (I have changed the other bitfield
too).
Thank you very much.
Greets,
Jacek
[-- Attachment #2: xen-netback.patch --]
[-- Type: text/plain, Size: 772 bytes --]
diff -dur -x '*~' linux-2.6.18.orig/drivers/xen/netback/common.h linux-2.6.18/drivers/xen/netback/common.h
--- linux-2.6.18.orig/drivers/xen/netback/common.h 2007-06-04 12:48:35.000000000 +0000
+++ linux-2.6.18/drivers/xen/netback/common.h 2007-06-04 12:52:16.000000000 +0000
@@ -78,8 +78,8 @@
int features;
/* Internal feature information. */
- int can_queue:1; /* can queue packets for receiver? */
- int copying_receiver:1; /* copy packets to receiver? */
+ unsigned can_queue:1; /* can queue packets for receiver? */
+ unsigned copying_receiver:1; /* copy packets to receiver? */
/* Allow netif_be_start_xmit() to peek ahead in the rx request ring. */
RING_IDX rx_req_cons_peek;
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2007-06-04 14:05 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-01 14:05 netfront: rx->offset: 12, size: 4294967295 Jacek Konieczny
2007-06-01 14:22 ` Keir Fraser
2007-06-01 16:56 ` Jacek Konieczny
2007-06-01 17:11 ` Jacek Konieczny
2007-06-01 17:38 ` Keir Fraser
2007-06-01 19:01 ` Jacek Konieczny
2007-06-02 10:13 ` Keir Fraser
2007-06-02 18:49 ` Jacek Konieczny
2007-06-03 8:33 ` Keir Fraser
2007-06-03 11:51 ` Jacek Konieczny
2007-06-04 12:40 ` Jacek Konieczny
2007-06-04 12:52 ` Keir Fraser
2007-06-04 14:05 ` Jacek Konieczny [this message]
2007-06-04 14:08 ` Keir Fraser
2007-06-06 0:30 ` Mark Williamson
2007-06-05 21:48 ` Herbert Xu
2007-06-05 21:57 ` Mark Williamson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070604140522.GF2158@jajo.eggsoft.pl \
--to=jajcus@jajcus.net \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.