[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1445353278-130498-1-git-send-email-salil.mehta@huawei.com>
Date: Tue, 20 Oct 2015 23:01:14 +0800
From: Salil <salil.mehta@...wei.com>
To: <davem@...emloft.net>, <robh+dt@...nel.org>, <pawel.moll@....com>,
<mark.rutland@....com>, <paul.gortmaker@...driver.com>,
<ijc+devicetree@...lion.org.uk>, <galak@...eaurora.org>,
<catalin.marinas@....com>, <will.deacon@....com>, <arnd@...db.de>,
<liguozhu@...ilicon.com>, <yisen.zhuang@...wei.com>,
<dingtianhong@...wei.com>, <zhangfei.gao@...aro.org>,
<huangdaode@...ilicon.com>, <kenneth-lee-2012@...mail.com>,
<salil.mehta@...wei.com>, <mehta.salil.lnk@...il.com>,
<xuwei5@...ilicon.com>, <lisheng011@...wei.com>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>, <netdev@...r.kernel.org>,
<linuxarm@...wei.com>
Subject: [PATCH net-next 0/4] net:hns: Add support of Hip06 SoC to the Hislicon Network Subsystem
From: Salil Mehta <salil.mehta@...wei.com>
This patch-set adds support of new Hisilicon Hip06 SoC to the existing
(already part of net-next) HNS ethernet driver for Hip05 SoC. Hip06 is
a multi-core SoC and is a derivative of Hip05 SoC with lots of new
hardware featres supported like RSS, TSO, hardware VLAN assist etc.
The changes in the driver are mainly due to following:
1) changes in the DMA descriptor provided by the Hip06 ethernet
hardware. These changes need to co-exist with already present
Hip05 DMA descriptor and its operating functions. The decision
to choose the correct type of DMA descriptor is taken dynamically
depending upon the version of the hardware (i.e. V1/hip05 or
V2/hip06, see alredy existing hisilicon-hns-nic.txt binding file
for the detailed description version and naming).
2) To support new features added to the Hip06 ethernet hardware:
a. RSS (Receive Side Scaling)
b. TSO (TCP Segment Offload)
c. Hardware VLAN support (currently we are initializing hardware
to not assist in stripping the vlan tag at hardware level.
Proper supoort of this feature and ethtool would come after
these patches have been accepted)
Kindly note that, this patchset has been based on net-next which
already has Hip05 ethernet driver changes.
Salil Mehta (4):
net:hns: Add support of Hip06 SoC to the Hislicon Network Subsystem
net:hns: Add Hip06 "RSS(Receive Side Scaling)" support to HNS Driver
net:hns: Add Hip06 "TSO(TCP Segment Offload)" support HNS Driver
net:hns: Add the init code to disable Hip06 "Hardware VLAN assist"
drivers/net/ethernet/hisilicon/hns/hnae.h | 58 ++-
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 119 +++++-
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 154 ++++++-
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h | 5 +-
drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c | 6 +-
drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c | 91 +++-
drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.h | 33 +-
drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c | 68 ++-
drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.h | 8 +-
drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h | 83 +++-
drivers/net/ethernet/hisilicon/hns/hns_enet.c | 440 ++++++++++++++++----
drivers/net/ethernet/hisilicon/hns/hns_enet.h | 12 +
drivers/net/ethernet/hisilicon/hns/hns_ethtool.c | 71 +++-
13 files changed, 1003 insertions(+), 145 deletions(-)
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists