]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: adds limitation for debug port mtu
authorKejian Yan <yankejian@huawei.com>
Tue, 22 Mar 2016 08:06:30 +0000 (16:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Mar 2016 19:45:58 +0000 (15:45 -0400)
commit186df5c08f89a7a3ce1186e37f2ab4c646b899e0
treeaa321cca404e81c2f9deb8236fb06cb4d25ce4a7
parent0465d30fb8a648f78c5940b249df54625ba9697e
net: hns: adds limitation for debug port mtu

If mtu for debug port is set more than 1500, it may cause that packets
are dropped by ppe. So maximum value for debug port should be 1500.

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