44 messages in com.xensource.lists.xen-ia64-devel[Xen-ia64-devel] [PATCH 06/27] ia64/x...| From | Sent On | Attachments |
|---|---|---|
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:46 | |
| Isaku Yamahata | 10 Jun 2008 00:47 | |
| Luck, Tony | 17 Jun 2008 16:23 | |
| Luck, Tony | 17 Jun 2008 16:37 | |
| Luck, Tony | 17 Jun 2008 16:45 | |
| Aron Griffis | 17 Jun 2008 16:49 | |
| Luck, Tony | 17 Jun 2008 16:57 | |
| Luck, Tony | 18 Jun 2008 13:38 | |
| Luck, Tony | 18 Jun 2008 13:47 | |
| Luck, Tony | 18 Jun 2008 14:45 | |
| Luck, Tony | 18 Jun 2008 15:12 | |
| Akio Takebe | 18 Jun 2008 19:36 | |
| Isaku Yamahata | 19 Jun 2008 05:05 | |
| Isaku Yamahata | 19 Jun 2008 05:08 | |
| Isaku Yamahata | 19 Jun 2008 05:09 | |
| Isaku Yamahata | 19 Jun 2008 05:15 | |
| Isaku Yamahata | 19 Jun 2008 05:16 | |
| Luck, Tony | 19 Jun 2008 10:14 | |
| Isaku Yamahata | 19 Jun 2008 19:03 |
| Subject: | [Xen-ia64-devel] [PATCH 06/27] ia64/xen: define NET_SKB_NET to 18 if xen.![]() |
|---|---|
| From: | Isaku Yamahata (yama...@valinux.co.jp) |
| Date: | 06/10/2008 12:46:39 AM |
| List: | com.xensource.lists.xen-ia64-devel |
On native ia64 NET_SKB_NET isn't necessary to define. However on xen it needs to be slightly larger. (More specifically it's xen-netfront.c requirement.) It causes annoying kernel unalgned access message and network layer troubles. Resolve it by increasing NET_SKB_NET from the default value 16 to 18.
Cc: Kouya SHIMURA <kou...@jp.fujitsu.com> Cc: Akio Takebe <take...@jp.fujitsu.com> Signed-off-by: Isaku Yamahata <yama...@valinux.co.jp>
--- arch/ia64/kernel/asm-offsets.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/arch/ia64/kernel/asm-offsets.c b/arch/ia64/kernel/asm-offsets.c index 6bd3fc5..6a8d95e 100644 --- a/arch/ia64/kernel/asm-offsets.c +++ b/arch/ia64/kernel/asm-offsets.c @@ -292,6 +292,17 @@ void foo(void) #ifdef CONFIG_XEN BLANK();
+ { + union __net_skb_pad + { + /* default NET_SKB_PAD (= 16) + NET_IP_ALIGN (= 2) */ + char xen_pad[16 + 2]; + }; + COMMENT("On xen NET_SKB_PAD needs to be"); + COMMENT(" default NET_SKB_PAD (= 16) + NET_IP_ALIGN (= 2)"); + DEFINE(NET_SKB_PAD, sizeof(union __net_skb_pad)); + } + #define DEFINE_MAPPED_REG_OFS(sym, field) \ DEFINE(sym, (XMAPPEDREGS_OFS + offsetof(struct mapped_regs, field)))
-- 1.5.3
_______________________________________________ Xen-ia64-devel mailing list Xen-...@lists.xensource.com http://lists.xensource.com/xen-ia64-devel




