mmap behavior in multiple processor network device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,

I am working on IXDP2400 development platform consisting of a dual IXP2400 network processors, running linux on their Xscale processor. I have a requirement where I need to write data onto a fixed location on SRAM from one processor (ingress) and read the same from the other processor (egress). I tried to use an application using mmap() to achieve the same. But when I read the data from the same physical address (say 0x90000000), the values read through the virtual address from ingress are different than that of egress. Should not the virtual address mapped to the same physical address on ingress and egress be pointing to the same memory location on SRAM?

Can any one shower some light on it?

--
regards,
Rajeev
-- All you need is ignorance and confidence: then success is sure
						- Mark Twain


- : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux