Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Multicast packets are not received via tsec interfaces.: (8 Items)
   
Multicast packets are not received via tsec interfaces.  
Hi ,

I have loaded the mpc85xx ethernet driver in mpc8548 board.
i m getting 4 interfaces in my board.

The following are the 4 interfaces.
tsec0 - 100Mbs speed
tsec1,tsec2,tsec3(other 3 1000 Mbs speed)

1. I have connected the tsec0 interface with IXIA Port(traffic generator).
2. I have sent 3 multicast packets from IXIA Port to tsec0 interface.

I had verified the counters via ifconfig as well as nicinfo command.

Only nicinfo multicast packet counters are incremented.
But if i did ifconfig -v tsec0 -- inpuct packet as zero only.

I dont know why input packets not incremented.

Please help me on this.

Regards,
Janani.
RE: Multicast packets are not received via tsec interfaces.  
I just fixed multicast rx for tsec/etsec.  You can
find an experimental driver to see if you hit the
same bug at:

  www.PoweredByQNX.com/etc/devnp-mpc85xx.so

PR 73833 applies.

--
aboyd
Re: RE: Multicast packets are not received via tsec interfaces.  
Hi Andrew,

I have downloaded the mpc85xx driver from  www.PoweredByQNX.com/etc/devnp-mpc85xx.so
 
Still i m not able to get multicast packets from tsec interfaces.

I have done the following steps
===================
1.slay io-pkt-v4-hc
2.io-pkt-v4-hc -dmpc85xx mac=01 /home/devnp-mpc85xx.so
3.Send a multicast packets from IXIA(traffic generator)  to tsec1.
4.I can see via  ' nicinfo tsec1' but not via ' ifconfig -v tsec1 '

Please let me know any updates available.

Thanks and Regards
Janani
Re: Multicast packets are not received via tsec interfaces.  
Hi Janani,

Do you have a packet capture from the node running io-pkt? (use tcpdump 
-itsec1 -s0 -w filename.pcap)

/P

On 22/01/10 07:31 AM, Janani K wrote:
> Hi Andrew,
>
> I have downloaded the mpc85xx driver from  www.PoweredByQNX.com/etc/devnp-mpc85xx.so
>
> Still i m not able to get multicast packets from tsec interfaces.
>
> I have done the following steps
> ===================
> 1.slay io-pkt-v4-hc
> 2.io-pkt-v4-hc -dmpc85xx mac=01 /home/devnp-mpc85xx.so
> 3.Send a multicast packets from IXIA(traffic generator)  to tsec1.
> 4.I can see via  ' nicinfo tsec1' but not via ' ifconfig -v tsec1 '
>
> Please let me know any updates available.
>
> Thanks and Regards
> Janani
>
>
>
> _______________________________________________
>
> Networking Drivers
> http://community.qnx.com/sf/go/post45750
>
>    
Re: Multicast packets are not received via tsec interfaces.  
Hi Andrew,

Can you please send me the tcpdump exe for mpc85xx board?
or
Please send a link to me

Thanks and Regards
Janani
RE: Multicast packets are not received via tsec interfaces.  
Hi Patrik,

  Running the tcpdump causes the driver to switch to
promiscuous mode and you will start receiving all the multicast 
packets also.  
So it would be better to run any application like ping6 which uses
Multicast packets, like 
1. Using mclisten and mcping which the QA team uses (I have not used it
though).
2. Use the ping6 ICMPv6 neighbour solicitation, if you have an IPv6
address    
   setup with io-pkt-v6-hc. This worked for me on the P2020DS board.

And then look into the nicinfo and ifconfig -v.

For me Andrew's network driver devnp-mpc85xx.so worked, as I was also
facing the same multicast problem with P2020DS board.

--Ganesh

-----Original Message-----
From: Patrik Lahti [mailto:community-noreply@qnx.com] 
Sent: Friday, January 22, 2010 7:56 PM
To: drivers-networking
Subject: Re: Multicast packets are not received via tsec interfaces.

Hi Janani,

Do you have a packet capture from the node running io-pkt? (use tcpdump 
-itsec1 -s0 -w filename.pcap)

/P

On 22/01/10 07:31 AM, Janani K wrote:
> Hi Andrew,
>
> I have downloaded the mpc85xx driver from
www.PoweredByQNX.com/etc/devnp-mpc85xx.so
>
> Still i m not able to get multicast packets from tsec interfaces.
>
> I have done the following steps
> ===================
> 1.slay io-pkt-v4-hc
> 2.io-pkt-v4-hc -dmpc85xx mac=01 /home/devnp-mpc85xx.so
> 3.Send a multicast packets from IXIA(traffic generator)  to tsec1.
> 4.I can see via  ' nicinfo tsec1' but not via ' ifconfig -v tsec1 '
>
> Please let me know any updates available.
>
> Thanks and Regards
> Janani
>
>
>
> _______________________________________________
>
> Networking Drivers
> http://community.qnx.com/sf/go/post45750
>
>    




_______________________________________________

Networking Drivers
http://community.qnx.com/sf/go/post45766
Re: Multicast packets are not received via tsec interfaces.  
On 25/01/10 12:27 AM, Ganesh Kumar wrote:
> Hi Patrik,
>
>    Running the tcpdump causes the driver to switch to
> promiscuous mode and you will start receiving all the multicast
> packets also.
>    
Yes, of course, that's how tcpdump functions.

The purpose was to help you by looking at the packets you were sending 
to the interface and not receiving - i.e. it doesn't matter that this 
disturbs the test, it is the simplest way of looking at the packets on 
the wire. By knowing what the packets look like I can instruct you how 
to proceed debugging this further.

> So it would be better to run any application like ping6 which uses
> Multicast packets, like
>    
None of these methods show what the actual packets look like on the wire.
> 1. Using mclisten and mcping which the QA team uses (I have not used it
> though).
> 2. Use the ping6 ICMPv6 neighbour solicitation, if you have an IPv6
> address
>     setup with io-pkt-v6-hc. This worked for me on the P2020DS board.
>    
ping6 doesn't send neighbor solicitations. The stack does that while 
resolving the link layer address for the packets that it sends (which it 
sends on behalf of ping6 in this case).

> And then look into the nicinfo and ifconfig -v.
>
> For me Andrew's network driver devnp-mpc85xx.so worked, as I was also
> facing the same multicast problem with P2020DS board.
>    
Please see Andrew's post this morning.

/P

> --Ganesh
>
> -----Original Message-----
> From: Patrik Lahti [mailto:community-noreply@qnx.com]
> Sent: Friday, January 22, 2010 7:56 PM
> To: drivers-networking
> Subject: Re: Multicast packets are not received via tsec interfaces.
>
> Hi Janani,
>
> Do you have a packet capture from the node running io-pkt? (use tcpdump
> -itsec1 -s0 -w filename.pcap)
>
> /P
>
> On 22/01/10 07:31 AM, Janani K wrote:
>    
>> Hi Andrew,
>>
>> I have downloaded the mpc85xx driver from
>>      
> www.PoweredByQNX.com/etc/devnp-mpc85xx.so
>    
>> Still i m not able to get multicast packets from tsec interfaces.
>>
>> I have done the following steps
>> ===================
>> 1.slay io-pkt-v4-hc
>> 2.io-pkt-v4-hc -dmpc85xx mac=01 /home/devnp-mpc85xx.so
>> 3.Send a multicast packets from IXIA(traffic generator)  to tsec1.
>> 4.I can see via  ' nicinfo tsec1' but not via ' ifconfig -v tsec1 '
>>
>> Please let me know any updates available.
>>
>> Thanks and Regards
>> Janani
>>
>>
>>
>> _______________________________________________
>>
>> Networking Drivers
>> http://community.qnx.com/sf/go/post45750
>>
>>
>>      
>
>
>
> _______________________________________________
>
> Networking Drivers
> http://community.qnx.com/sf/go/post45766
>
>
>
>
> _______________________________________________
>
> Networking Drivers
> http://community.qnx.com/sf/go/post45835
>
>    
RE: RE: Multicast packets are not received via tsec interfaces.  
> Still not able to get multicast packets 
> from tsec interfaces

Correct.  The default mode of the driver is to NOT
rx ANY multicast packets, until told to by the stack.

So, you need to have the stack to tell the driver to
receive multicast packets.  Various different applications
(v6 routing protocols, ptp, qa test programs) do this.

--
aboyd