Re: [mpls-linux-devel] mpls-linux on 64 bit kernel
Status: Beta
Brought to you by:
jleu
From: Chris R. <Chr...@nr...> - 2010-05-17 22:16:03
|
Ashan I'm currently trying to test this but having lock up problems. However, I have cornered the problem to the following code snip. Note the conditional compile statement. This maybe the cause of the x86_64 system locking up, but (and a big but) it also locks up with my x86_32 systems as well. Will be collecting more data tomorrow but if anyone has any ideas I'm all ears. FYI, the lock up occurs when mpls_opcode_peek is called from mpls_skb_recv(). int mpls_opcode_peek(struct sk_buff *skb) { u32 shim; #define CAN_WE_ASSUME_32BIT_ALIGNED 0 #if CAN_WE_ASSUME_32BIT_ALIGNED shim = ntohl(*((u32*)&skb->network_header)); #else memcpy(&shim,skb->network_header,sizeof(u32)); shim = ntohl(shim); #endif if (!(MPLSCB(skb)->flag)) { MPLSCB(skb)->ttl = shim & 0xFF; MPLSCB(skb)->flag = 1; } MPLSCB(skb)->bos = (shim >> 8 ) & 0x1; MPLSCB(skb)->exp = (shim >> 9 ) & 0x7; MPLSCB(skb)->label = (shim >> 12) & 0xFFFFF; return MPLS_RESULT_RECURSE; } On 05/17/2010 12:01 PM, Ahsan Tariq wrote: > Hi, > > I just wanted to ask that if anybody has successfully tested MPLS > label switching on a 64 bit architecture, specifically x86_64 ? > > Thanks > > Ahsan > > > ------------------------------------------------------------------------------ > > > > > _______________________________________________ > mpls-linux-devel mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel > |