From: Salil <salil.mehta@huawei.com>
To: davem@davemloft.net, robh+dt@kernel.org, pawel.moll@arm.com,
mark.rutland@arm.com, paul.gortmaker@windriver.com,
ijc+devicetree@hellion.org.uk, galak@codeaurora.org,
catalin.marinas@arm.com, will.deacon@arm.com, arnd@arndb.de,
liguozhu@hisilicon.com, yisen.zhuang@huawei.com,
dingtianhong@huawei.com, zhangfei.gao@linaro.org,
huangdaode@hisilicon.com, kenneth-lee-2012@foxmail.com,
salil.mehta@huawei.com, mehta.salil.lnk@gmail.com,
xuwei5@hisilicon.com, lisheng011@huawei.com,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org,
linuxarm@huawei.com
Subject: [PATCH net-next 0/4] net:hns: Add support of Hip06 SoC to the Hislicon Network Subsystem
Date: Tue, 20 Oct 2015 23:01:14 +0800 [thread overview]
Message-ID: <1445353278-130498-1-git-send-email-salil.mehta@huawei.com> (raw)
From: Salil Mehta <salil.mehta@huawei.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
next reply other threads:[~2015-10-20 15:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-20 15:01 Salil [this message]
2015-10-20 15:01 ` [PATCH net-next 1/4] net:hns: Add support of Hip06 SoC to the Hislicon Network Subsystem Salil
2015-10-20 15:54 ` kbuild test robot
2015-10-20 15:54 ` [RFC PATCH] net:hns: hns_aev2_toggle_ring_irq() can be static kbuild test robot
[not found] ` <1445353278-130498-1-git-send-email-salil.mehta-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2015-10-20 15:01 ` [PATCH net-next 2/4] net:hns: Add Hip06 "RSS(Receive Side Scaling)" support to HNS Driver Salil
[not found] ` <1445353278-130498-3-git-send-email-salil.mehta-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2015-10-22 2:01 ` Yisen.Zhuang(Zhuangyuzeng)
2015-10-20 15:01 ` [PATCH net-next 3/4] net:hns: Add Hip06 "TSO(TCP Segment Offload)" support " Salil
2015-10-20 15:01 ` [PATCH net-next 4/4] net:hns: Add the init code to disable Hip06 "Hardware VLAN assist" Salil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1445353278-130498-1-git-send-email-salil.mehta@huawei.com \
--to=salil.mehta@huawei.com \
--cc=arnd@arndb.de \
--cc=catalin.marinas@arm.com \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=dingtianhong@huawei.com \
--cc=galak@codeaurora.org \
--cc=huangdaode@hisilicon.com \
--cc=ijc+devicetree@hellion.org.uk \
--cc=kenneth-lee-2012@foxmail.com \
--cc=liguozhu@hisilicon.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxarm@huawei.com \
--cc=lisheng011@huawei.com \
--cc=mark.rutland@arm.com \
--cc=mehta.salil.lnk@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=paul.gortmaker@windriver.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=will.deacon@arm.com \
--cc=xuwei5@hisilicon.com \
--cc=yisen.zhuang@huawei.com \
--cc=zhangfei.gao@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).