lp:~tai271828/ubuntu/+source/linux/+git/bionic

Owned by Taihsiang Ho
Get this repository:
git clone https://git.launchpad.net/~tai271828/ubuntu/+source/linux/+git/bionic
Only Taihsiang Ho can upload to this repository. If you are Taihsiang Ho please log in for upload directions.

Branches

Name Last Modified Last Commit
master-next-lp1859564 2020-03-16 09:16:40 UTC
net: hns3: process H/W errors occurred before HNS dev initialization

Author: Shiju Jose
Author Date: 2019-06-13 09:12:23 UTC

net: hns3: process H/W errors occurred before HNS dev initialization

BugLink: https://bugs.launchpad.net/bugs/1859564

Presently the HNS driver enables the HNS H/W error interrupts after
the dev initialization is completed. However some exceptions such as
NCSI errors can occur when the network port driver is not loaded
and those errors required reporting to the BMC.
Therefore the firmware enabled all the HNS ras error interrupts
before the driver is loaded. And in some cases, there will be some
H/W errors remained unclear before reboot. Thus the HNS driver needs
to process and recover those hw errors occurred before HNS driver is
initialized.

This patch adds processing of the HNS hw errors(RAS and MSI-X)
which occurred before the driver initialization. For RAS, because
they are enabled by firmware, so we can detect specific bits, then
log and clear them. But for MSI-X which can not be enabled before
open vector0 irq, we can't detect the specific error bits, so we
just write 1 to all interrupt source registers to clear.

Signed-off-by: Shiju Jose <shiju.jose@huawei.com>
Signed-off-by: Weihang Li <liweihang@hisilicon.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(backported from commit e4193e24a52016d9088e796c313f6eb3c9c540e0)
Signed-off-by: Taihsiang Ho (tai271828) <taihsiang.ho@canonical.com>

master-next-lp1859569 2020-03-04 07:45:16 UTC
net: hns3: fix ETS bandwidth validation bug

Author: Yonglong Liu
Author Date: 2019-11-14 02:32:41 UTC

net: hns3: fix ETS bandwidth validation bug

BugLink: http://bugs.launchpad.net/bugs/1859569

Some device only support 4 TCs, but the driver check the total
bandwidth of 8 TCs, so may cause wrong configurations write to
the hw.

This patch uses hdev->tc_max to instead HNAE3_MAX_TC to fix it.

Fixes: e432abfb99e5 ("net: hns3: add common validation in hclge_dcb")
Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit c2d56897819338eb0ba8b93184f7d10329b36653)
Signed-off-by: Taihsiang Ho (tai271828) <taihsiang.ho@canonical.com>

master-next-lp1860320-2 2020-02-21 09:07:47 UTC
net: hns3: pad the short frame before sending to the hardware

Author: Yunsheng Lin
Author Date: 2020-01-15 02:46:45 UTC

net: hns3: pad the short frame before sending to the hardware

BugLink: http://bugs.launchpad.net/bugs/1860320

The hardware can not handle short frames below or equal to 32
bytes according to the hardware user manual, and it will trigger
a RAS error when the frame's length is below 33 bytes.

This patch pads the SKB when skb->len is below 33 bytes before
sending it to hardware.

Fixes: 76ad4f0ee747 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC")
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(backported from commit 36c67349a1a1c88b9cf11d7ca7762ababdb38867)
Signed-off-by: Taihsiang Ho (tai271828) <taihsiang.ho@canonical.com>

master-next-lp1860320 2020-02-19 15:32:51 UTC
net: hns3: pad the short frame before sending to the hardware

Author: Yunsheng Lin
Author Date: 2020-01-15 02:46:45 UTC

net: hns3: pad the short frame before sending to the hardware

BugLink: http://bugs.launchpad.net/bugs/1860320

The hardware can not handle short frames below or equal to 32
bytes according to the hardware user manual, and it will trigger
a RAS error when the frame's length is below 33 bytes.

This patch pads the SKB when skb->len is below 33 bytes before
sending it to hardware.

Fixes: 76ad4f0ee747 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC")
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(backported from commit 36c67349a1a1c88b9cf11d7ca7762ababdb38867)
Signed-off-by: Taihsiang Ho (tai271828) <taihsiang.ho@canonical.com>

14 of 4 results
This repository contains Public information 
Everyone can see this information.

Subscribers