Hello,
if it helps i am attaching two eepro100-diag log one imediately after
card is probed and second inside poll routine.
Best Regards,
Ashish Anand
-----Original Message-----
From: "Ashish anand" <ash...@in...>
To: eth...@li...
Date: Wed, 30 Apr 2003 09:07:25 +0530
Subject: 82557 receives one byte less than data put on wire..
Hello,
earlier i had problems of getting my bootp request packet silently
discarded by bootp server.
now I have statred getting bootp reply after takling care of checksum
problem.I am getting bootp server reply that is of standard 342 byte put
on wire as shown in ethereal and tcpdump log.
but my nic card reports 341 bytes as count of receive bytes.
it is calculated lke this on my big endian target,
printf ("Got a packet: Len = %d.\n", cpu_to_le16(ACCESS(rxfd)count) &
0x3fff);
I am little confused why my nic card loos one byte , i have also
confirmed from the the linux driver it is the same way we report receive
count as in etherboot driver.
in linux we report like..
pkt_len = le32_to_cpu(sp->rx_ringp[entry]->count) & 0x3fff
can anybody hint me ..
Best Regards,
Ashish Anand
where i may need to debug..
Best Regards,
Ashish Aanand
Inbox (188/43) Drafts (4/4) Sent (174/0) Trash (107/25) |