Hi,
I have two counters in a model to check the link between two gbe
ports
(like tutorial 2). The first counts the packets I send to a
transmiter
core (end of frame) and the second counts the packets that the
other
core receives (rx end of frame). When i read the values with
python they
are so differents (I mean: Sent 2002096 packets already.
Received
377694757 )and always the receptor counter is bigger. I suppose
what is
happening is that the receptor counter counts arp frames too but
i was
wondering if it would be possible that it only counts the
packets i send
from my transmitter core.
I tried modifying the enable of the receptor counter. In this
way now
have an and gate with 3 inputs: the first is the rx end of
frame, and
the others are two boolean signals that must be true when
rx_source_ip
and rx_source_port match the ip and the port that I wrote
previosly in
two software registers. I thougth that now it should only count
when the
received frames came from these specific ip and port but.. i was
wrong
because the value of received frame counter is still bigger than
the trx
counter.
To sum up: I'd like to count only the received data frames that
i sent
from another core. Could somebody give me any idea to manage my
problem?
Thanks a lot.
--
Miguel <[email protected]>