]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: fixed the bug about GMACs mac setting
authorSheng Li <lisheng011@huawei.com>
Tue, 22 Mar 2016 08:06:25 +0000 (16:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Mar 2016 19:45:58 +0000 (15:45 -0400)
commit336fbe6a53569719b07f95fe4f33eb4b0a23f60d
tree486a4e6eea1b2577deb691a1e0f6bada5e44909e
parente138c41798f68db689af71fc9209ba546f359cf5
net: hns: fixed the bug about GMACs mac setting

When sending a pause frame out from GMACs, the packets' source MAC address
does not match the GMACs' MAC address. It causes by the condition before
the mac address setting routine for GMACs, the mac address cannot be set
into loacal mac table for service ports. It obviously the condition needs
to be deleted.

Signed-off-by: Sheng Li <lisheng011@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_gmac.c