can LTP be used to verify the ASIC design of peripherals

2011-08-02 Thread
HI :

Is it appropriate to use linux test project for ASIC verification purpose?such 
as msdc controller?  Has someone already done it with LTP?
Thanks for your help.


Regards

Rui
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


RE: embedded ftp server which support IPV6

2011-07-31 Thread
After I turn on the  unix domain socket of networking options, the socketpair 
failure disappear when I connect from pc side.
Thanks.


Rui

From: Mulyadi Santosa [mailto:mulyadi.sant...@gmail.com]
Sent: 2011年7月30日 9:12
To: Gang Lei (雷刚)
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: emneded ftp server which support IPV6


On Fri, Jul 29, 2011 at 08:24, Gang Lei (雷刚)  wrote:
>
> Socketpair failure is caused by configuration of linux kernel, after I 
> correct it, I can successfully login in the server on board from PC, the 
> static binary size is only 150k bytes.

you welcomeanyway, what kernel config is that?

--
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


RE: emneded ftp server which support IPV6

2011-07-28 Thread
Socketpair failure is caused by configuration of linux kernel, after I correct 
it, I can successfully login in the server on board from PC, the static binary 
size is only 150k bytes.
Thanks for your help!

Rui

From: Mulyadi Santosa [mailto:mulyadi.sant...@gmail.com]
Sent: 2011年7月28日 10:58
To: Gang Lei (雷刚)
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: emneded ftp server which support IPV6


Hi Gang Lei...

On Thu, Jul 28, 2011 at 08:53, Gang Lei (雷刚)  wrote:

BTW, could you please using plain text only message? thanks...

> I had built vsftpd binary out and tried it on my board but it failed on 
> client side “socket pair failed”,  do you have any clue of this error?

hm, no idea maybe you need to check "man socketpair"

> Meanwhile, can wget of busybox support IPV6? I just want to generate some 
> IPV6 traffic on my board, so either client or server could be helpful.

I suggest to use curl if possible...AFAIK it is more enhanced that
wget in some areas...

--
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


RE: emneded ftp server which support IPV6

2011-07-27 Thread
HI Mulyadi:

Thanks for the reply.
I had built vsftpd binary out and tried it on my board but it failed on client 
side “socket pair failed”,  do you have any clue of this error?
Meanwhile, can wget of busybox support IPV6? I just want to generate some IPV6 
traffic on my board, so either client or server could be helpful.
Thanks!


Rui.

From: Mulyadi Santosa [mailto:mulyadi.sant...@gmail.com]
Sent: 2011年7月27日 12:26
To: Gang Lei (雷刚)
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: emneded ftp server which support IPV6


2011/7/27 Gang Lei (雷刚) 
>
> Hello all:
>
>
>
> Could you please list any embedded ftp server which can support IPV6 
> nowadays? The image size should be less than 1M and it can run in standalone 
> mode, I need such a server running on my arm926ej-s board.

not sure what you mean by "image size", but maybe you can try vsftpd
(https://security.appspot.com/vsftpd.html). perhaps uClibc could help
to make it as small binary as possible.

--
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


emneded ftp server which support IPV6

2011-07-26 Thread
Hello all:

Could you please list any embedded ftp server which can support IPV6 nowadays? 
The image size should be less than 1M and it can run in standalone mode, I need 
such a server running on my arm926ej-s board.
Thanks for your help in advance!


Rui
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


RE: flush_cache_all API

2011-07-13 Thread
Hi :

The SCU can solve all the cache coherency problems?


From: kernelnewbies-boun...@kernelnewbies.org 
[mailto:kernelnewbies-boun...@kernelnewbies.org] On Behalf Of Vladimir Murzin
Sent: 2011年7月11日 17:51
To: naveen yadav
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: flush_cache_all API


On 7/11/11, naveen yadav  wrote:
> Hi All,
>
> I am using Multi-core ARM machine.
> If I use flush_cache_all() API, will it flush only current CPU cache
> ?, or flush all cache's of all core's.
>
> Thanks
>
> ___
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
Hi!

I think, it doesn't matter as soon as SCU is involved.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


RE: writting NIC driver for IPV6

2011-06-28 Thread
Thanks a lot, Michi.
Then how can I verify that IPV6 can be really running on our NIC? Of course I 
have to build a kernel which can support IPV6 firstly, but how to verify it’s 
really working? Use ping6?


Rick


From: kernelnewbies-boun...@kernelnewbies.org 
[mailto:kernelnewbies-boun...@kernelnewbies.org] On Behalf Of Michael Blizek
Sent: 2011年6月29日 0:38
To: Gang Lei (雷刚)
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: writting NIC driver for IPV6


Hi!

On 18:02 Tue 28 Jun , Gang Lei () wrote:
> HI all:
>
> Thanks for your help in advance. Could anyone tell me how to revise NIC 
> driver to support IPV6? Or it doesn??t need driver??s change to support IPV6? 
> Can anyone throw some light on this question?

You do not need to change the nic driver to support IPv6 unless it's the
driver is totally broken. Network cards and drivers operate on layer 2 and
generally do not care what you do on layer 3 and above. However in some cases
hardware accelerations like "TCP segmentation offloading" may be available
which partly violates this layer separation. But this is "only" a performance
issue.

-Michi
--
programing a layer 3+4 network protocol for mesh networks
see http://michaelblizek.twilightparadox.com


___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


writting NIC driver for IPV6

2011-06-28 Thread
HI all:

Thanks for your help in advance. Could anyone tell me how to revise NIC driver 
to support IPV6? Or it doesn’t need driver’s change to support IPV6? Can anyone 
throw some light on this question?


Regards



Rick
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


what should NIC do in order to support TSO?

2011-06-10 Thread
HI All:

 As the title. I saw someone mentioned that NIC should support S/G DMA, TCP 
checksum offload and auto insert IP header,TCP header.
The S/G DMA is easy to understand since large mount of data can’t be allocated 
into one single page, but why it need hardware to auto insert TCP header?
As I know, the TCP header should only exist in the first fragments, and it ‘s 
already in skb->data, for other fragments, it’s in skb->frags, hardware only 
need to insert IP header for them, so I don’t see such need to auto insert TCP 
header by
Hardware.
And another question about checksum offload is that, how can hardware support 
rx checksum verification if received packets are fragmented?


Thanks for your answer in advance.


Rick
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


question about nic driver implementation(about TCP checksum offload )

2011-05-30 Thread
Hi All:

I want to build TOE(tcp checksum offload engine) in our hardware to improve the 
overall performance of NIC, however, i met a problem as follow:
AS you know, the TCP checksum protect the TCP pseudo header+TCP header+Data,  
if TCP packet is fragmented into many fragments, the hardware will have not 
enough information to generate tcp checksum for the whole TCP PDU, how to 
overcome this problem?

I searched in NIC driver source code of different vendor, found that TOE is 
generally used, I wonder whether the kernel will calculate the TCP checksum 
even we set features of this device as NETIF_F_IP_CSUM when fragmentation 
happens.

Can anyone throw some lights on this problem?

Thanks a lot.


Rick.


___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


dma_alloc_from_coherent

2011-04-28 Thread
HI:

Can anybody point out that from which pool that function will allocate coherent 
memory for DMA use?
I checked the function source code, the comments is as follow:

This function should be only called from per-arch dma_alloc_coherent()
* to support allocation from per-device coherent memory pools.
*
* Returns 0 if dma_alloc_coherent should continue with allocating from
* generic memory areas, or !0 if dma_alloc_coherent should return @ret.


Can anyone elaborate it? What’s per-device coherent memory pools, when are 
those pools setup and how?


Thanks a lot!


Rick lei

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies