]> 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)
commitdd3e3d86f63a5af1c0ff164fa4c914500b85c770
tree486a4e6eea1b2577deb691a1e0f6bada5e44909e
parent8dfa54480c9b90193678f838a2d1f3beb2fbc216
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