UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
4,483 Views
Registered: ‎06-25-2016

Tri Mode Ethernet MAC example loopback question

Jump to solution

Good Day!

I'm using tri mode ethernet mac v5.5 in my design on custom board. I've adopted CoreGen's example project for my needs. I've connected my board with ethernet cable to PC and I have program which sends UDP frames and I want to see loopback frames in WireShark but I can't see any answer from board.

 

The question is:

Does loopback in pat_gen block provides loopback for UDP frames? With what type of frames does pat_gen works correctly?

0 Kudos
1 Solution

Accepted Solutions
Adventurer
Adventurer
4,701 Views
Registered: ‎06-25-2016

Re: Tri Mode Ethernet MAC example loopback question

Jump to solution

Thanks a lot for help! I've already solved all questions on MAC for now!

0 Kudos
6 Replies
Xilinx Employee
Xilinx Employee
4,443 Views
Registered: ‎02-06-2013

Re: Tri Mode Ethernet MAC example loopback question

Jump to solution

Hi

 

Check if loopback is enabled or still in pattern generator mode.

 

In loopback mode if address swap is enabled then it swaps the destination and source MAC address and send the data on the TX and address swap is not enabled then the received data is looped to TX with out any changes.

 

The pattern generator send basic Ethernet frames(no udp or ip).

Regards,

Satish

--------------------------------------------------​--------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful.
--------------------------------------------------​-------------------------------------------
0 Kudos
Contributor
Contributor
3,469 Views
Registered: ‎07-05-2017

Re: Tri Mode Ethernet MAC example loopback question

Jump to solution

what is benefit of address swap as data reaches to TX even if swap is off

0 Kudos
Xilinx Employee
Xilinx Employee
3,418 Views
Registered: ‎02-06-2013

Re: Tri Mode Ethernet MAC example loopback question

Jump to solution

Hi

 

When there is address filters on the far end the Swap logic will swap the destination and source MAC addresses so that the packets are received by the far end.

Regards,

Satish

--------------------------------------------------​--------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful.
--------------------------------------------------​-------------------------------------------
0 Kudos
Adventurer
Adventurer
3,391 Views
Registered: ‎08-26-2013

Re: Tri Mode Ethernet MAC example loopback question

Jump to solution

@slipknotchik,

Is a 10gbe interface implementation your problem or you need use pat_gen exactly? I can help you implementing same interface if this is your problem.

 

Re

mhmontazeri61

Xilinx Employee
Xilinx Employee
3,274 Views
Registered: ‎05-01-2013

Re: Tri Mode Ethernet MAC example loopback question

Jump to solution

Here's an example for your reference.

https://www.xilinx.com/support/documentation/boards_and_kits/kc705/2014_3/xtp199-kc705-ethernet-c-2014-3.pdf

You can follow it to do the test step by step.

0 Kudos
Adventurer
Adventurer
4,702 Views
Registered: ‎06-25-2016

Re: Tri Mode Ethernet MAC example loopback question

Jump to solution

Thanks a lot for help! I've already solved all questions on MAC for now!

0 Kudos