deferred or if the interrupt event was due to mailbox(which shall
be supported for VF soon), it could delay the reset handling.
This patch reorganizes the reset interrupt handling logic and
makes it more fair to other events.
Signed-off-by: Salil Mehta
Signed-off-by: lipeng
---
.../ethernet
hardware has acknowledged back to driver that it is
processing the hardware reset through interrupt)
Signed-off-by: Salil Mehta
Signed-off-by: lipeng
---
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c| 100 +
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.h| 1 -
2 files
Hi Yuval,
> -Original Message-
> From: Yuval Shaia [mailto:yuval.sh...@oracle.com]
> Sent: Thursday, November 09, 2017 8:27 AM
> To: Salil Mehta
> Cc: da...@davemloft.net; h...@lst.de; Zhuangyuzeng (Yisen); lipeng (Y);
> mehta.salil@gmail.com; net...@vger.kernel
This patch migrates the HNS3 driver code from use of depricated PCI
MSI/MSI-X interrupt vector allocation/free APIs to new common APIs.
Signed-off-by: Salil Mehta
Suggested-by: Christoph Hellwig
---
PATCH V2: Yuval Shaia
Link -> https://lkml.org/lkml/2017/11/9/138
PATCH V1: Initial Sub
This patch migrates the HNS3 driver code from use of depricated PCI
MSI/MSI-X interrupt vector allocation/free APIs to new common APIs.
Signed-off-by: Salil Mehta
Suggested-by: Christoph Hellwig
---
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c| 108 +++--
.../ethernet
Hi Andrew,
> -Original Message-
> From: Andrew Lunn [mailto:and...@lunn.ch]
> Sent: Wednesday, November 08, 2017 2:31 PM
> To: lipeng (Y)
> Cc: da...@davemloft.net; net...@vger.kernel.org; linux-
> ker...@vger.kernel.org; Linuxarm; Zhuangyuzeng (Yisen); Salil Mehta
>
driver.
Signed-off-by: Salil Mehta
Signed-off-by: lipeng
---
Patch V2: Addressed some internal commnets
Patch V1: Initial Submit
---
drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h| 94 +++
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c | 188 +
2 files changed
All PF mailbox events are conveyed through a common interrupt
(vector 0). This interrupt vector is shared by reset and mailbox.
This patch adds the handling of mailbox interrupt event and its
deferred processing in context to a separate mailbox task.
Signed-off-by: Salil Mehta
Signed-off-by
privileged operations.
This patch adds the support of a message handler for handling
such various command requests from VF.
Signed-off-by: Salil Mehta
Signed-off-by: lipeng
---
.../net/ethernet/hisilicon/hns3/hns3pf/Makefile| 2 +-
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c| 1
acknowledgements.
Signed-off-by: Salil Mehta
Signed-off-by: lipeng
---
Patch V2: Reworked comments by David Miller(except one comment on the
udelay() while holding locks. Needs further discussion)
Link: https://lkml.org/lkml/2017/12/5/639
Patch V1: Initial Submit
---
.../ethernet/hisilicon/hns3
This patch is required to support ring-vector binding and reset
of TQPs requested by the VF driver to the PF driver. Mailbox
handler is added with corresponding VF commands/messages to
handle the request.
Signed-off-by: Salil Mehta
Signed-off-by: lipeng
---
Patch V2: Addressed some internal
This patch introduces the new Makefiles and updates existing
Makefiles required to build the HNS3 Virtual Function driver.
This also updates the Kconfig for introduction of new menuconfig
entries related to VF driver.
Signed-off-by: Salil Mehta
Signed-off-by: lipeng
---
drivers/net/ethernet
Function. This
will help in reduction of redundancy and better management of
code.
Signed-off-by: Salil Mehta
Signed-off-by: lipeng
---
drivers/net/ethernet/hisilicon/hns3/Makefile | 6 +-
drivers/net/ethernet/hisilicon/hns3/hnae3.c| 14 --
drivers/net/ethernet/hisil
V2: 1. Addressed some comments by David Miller.
2. Addressed some internal comments on various patches
Patch V1: Initial Submit
NOTE: This patch depends upon https://lkml.org/lkml/2017/11/30/1079
Salil Mehta (8):
net: hns3: Add HNS3 VF IMP(Integrated Management Proc) cmd interface
net
, queries the statistics from
the hardware etc.
This layer can directly interact with hardware through the
IMP(Integrated Mangement Processor) interface or can use mailbox
to interact with the PF driver.
Signed-off-by: Salil Mehta
Signed-off-by: lipeng
---
Patch V2: Addressed some internal
Hi Philippe,
> -Original Message-
> From: Philippe Ombredanne [mailto:pombreda...@nexb.com]
> Sent: Saturday, December 09, 2017 12:17 AM
> To: Salil Mehta
> Cc: David S. Miller ; Zhuangyuzeng (Yisen)
> ; lipeng (Y) ;
> mehta.salil@gmail.com; net...@vger.
From: lipeng
When hnae_reserve_buffer_map fail, it will break cycle and some
buffer description has no available memory, therefore the port will
be unavailable.
Signed-off-by: Peng Li
Reviewed-by: Yisen Zhuang
Signed-off-by: Salil Mehta
---
drivers/net/ethernet/hisilicon/hns/hns_enet.c | 23
-off-by: Daode Huang
Reviewed-by: Yisen Zhuang
Signed-off-by: Salil Mehta
---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c | 16
drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h | 4
2 files changed, 20 insertions(+)
diff --git a/drivers/net/ethernet/hisilicon/hns
This patch-set introduces fix to some Bugs, potential problems
and code improvements identified during internal review and
testing of Hisilicon Network Subsystem driver.
Hi Doug,
These are few HNS patches which are not related to HNS RoCE driver but
are being sent through your repository hns-roce
From: Daode Huang
This patch adds fini_process for v2, it handles the packets recevied
by the hardware in the napi porcess. With this patch, the hardware irq
numbers will drop 50% per sec.
Signed-off-by: Daode Huang
Reviewed-by: Yisen Zhuang
Signed-off-by: Salil Mehta
---
drivers/net
select queue 0 to send broadcast and multicast packets.
Signed-off-by: Daode Huang
Reviewed-by: Yisen Zhuang
Signed-off-by: Salil Mehta
---
drivers/net/ethernet/hisilicon/hns/hns_enet.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/net/ethernet/hisilicon/hns
d-off-by: Daode Huang
Reviewed-by: Yisen Zhuang
Signed-off-by: Salil Mehta
---
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 8 ++--
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c | 13 ++---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h | 2 ++
3 files changed, 18 inser
From: Daode Huang
The broadcast packets is filtered in the hardware now, so this process
is no need in the driver, just delete it.
Signed-off-by: Daode Huang
Reviewed-by: Yisen Zhuang
Signed-off-by: Salil Mehta
---
drivers/net/ethernet/hisilicon/hns/hns_enet.c | 10 --
1 file
ng promisc
mode to let the packet looped back pass by dsaf mode.
Reported-by: Jun He
Signed-off-by: Kejian Yan
Reviewed-by: Yisen Zhaung
Signed-off-by: Salil Mehta
---
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 3 ---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 10 -
From: Daode Huang
Because we handle the received packets after napi, so delete the checking
before submitting. It delete the code of read the fbd number register,
which reduces the cpu usages while receiving packets
Signed-off-by: Daode Huang
Reviewed-by: Yisen Zhuang
Signed-off-by: Salil
> -Original Message-
> From: Leon Romanovsky [mailto:l...@kernel.org]
> Sent: Monday, September 12, 2016 1:33 PM
> To: Salil Mehta
> Cc: dledf...@redhat.com; Huwei (Xavier); oulijun; Zhuangyuzeng (Yisen);
> xuwei (O); mehta.salil@gmail.com; linux-r...@vger.kernel.o
> -Original Message-
> From: Leon Romanovsky [mailto:l...@kernel.org]
> Sent: Monday, September 12, 2016 1:36 PM
> To: Salil Mehta
> Cc: dledf...@redhat.com; Huwei (Xavier); oulijun; Zhuangyuzeng (Yisen);
> mehta.salil@gmail.com; linux-r...@vger.kernel
> -Original Message-
> From: Doug Ledford [mailto:dledf...@redhat.com]
> Sent: Wednesday, September 28, 2016 3:57 PM
> To: Salil Mehta
> Cc: Huwei (Xavier); oulijun; Zhuangyuzeng (Yisen);
> mehta.salil@gmail.com; linux-r...@vger.kernel.org; linux-
> ker...@vger
From: Daode Huang
This patch adds fini_process for v2, it handles the packets recevied
by the hardware in the napi porcess. With this patch, the hardware irq
numbers will drop 50% per sec.
Signed-off-by: Daode Huang
Reviewed-by: Yisen Zhuang
Signed-off-by: Salil Mehta
---
drivers/net
ng promisc
mode to let the packet looped back pass by dsaf mode.
Reported-by: Jun He
Signed-off-by: Kejian Yan
Reviewed-by: Yisen Zhaung
Signed-off-by: Salil Mehta
---
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c |3 ---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mai
From: lipeng
When hnae_reserve_buffer_map fail, it will break cycle and some
buffer description has no available memory, therefore the port will
be unavailable.
Signed-off-by: Peng Li
Reviewed-by: Yisen Zhuang
Signed-off-by: Salil Mehta
---
drivers/net/ethernet/hisilicon/hns/hns_enet.c
-off-by: Daode Huang
Reviewed-by: Yisen Zhuang
Signed-off-by: Salil Mehta
---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c | 16
drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h |4
2 files changed, 20 insertions(+)
diff --git a/drivers/net/ethernet/hisilicon/hns
This patch-set introduces fix to some Bugs, potential problems
and code improvements identified during internal review and
testing of Hisilicon Network Subsystem driver.
Submit Change
V1->V2: This addresses the feedbacks provided by David Miller
and Doug Ledford
Daode Huang (6):
net: hn
From: Daode Huang
The broadcast packets is filtered in the hardware now, so this process
is no need in the driver, just delete it.
Signed-off-by: Daode Huang
Reviewed-by: Yisen Zhuang
Signed-off-by: Salil Mehta
---
drivers/net/ethernet/hisilicon/hns/hns_enet.c | 10 --
1 file
From: Daode Huang
Because we handle the received packets after napi, so delete the checking
before submitting. It delete the code of read the fbd number register,
which reduces the cpu usages while receiving packets
Signed-off-by: Daode Huang
Reviewed-by: Yisen Zhuang
Signed-off-by: Salil
d-off-by: Daode Huang
Reviewed-by: Yisen Zhuang
Signed-off-by: Salil Mehta
---
PATCH V2: Addressed comments by David Miller
Link: https://lkml.org/lkml/2016/9/28/390
PATCH V1: Initial Submit
---
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c |8 ++--
drivers/net/ethernet/hisi
select queue 0 to send broadcast and multicast packets.
Signed-off-by: Daode Huang
Reviewed-by: Yisen Zhuang
Signed-off-by: Salil Mehta
---
PATCH v2: Addressed comments by David Miller
Link: https://lkml.org/lkml/2016/9/28/390
PATCH V1: Initial Submit
---
drivers/net/ethernet/hisilicon
> Hi Salil,
>
> I've chatted with Dave Miller about this series. Here's where we
> stand.
>
> First, the review feedback from Dave:
>
> ---
>
> In patch #7, their comments are mis-formatted and these
> hns guys do this a lot.
>
> /*fix hardware broadcast/multicast packets queue loopback
> -Original Message-
> From: Doug Ledford [mailto:dledf...@redhat.com]
> Sent: Thursday, August 25, 2016 4:00 PM
> To: Salil Mehta; David Miller
> Cc: Huwei (Xavier); oulijun; Zhuangyuzeng (Yisen);
> mehta.salil@gmail.com; linux-r...@vger.kernel.org;
> net...@v
> -Original Message-
> From: Doug Ledford [mailto:dledf...@redhat.com]
> Sent: Thursday, August 25, 2016 12:57 PM
> To: David Miller; Salil Mehta
> Cc: Huwei (Xavier); oulijun; Zhuangyuzeng (Yisen);
> mehta.salil@gmail.com; linux-r...@vger.kernel.org;
> net...@v
device. This value shall be used by
RDMA CM.
Signed-off-by: Lijun Ou
Reviewed-by: Wei Hu
Signed-off-by: Salil Mehta
---
PATCH V2: Addressed the comment by Leon Romanovsky
* Link: https://lkml.org/lkml/2016/9/12/309
PATCH V1: Initial Patch
---
drivers/infiniband/hw/hns
: Wei Hu
Signed-off-by: Salil Mehta
---
drivers/infiniband/hw/hns/hns_roce_main.c | 20
1 file changed, 20 insertions(+)
diff --git a/drivers/infiniband/hw/hns/hns_roce_main.c
b/drivers/infiniband/hw/hns/hns_roce_main.c
index f64f0dd..39e69c3 100644
--- a/drivers/infiniband
From: Lijun Ou
This patch mainly modify the value of HNS_ROCE_SL_SHIFT
and delete the lines for assigning for the field of
local_enable_e2e_credit in QP1C.
Signed-off-by: Lijun Ou
Reviewed-by: Wei Hu
Signed-off-by: Salil Mehta
---
drivers/infiniband/hw/hns/hns_roce_device.h | 2 +-
drivers
This patch-set adds the CM(Connection Manager) support to the
HNS RoCE driver. Changes done are primarily to add support of
APIs in IB device and some fixes over the base driver to
support RDMA Connection Manager. This patch-set also updates
the Device binding document as new parameter node-guid wa
Ou
Reviewed-by: Wei Hu
Signed-off-by: Salil Mehta
---
drivers/infiniband/hw/hns/hns_roce_pd.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/infiniband/hw/hns/hns_roce_pd.c
b/drivers/infiniband/hw/hns/hns_roce_pd.c
index 16271b5..4109f74 100644
--- a/drivers
From: Lijun Ou
Fix the length of wqe that maybe lead to an error and
write the end bytes of QP1C into the register.
Signed-off-by: Lijun Ou
Reviewed-by: Wei Hu
Signed-off-by: Salil Mehta
---
drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 10 --
1 file changed, 4 insertions(+), 6
base driver where iboe port was being
used instead of phy_port at some places. This values might not
be same always.
Signed-off-by: Lijun Ou
Reviewed-by: Wei Hu
Signed-off-by: Salil Mehta
---
drivers/infiniband/hw/hns/hns_roce_device.h | 1 +
drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 30
From: Lijun Ou
Fix bug of modify qp from init to init on user mode. Otherwise,
it will oops when rmda cm established.
Signed-off-by: Lijun Ou
Reviewed-by: Wei Hu
Signed-off-by: Salil Mehta
---
PATCH V3: Fixed compilation break reported by kbuild
Link: https://lkml.org/lkml/2016/9
d-off-by: Salil Mehta
---
drivers/infiniband/hw/hns/hns_roce_main.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/infiniband/hw/hns/hns_roce_main.c
b/drivers/infiniband/hw/hns/hns_roce_main.c
index f0700f4..a9960ba 100644
--- a/drivers/infiniband/hw/hns/hns_roc
From: Lijun Ou
This patch adds node_guid definition in bindings document.
The value of node_guid will be used during RDMA connection.
Signed-off-by: Lijun Ou
Reviewed-by: Wei Hu
Signed-off-by: Salil Mehta
---
Documentation/devicetree/bindings/infiniband/hisilicon-hns-roce.txt | 2 ++
1 file
601 - 650 of 650 matches
Mail list logo