Hi All,

I am having a problem receiving 10gbe packets from one of the interfaces on
a dual-port Myricom NIC.  I believe the packets are properly addressed, and
wireshark sees them fine, but programmatically we cannot receive them on
10.0.0.102 via C or Python (recvfrom() just hangs), while on 10.0.0.101
everything is working fine.

Below is the wireshark output, and the output of ifconfig.  Packet 4080 is
from 10.0.0.21 to 10.0.0.101 (eth2) and packet 4081 is from 10.0.0.11 to
10.0.0.102 (eth3).  If the problem is not here, can someone suggest where
else to look?

Thanks,
Dale

No.     Time        Source                Destination           Protocol
Length Info
   4080 1.149644    10.0.0.21             10.0.0.101            UDP
900    Source port: 60000  Destination port: 60000

Frame 4080: 900 bytes on wire (7200 bits), 900 bytes captured (7200 bits)
Linux cooked capture
    Packet type: Unicast to us (0)
    Link-layer address type: 1
    Link-layer address length: 6
    Source: MS-NLB-PhysServer-02_0a:00:00:15 (02:02:0a:00:00:15)
    Protocol: IP (0x0800)
Internet Protocol Version 4, Src: 10.0.0.21 (10.0.0.21), Dst: 10.0.0.101
(10.0.0.101)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00:
Not-ECT (Not ECN-Capable Transport))
    Total Length: 884
    Identification: 0x0000 (0)
    Flags: 0x02 (Don't Fragment)
    Fragment offset: 0
    Time to live: 255
    Protocol: UDP (17)
    Header checksum: 0x63ff [correct]
    Source: 10.0.0.21 (10.0.0.21)
    Destination: 10.0.0.101 (10.0.0.101)
User Datagram Protocol, Src Port: 60000 (60000), Dst Port: 60000 (60000)
    Source port: 60000 (60000)
    Destination port: 60000 (60000)
    Length: 864
    Checksum: 0x0000 (none)
Data (856 bytes)

No.     Time        Source                Destination           Protocol
Length Info
   4081 1.149659    10.0.0.11             10.0.0.102            UDP
900    Source port: 60000  Destination port: 60000

Frame 4081: 900 bytes on wire (7200 bits), 900 bytes captured (7200 bits)
Linux cooked capture
    Packet type: Unicast to us (0)
    Link-layer address type: 1
    Link-layer address length: 6
    Source: MS-NLB-PhysServer-02_0a:00:00:0b (02:02:0a:00:00:0b)
    Protocol: IP (0x0800)
Internet Protocol Version 4, Src: 10.0.0.11 (10.0.0.11), Dst: 10.0.0.102
(10.0.0.102)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00:
Not-ECT (Not ECN-Capable Transport))
    Total Length: 884
    Identification: 0x0000 (0)
    Flags: 0x02 (Don't Fragment)
    Fragment offset: 0
    Time to live: 255
    Protocol: UDP (17)
    Header checksum: 0x6408 [correct]
    Source: 10.0.0.11 (10.0.0.11)
    Destination: 10.0.0.102 (10.0.0.102)
User Datagram Protocol, Src Port: 60000 (60000), Dst Port: 60000 (60000)
    Source port: 60000 (60000)
    Destination port: 60000 (60000)
    Length: 864
    Checksum: 0x0000 (none)
Data (856 bytes)

=======Output of ifconfig========
eth2      Link encap:Ethernet  HWaddr 00:60:dd:46:23:fe
          inet addr:10.0.0.101  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::260:ddff:fe46:23fe/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:9000  Metric:1
          RX packets:2764212717 errors:0 dropped:0 overruns:0 frame:0
          TX packets:218163 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2481980540060 (2.4 TB)  TX bytes:66859062 (66.8 MB)
          Interrupt:60

eth3      Link encap:Ethernet  HWaddr 00:60:dd:46:23:ff
          inet addr:10.0.0.102  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::260:ddff:fe46:23ff/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:9000  Metric:1
          RX packets:684995316 errors:0 dropped:0 overruns:0 frame:0
          TX packets:178 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:614750268368 (614.7 GB)  TX bytes:20024 (20.0 KB)
          Interrupt:60

Reply via email to