]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: fix the bug about mtu setting
authorKejian Yan <yankejian@huawei.com>
Tue, 22 Mar 2016 08:06:29 +0000 (16:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Mar 2016 19:45:58 +0000 (15:45 -0400)
commit2729ee28b9f325fe7055590d91640f4e4371cdf3
tree9b57558daefe6ef8a235ac71bacf084d9f45d520
parentac3720e4922958d74fc2fff6bf9ac12636cd5242
net: hns: fix the bug about mtu setting

In chip V1, the maximum mtu value is 9600. But in chip V2, it is 9728.
And it is always configurates as 9600 before this patch.

Signed-off-by: Kejian Yan <yankejian@huawei.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h
drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c
drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.h