]> git.karo-electronics.de Git - karo-tx-linux.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)
commitda3488bbde50c274a327afa67a141c86c065e0fa
tree9b57558daefe6ef8a235ac71bacf084d9f45d520
parent717dd807383b074c1ff3852a05ea5d1289827993
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