5116
- 收藏
- 点赞
- 分享
- 举报
hi3516a, hieth_gmac, jumbo frames (mtu > 1500)
Hello!
Are there any way to increase mtu (> 1500) for hi3516a hieth?
I have tried to set 0x1009003c to 0x1fff , it is register MAX_FRM_SIZE. I added custom mtu change function, so I can use ifconfig eth0 mtu 1550 for example.
But, I have such error:
[code]
# ping 192.168.250.1 -s 1500
PING 192.168.250.1 (192.168.250.1): 1500 data by------------[ cut here ]------------
WARNING: at drivers/net/ethernet/hieth-gmac/ctrl.c:358 higmac_check_tx_err+0x64/0xb8()
TX ERR: desc1=0x82562802, desc2=0x6060050,desc4=0x0, desc5=0x2
Modules linked in: hi_mipi(O) hi3516a_adec(PO) hi3516a_aenc(PO) hi3516a_ao(PO) hi3516a_ai(PO) hi3516a_aio(PO) acodec(PO) pwm(O) sensor_i2c(O) hi3516a_ive(PO) hi3516a_vda(PO) hi3516a_jpege(PO) hi3516a_h265e(PO) hi3516a_h264e(PO) hi3516a_chnl(PO) hi3516a_venc(PO) hi3516a_rc(PO) hi3516a_vpss(PO) hi3516a_viu(PO) hi3516a_isp(PO) hi3516a_vgs(PO) hi3516a_region(PO) hi3516a_tde(PO) hi3516a_sys(PO) hi3516a_base(PO) hi_media(O) mmz(O)
Backtrace:
[] (dump_backtrace+0x0/0x110) from [] (dump_stack+0x18/0x1c)
r6:c02f99b0 r5:00000009 r4:c0565d68 r3:c0570900
[] (dump_stack+0x0/0x1c) from [] (warn_slowpath_common+0x5c/0x6c)
[] (warn_slowpath_common+0x0/0x6c) from [] (warn_slowpath_fmt+0x38/0x40)
r8:00000000 r7:c1e9d3c0 r6:ffdd97e0 r5:c1da8bc0 r4:ffdd97e0
r3:00000009
[] (warn_slowpath_fmt+0x0/0x40) from [] (higmac_check_tx_err+0x64/0xb8)
r3:82562802 r2:c051304c
[] (higmac_check_tx_err+0x0/0xb8) from [] (higmac_xmit_release_gso+0x17c/0x188)
r5:c1e9d3c0 r4:ffdd97e0
[] (higmac_xmit_release_gso+0x0/0x188) from [] (higmac_xmit_release_skb+0x10c/0x260)
[] (higmac_xmit_release_skb+0x0/0x260) from [] (higmac_bfproc_recv+0x2c/0x314)
[] (higmac_bfproc_recv+0x0/0x314) from [] (tasklet_action+0x70/0xc0)
[] (tasklet_action+0x0/0xc0) from [] (__do_softirq+0xc4/0x154)
r7:c059b9c0 r6:c059b9dc r5:00000018 r4:00000001
[] (__do_softirq+0x0/0x154) from [] (irq_exit+0x54/0x5c)
[] (irq_exit+0x0/0x5c) from [] (handle_IRQ+0x44/0x8c)
[] (handle_IRQ+0x0/0x8c) from [] (gic_handle_irq+0x30/0x58)
r6:c0565f28 r5:fe402000 r4:c056c050 r3:00000039
[] (gic_handle_irq+0x0/0x58) from [] (__irq_svc+0x40/0x50)
Exception stack(0xc0565f28 to 0xc0565f70)
5f20: 00000000 00000000 00000000 00000000 c0564000 c05940c8
5f40: c0564000 c056f648 c0564000 410fc075 00000000 c0565f7c c0565f80 c0565f70
5f60: c000f3fc c000f400 60000013 ffffffff
r6:ffffffff r5:60000013 r4:c000f400 r3:c000f3fc
[] (default_idle+0x0/0x38) from [] (cpu_idle+0x7c/0xb8)
[] (cpu_idle+0x0/0xb8) from [] (rest_init+0x74/0x78)
r8:c0633300 r7:ffffffff r6:c056c000 r5:00000000 r4:c056c650
r3:00000000
[] (rest_init+0x0/0x78) from [] (start_kernel+0x2c0/0x2cc)
[] (start_kernel+0x0/0x2cc) from [<80008040>] (0x80008040)
---[ end trace 405eacb3ab79faac ]---
higmac_check_tx_err,364: sg_desc word[0]=0x0
higmac_check_tx_err,364: sg_desc word[1]=0x0
higmac_check_tx_err,364: sg_desc word[2]=0x0
higmac_check_tx_err,364: sg_desc word[3]=0x0
higmac_check_tx_err,364: sg_desc word[4]=0x0
higmac_check_tx_err,364: sg_desc word[5]=0x0
higmac_check_tx_err,364: sg_desc word[6]=0x0
higmac_check_tx_err,364: sg_desc word[7]=0x0
higmac_check_tx_err,364: sg_desc word[8]=0x0
higmac_check_tx_err,364: sg_desc word[9]=0x0
higmac_check_tx_err,364: sg_desc word[10]=0x0
higmac_check_tx_err,364: sg_desc word[11]=0x0
higmac_check_tx_err,364: sg_desc word[12]=0x0
higmac_check_tx_err,364: sg_desc word[13]=0x0
higmac_check_tx_err,364: sg_desc word[14]=0x0
higmac_check_tx_err,364: sg_desc word[15]=0x0
higmac_check_tx_err,364: sg_desc word[16]=0x0
higmac_check_tx_err,364: sg_desc word[17]=0x0
higmac_check_tx_err,364: sg_desc word[18]=0x0
higmac_check_tx_err,364: sg_desc word[19]=0x0
higmac_check_tx_err,364: sg_desc word[20]=0x0
higmac_check_tx_err,364: sg_desc word[21]=0x0
higmac_check_tx_err,364: sg_desc word[22]=0x0
higmac_check_tx_err,364: sg_desc word[23]=0x0
higmac_check_tx_err,364: sg_desc word[24]=0x0
higmac_check_tx_err,364: sg_desc word[25]=0x0
higmac_check_tx_err,364: sg_desc word[26]=0x0
higmac_check_tx_err,364: sg_desc word[27]=0x0
higmac_check_tx_err,364: sg_desc word[28]=0x0
higmac_check_tx_err,364: sg_desc word[29]=0x0
higmac_check_tx_err,364: sg_desc word[30]=0x0
higmac_check_tx_err,364: sg_desc word[31]=0x0
higmac_check_tx_err,364: sg_desc word[32]=0x0
higmac_check_tx_err,364: sg_desc word[33]=0x0
higmac_check_tx_err,364: sg_desc word[34]=0x0
higmac_check_tx_err,364: sg_desc word[35]=0x0
higmac_check_tx_err,364: sg_desc word[36]=0x0
higmac_check_tx_err,364: sg_desc word[37]=0x0
higmac_check_tx_err,364: sg_desc word[38]=0x0
higmac_check_tx_err,364: sg_desc word[39]=0x0
[/code]
Also, I have tried to turn off TSO, way like this:
higmac.h:
[code]#define HIGMAC_DRIVER_NAME "hi_gmac_v200"
//#define HIGMAC_TSO_DEBUG
/* #undef HIGMAC_TSO_DEBUG */
//#define HIGMAC_TSO_SUPPORTED
/* #undef HIGMAC_TSO_SUPPORTED */
#ifdef HIGMAC_TSO_SUPPORTED
#include "tso.h"
#endif
[/code]
But when TSO is turned off, I can`t send any packet :-(
So, I am still looking for any chance to use jumbo frames. Any help?
Are there any way to increase mtu (> 1500) for hi3516a hieth?
I have tried to set 0x1009003c to 0x1fff , it is register MAX_FRM_SIZE. I added custom mtu change function, so I can use ifconfig eth0 mtu 1550 for example.
But, I have such error:
[code]
# ping 192.168.250.1 -s 1500
PING 192.168.250.1 (192.168.250.1): 1500 data by------------[ cut here ]------------
WARNING: at drivers/net/ethernet/hieth-gmac/ctrl.c:358 higmac_check_tx_err+0x64/0xb8()
TX ERR: desc1=0x82562802, desc2=0x6060050,desc4=0x0, desc5=0x2
Modules linked in: hi_mipi(O) hi3516a_adec(PO) hi3516a_aenc(PO) hi3516a_ao(PO) hi3516a_ai(PO) hi3516a_aio(PO) acodec(PO) pwm(O) sensor_i2c(O) hi3516a_ive(PO) hi3516a_vda(PO) hi3516a_jpege(PO) hi3516a_h265e(PO) hi3516a_h264e(PO) hi3516a_chnl(PO) hi3516a_venc(PO) hi3516a_rc(PO) hi3516a_vpss(PO) hi3516a_viu(PO) hi3516a_isp(PO) hi3516a_vgs(PO) hi3516a_region(PO) hi3516a_tde(PO) hi3516a_sys(PO) hi3516a_base(PO) hi_media(O) mmz(O)
Backtrace:
[
r6:c02f99b0 r5:00000009 r4:c0565d68 r3:c0570900
[
[
r8:00000000 r7:c1e9d3c0 r6:ffdd97e0 r5:c1da8bc0 r4:ffdd97e0
r3:00000009
[
r3:82562802 r2:c051304c
[
r5:c1e9d3c0 r4:ffdd97e0
[
[
[
[
r7:c059b9c0 r6:c059b9dc r5:00000018 r4:00000001
[
[
[
r6:c0565f28 r5:fe402000 r4:c056c050 r3:00000039
[
Exception stack(0xc0565f28 to 0xc0565f70)
5f20: 00000000 00000000 00000000 00000000 c0564000 c05940c8
5f40: c0564000 c056f648 c0564000 410fc075 00000000 c0565f7c c0565f80 c0565f70
5f60: c000f3fc c000f400 60000013 ffffffff
r6:ffffffff r5:60000013 r4:c000f400 r3:c000f3fc
[
[
r8:c0633300 r7:ffffffff r6:c056c000 r5:00000000 r4:c056c650
r3:00000000
[
[
---[ end trace 405eacb3ab79faac ]---
higmac_check_tx_err,364: sg_desc word[0]=0x0
higmac_check_tx_err,364: sg_desc word[1]=0x0
higmac_check_tx_err,364: sg_desc word[2]=0x0
higmac_check_tx_err,364: sg_desc word[3]=0x0
higmac_check_tx_err,364: sg_desc word[4]=0x0
higmac_check_tx_err,364: sg_desc word[5]=0x0
higmac_check_tx_err,364: sg_desc word[6]=0x0
higmac_check_tx_err,364: sg_desc word[7]=0x0
higmac_check_tx_err,364: sg_desc word[8]=0x0
higmac_check_tx_err,364: sg_desc word[9]=0x0
higmac_check_tx_err,364: sg_desc word[10]=0x0
higmac_check_tx_err,364: sg_desc word[11]=0x0
higmac_check_tx_err,364: sg_desc word[12]=0x0
higmac_check_tx_err,364: sg_desc word[13]=0x0
higmac_check_tx_err,364: sg_desc word[14]=0x0
higmac_check_tx_err,364: sg_desc word[15]=0x0
higmac_check_tx_err,364: sg_desc word[16]=0x0
higmac_check_tx_err,364: sg_desc word[17]=0x0
higmac_check_tx_err,364: sg_desc word[18]=0x0
higmac_check_tx_err,364: sg_desc word[19]=0x0
higmac_check_tx_err,364: sg_desc word[20]=0x0
higmac_check_tx_err,364: sg_desc word[21]=0x0
higmac_check_tx_err,364: sg_desc word[22]=0x0
higmac_check_tx_err,364: sg_desc word[23]=0x0
higmac_check_tx_err,364: sg_desc word[24]=0x0
higmac_check_tx_err,364: sg_desc word[25]=0x0
higmac_check_tx_err,364: sg_desc word[26]=0x0
higmac_check_tx_err,364: sg_desc word[27]=0x0
higmac_check_tx_err,364: sg_desc word[28]=0x0
higmac_check_tx_err,364: sg_desc word[29]=0x0
higmac_check_tx_err,364: sg_desc word[30]=0x0
higmac_check_tx_err,364: sg_desc word[31]=0x0
higmac_check_tx_err,364: sg_desc word[32]=0x0
higmac_check_tx_err,364: sg_desc word[33]=0x0
higmac_check_tx_err,364: sg_desc word[34]=0x0
higmac_check_tx_err,364: sg_desc word[35]=0x0
higmac_check_tx_err,364: sg_desc word[36]=0x0
higmac_check_tx_err,364: sg_desc word[37]=0x0
higmac_check_tx_err,364: sg_desc word[38]=0x0
higmac_check_tx_err,364: sg_desc word[39]=0x0
[/code]
Also, I have tried to turn off TSO, way like this:
higmac.h:
[code]#define HIGMAC_DRIVER_NAME "hi_gmac_v200"
//#define HIGMAC_TSO_DEBUG
/* #undef HIGMAC_TSO_DEBUG */
//#define HIGMAC_TSO_SUPPORTED
/* #undef HIGMAC_TSO_SUPPORTED */
#ifdef HIGMAC_TSO_SUPPORTED
#include "tso.h"
#endif
[/code]
But when TSO is turned off, I can`t send any packet :-(
So, I am still looking for any chance to use jumbo frames. Any help?
我来回答
回答3个
时间排序
认可量排序
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2018-01-02 16:52:32
-
2018-08-20 19:55:44
-
2014-09-23 20:27:53
-
2016-09-01 09:52:28
-
2016-04-15 08:33:02
-
12016-07-13 11:54:11
-
2018-03-05 13:52:50
-
2017-01-17 15:57:54
-
02015-04-20 14:18:52
-
52015-07-29 12:15:10
-
22015-07-31 20:50:59
-
02017-03-09 17:39:02
-
112016-03-28 14:50:46
-
2019-01-22 18:02:14
-
2017-11-08 15:13:55
-
2016-04-15 08:49:57
-
2016-10-13 16:03:29
-
2017-10-17 12:14:19
-
2016-10-31 13:10:50
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5SS928的emmc有32GB,bootargs设置使用16GB,但是为啥能用的只有rootfs的大小
-
33SS928怎样烧写ubuntu系统
-
10ToolPlatform下载rootfs提示网络失败
-
10谁有GK7205V500的SDK
-
5Hi3516CV610 烧录不进去
-
10Hi3559AV100 芯片硬解码h265编码格式的视频时出现视频播放错误,解码错误信息 s32PackErr:码流有错
-
5海思SS928 / SD3403的sample_venc.c摄像头编码Demo中,采集到的摄像头的YUV数据在哪个相关的函数中?
-
5海鸥派openEuler无法启动网卡,连接WIFI存在问题
-
66有没有ISP相关的巨佬帮忙看看SS928对接IMX347的图像问题
-
50求助hi3559与FPGA通过SLVS-EC接口对接问题
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认