FEC pause frame generation on imx6solox

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

FEC pause frame generation on imx6solox

1,447 次查看
abhishekpandit
Contributor I

Does the FEC generate pause frames with a non-zero duration on imx6 solox? (i.e. is the pause_duration 2-byte value set to anything)

- Kernel: linux-fslc 4.1-1.0.x-imx

- Hardware: Custom board based off imx6solox_sabresd

We're running an ethernet throughput test with an Ixia traffic generator and in the packet captures, I noticed that we were getting pause frames with a duration of 0.

I checked that we are enabling pause frames with ethtool:

$ ethtool -a eth0
Pause parameters for eth0:
Autonegotiate:  on
RX:             on
TX:             on

I also looked at drivers/net/ethernet/fec_main.c and it looks like we should be writing 0xFFF0 to it (which is non-zero).

I tried to capture packets with tcpdump on my desktop but it seems the pause frames were being filtered out (macc.opcode = 0x1 wasn't showing anything on wireshark).

标签 (2)
0 项奖励
回复
1 回复

1,322 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Abhishek

linux-fslc is community bsp version not supported by nxp, one can try with nxp

official releases described on

i.MX Software|NXP 

linux-2.6-imx.git - Freescale i.MX Linux Tree 

difference between them is described on

FSL Community BSP Release Notes 2.2 documentation 

For linux-fslc one can post on meta-fsl-arm mailing list:
meta-freescale Info Page 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复