On Tuesday, February 02/02/21, 2021 at 21:35:55 +0100, Heiner Kallweit wrote:
> cxgb3 driver doesn't use the PCI core code for VPD access, it has its own
> implementation. Therefore we don't need a quirk for it in the core code.
>
> Signed-off-by: Heiner Kallweit
> ---
> drivers/pci/vpd.c | 13 +
On Wednesday, February 02/03/21, 2021 at 18:23:37 -0800, Jakub Kicinski wrote:
> On Tue, 2 Feb 2021 23:55:11 +0530 Raju Rangoju wrote:
> > Signed-off-by: Raju Rangoju
>
> Does this device require any code which only exists in net-next?
>
No code dependency exists in net-next
Signed-off-by: Raju Rangoju
---
drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h
b/drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h
index 0c5373462ced..0b1b5f9c67d4 100644
--- a/drivers
On Tuesday, January 01/26/21, 2021 at 10:50:13 +0800, Yang Li wrote:
> Fix below warnings reported by coccicheck:
> ./drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c:323:3-9: WARNING:
> NULL check before some freeing functions is not needed.
> ./drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c:3554:2-8
On Monday, January 01/25/21, 2021 at 17:47:25 +0800, Yang Li wrote:
> Fix below warnings reported by coccicheck:
> ./drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c:533:2-8: WARNING:
> NULL check before some freeing functions is not needed.
>
> Reported-by: Abaci Robot
> Signed-off-by: Yang Li
On Monday, January 01/25/21, 2021 at 17:47:24 +0800, Yang Li wrote:
> Fix below warnings reported by coccicheck:
> ./drivers/net/ethernet/chelsio/cxgb4/cxgb4_cudbg.c:161:2-7: WARNING:
> NULL check before some freeing functions is not needed.
>
> Reported-by: Abaci Robot
> Signed-off-by: Yang Li
Hi,
We have an out-of-tree kernel module which was using
segment_eq(get_fs(), KERNEL_DS) to determine whether buffers are in
Kernel space vs User space. However, with the get_fs() and its friends
removed[1], we are out of ideas on how to determine if buffers are in
user space or kernel space. Can
is generated immediately
whenever hardware catches up with driver (i.e. CIDX == PIDX is
reached), which is often the case for slow traffic.
Signed-off-by: Raju Rangoju
---
drivers/net/ethernet/chelsio/cxgb4/sge.c | 38 +++-
1 file changed, 33 insertions(+), 5
; Reported-by: Hulk Robot
> Signed-off-by: Zhang Changzhong
> ---
Acked-by: Raju Rangoju
> drivers/net/ethernet/chelsio/cxgb3/sge.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/ethernet/chelsio/cxgb3/sge.c
> b/drivers/net/ethernet/chelsio/cxgb3/sge.c
>
SMT entry is allocated only when loopback Source MAC
rewriting is requested. Accessing SMT entry for non
smac rewrite cases results in kernel panic.
Fix the panic caused by non smac rewrite
Fixes: 937d84205884 ("cxgb4: set up filter action after rewrites")
Signed-off-by: Ra
Update cxgb4 and cxgb3 driver maintainer
Signed-off-by: Raju Rangoju
---
MAINTAINERS | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 4a34b25ecc1f..a72d35490cbf 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4710,7 +4710,7 @@ T
s
or only after everything else is set up for rewrites.
Fixes: 12b276fbf6e0 ("cxgb4: add support to create hash filters")
Signed-off-by: Raju Rangoju
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c | 56 +++
drivers/net/ethernet/chelsio/cxgb4/t4_tcb.h |
Fix the memory leak in mps during module unload
path by freeing mps reference entries if the list
adpter->mps_ref is not already empty
Fixes: 28b3870578ef ("cxgb4: Re-work the logic for mps refcounting")
Signed-off-by: Raju Rangoju
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_mp
cxgb4 does not look for HASHTBLMEMCRCERR and CMDTIDERR
bits in LE_DB_INT_CAUSE register, but these are enabled
in LE_DB_INT_ENABLE. So, add error handlers to LE
interrupt handler to emit a warning or alert message
for hash table mem crc and cmd tid errors
Signed-off-by: Raju Rangoju
---
drivers
improvement in BW is noticed at lower
IO sizes.
Fixes: d429005fdf2c ("cxgb4/cxgb4vf: Add support for SGE doorbell queue timer")
Signed-off-by: Raju Rangoju
---
drivers/net/ethernet/chelsio/cxgb4/sge.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/ne
This patch adds reference counting support for
alloc/free mac filters
Signed-off-by: Raju Rangoju
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 6 +++
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 12 +++--
drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c | 72
:
Use refcount_t type instead of atomic_t for mps reference count
Raju Rangoju (4):
cxgb4: Re-work the logic for mps refcounting
cxgb4: Add MPS TCAM refcounting for raw mac filters
cxgb4: Add MPS TCAM refcounting for cxgb4 change mac
cxgb4: Add MPS refcounting for alloc/free mac filters
drive
This patch adds TCAM reference counting
support for cxgb4 change mac path
Signed-off-by: Raju Rangoju
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 7 +++
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 14 +++---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c | 15
This patch adds TCAM reference counting
support for raw mac filters.
Signed-off-by: Raju Rangoju
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 16 +
drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c | 46 ++
2 files changed, 62 insertions(+)
diff --git a
Remove existing mps refcounting code which was
added only for encap filters and add necessary
data structures/functions to support mps reference
counting for all the mac filters. Also add wrapper
functions for allocating and freeing encap mac
filters.
Signed-off-by: Raju Rangoju
---
drivers/net
On Monday, June 06/24/19, 2019 at 07:53:23 -0700, David Miller wrote:
> From: David Miller
> Date: Mon, 24 Jun 2019 07:51:32 -0700 (PDT)
>
> > From: Raju Rangoju
> > Date: Mon, 24 Jun 2019 14:20:33 +0530
> >
> >> Firmware reference counts the MPS TCAM entrie
This patch adds reference counting support for
alloc/free mac filters
Signed-off-by: Raju Rangoju
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 6 +++
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 12 +++--
drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c | 72
This patch adds TCAM reference counting
support for cxgb4 change mac path
Signed-off-by: Raju Rangoju
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 7 +++
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 14 +++---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c | 15
Firmware reference counts the MPS TCAM entries by PF and VF,
but it does not do it for usage within a PF or VF. This patch
adds the support to track MPS TCAM entries within a PF.
v1->v2:
Use refcount_t type instead of atomic_t for mps reference count
Raju Rangoju (4):
cxgb4: Re-work the lo
Remove existing mps refcounting code which was
added only for encap filters and add necessary
data structures/functions to support mps reference
counting for all the mac filters. Also add wrapper
functions for allocating and freeing encap mac
filters.
Signed-off-by: Raju Rangoju
---
drivers/net
This patch adds TCAM reference counting
support for raw mac filters.
Signed-off-by: Raju Rangoju
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 16 +
drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c | 46 ++
2 files changed, 62 insertions(+)
diff --git a
On Sunday, June 06/23/19, 2019 at 11:34:23 -0700, David Miller wrote:
> From: Raju Rangoju
> Date: Fri, 21 Jun 2019 20:06:33 +0530
>
> > +struct mps_entries_ref {
> > + struct list_head list;
> > + u8 addr[ETH_ALEN];
> > + u8 mask[ETH_ALEN];
> &g
This patch adds TCAM reference counting
support for raw mac filters.
Signed-off-by: Raju Rangoju
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 16 +
drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c | 46 ++
2 files changed, 62 insertions(+)
diff --git a
Remove existing mps refcounting code which was
added only for encap filters and add necessary
data structures/functions to support mps reference
counting for all the mac filters. Also add wrapper
functions for allocating and freeing encap mac
filters.
Signed-off-by: Raju Rangoju
---
drivers/net
This patch adds TCAM reference counting
support for cxgb4 change mac path
Signed-off-by: Raju Rangoju
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 7 +++
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 14 +++---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c | 15
This patch adds reference counting support for
alloc/free mac filters
Signed-off-by: Raju Rangoju
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 6 +++
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 12 +++--
drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c | 72
Firmware reference counts the MPS TCAM entries by PF and VF,
but it does not do it for usage within a PF or VF. This patch
adds the support to track MPS TCAM entries within a PF.
Raju Rangoju (4):
cxgb4: Re-work the logic for mps refcounting
cxgb4: Add MPS TCAM refcounting for raw mac filters
ff-by: Raju Rangoju
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c
b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c
index 6e2d80008a79..cfaf8f618d1f 1
from indirect register.
Signed-off-by: Raju Rangoju
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h| 1 +
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c | 3 +-
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c| 47 ---
drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h
On Thursday, February 02/14/19, 2019 at 15:41:34 +, Jason Gunthorpe wrote:
> On Thu, Feb 14, 2019 at 05:40:54PM +0530, Raju Rangoju wrote:
> > Adjust the cq/qp mask based on no.of bar2 pages in a host page.
> >
> > For user-mode rdma, the granularity of the BAR2 memory
contexts are
in a bar2 page. So the rdev->qpmask and rdev->cqmask in
iw_cxgb4 need to now be adjusted based on how many sge bar2
pages are in a host page.
Fixes: 2391b0030e ("cxgb4: Remove SGE_HOST_PAGE_SIZE dependency on page size")
Signed-off-by: Raju Rangoju
---
drivers/inf
cleanly on both net-next
and rdma-for-rc and doesn't cause any merge conflicts.
Raju Rangoju (2):
cxgb4: export sge_host_page_size to ulds
iw_cxgb4: cq/qp mask depends on bar2 pages in a host page
drivers/infiniband/hw/cxgb4/device.c | 15 +--
drivers/net/eth
Export the sge_host_page_size field to ULDs via
cxgb4_lld_info, so that iw_cxgb4 can make use of
this in calculating the correct qp/cq mask.
Fixes: 2391b0030e ("cxgb4: Remove SGE_HOST_PAGE_SIZE dependency on page
size")
Signed-off-by: Raju Rangoju
---
drivers/net/ethernet/che
uish the srqidx properly.
Signed-off-by: Raju Rangoju
---
drivers/infiniband/hw/cxgb4/cm.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c
index 7aca5d73c19e..f45044d8de4d 100644
--- a/drivers/infiniban
TF_RX_PDU_OUT (bit 49 of t_flags) in order to determine if
there's a rx PDU feedback event pending.
Signed-off-by: Raju Rangoju
---
drivers/infiniband/hw/cxgb4/cm.c | 161 +++--
drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 3 +
drivers/infiniband/hw/cxgb4/t4.h | 1
rdma repo.
I have made sure this series applies cleanly on both net-next
and rdma-for-next and doesn't cause any merge conflicts.
Raju Rangoju (3):
cxgb4: add tcb flags and tcb rpl struct
iw_cxgb4: complete the cached SRQ buffers
iw_cxgb4: fix srqidx leak during connection abort
dr
This patch adds the tcb flags and structures needed for querying tcb
information.
Signed-off-by: Raju Rangoju
---
drivers/net/ethernet/chelsio/cxgb4/t4_msg.h | 8
drivers/net/ethernet/chelsio/cxgb4/t4_tcb.h | 12
2 files changed, 20 insertions(+)
diff --git a/drivers/net
- Add srq table query cpl support for srq
- Add cpl_abort_req_rss6 and cpl_abort_rpl_rss6 structs.
- Add accessors, macros to get the SRQ IDX value.
Signed-off-by: Raju Rangoju
Reviewed-by: Steve Wise
Signed-off-by: Ganesh Goudar
---
drivers/net/ethernet/chelsio/cxgb4/t4_msg.h | 71
This patch adds support to query FW for the HW SRQ table start/end, and
advertise that for ULDs.
Signed-off-by: Raju Rangoju
Reviewed-by: Steve Wise
Signed-off-by: Ganesh Goudar
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 20
drivers/net/ethernet/chelsio/cxgb4
- This patch adds support to initialise srq table and read srq entries
Signed-off-by: Raju Rangoju
Reviewed-by: Steve Wise
Signed-off-by: Ganesh Goudar
---
drivers/net/ethernet/chelsio/cxgb4/Makefile | 2 +-
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 2 +
drivers/net/ethernet/chelsio
If FW supports RDMA WRITE_COMPLETION functionality, then advertise that
to the ULDs. This will be used by iw_cxgb4 to allow WRITE_COMPLETION
work requests.
Signed-off-by: Potnuri Bharat Teja
Signed-off-by: Raju Rangoju
Signed-off-by: Ganesh Goudar
Signed-off-by: Steve Wise
---
drivers/net
Stefano's suggestion
v2: fixed the patching issues and also
fixed the following based on review comments of Stefano Brivio
- using kvzalloc instead of vzalloc
- using #define instead of enum
Raju Rangoju (5):
cxgb4: Adds CPL support for Shared Receive Queues
cxgb4: Add suppo
If FW supports RDMA WRITE_WITH_IMMEDATE functionality, then advertise
that
to the ULDs. This will be used by iw_cxgb4 to allow WRITE_WITH_IMMEDIATE
work requests.
Signed-off-by: Potnuri Bharat Teja
Signed-off-by: Raju Rangoju
Signed-off-by: Ganesh Goudar
Signed-off-by: Steve Wise
---
drivers
On Tuesday, March 03/20/18, 2018 at 07:59:22 +0100, Stefano Brivio wrote:
> On Tue, 20 Mar 2018 07:58:39 +0100
> Stefano Brivio wrote:
>
> > On Tue, 20 Mar 2018 11:43:34 +0530
> > Raju Rangoju wrote:
> >
> > > +struct srq_data *t4_init_srq(int srq_size)
If FW supports RDMA WRITE_COMPLETION functionality, then advertise that
to the ULDs. This will be used by iw_cxgb4 to allow WRITE_COMPLETION
work requests.
Signed-off-by: Potnuri Bharat Teja
Signed-off-by: Raju Rangoju
Signed-off-by: Ganesh Goudar
Signed-off-by: Steve Wise
---
drivers/net
If FW supports RDMA WRITE_WITH_IMMEDATE functionality, then advertise
that
to the ULDs. This will be used by iw_cxgb4 to allow WRITE_WITH_IMMEDIATE
work requests.
Signed-off-by: Potnuri Bharat Teja
Signed-off-by: Raju Rangoju
Signed-off-by: Ganesh Goudar
Signed-off-by: Steve Wise
---
drivers
- Add srq table query cpl support for srq
- Add cpl_abort_req_rss6 and cpl_abort_rpl_rss6 structs.
- Add accessors, macros to get the SRQ IDX value.
Signed-off-by: Raju Rangoju
Reviewed-by: Steve Wise
Signed-off-by: Ganesh Goudar
---
drivers/net/ethernet/chelsio/cxgb4/t4_msg.h | 71
- This patch adds support to initialise srq table and read srq entries
Signed-off-by: Raju Rangoju
Reviewed-by: Steve Wise
Signed-off-by: Ganesh Goudar
---
drivers/net/ethernet/chelsio/cxgb4/Makefile | 2 +-
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 2 +
drivers/net/ethernet/chelsio
This patch adds support to query FW for the HW SRQ table start/end, and
advertise that for ULDs.
Signed-off-by: Raju Rangoju
Reviewed-by: Steve Wise
Signed-off-by: Ganesh Goudar
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 20
drivers/net/ethernet/chelsio/cxgb4
also
fixed the following based on review comments of Stefano Brivio
- using kvzalloc instead of vzalloc
- using #define instead of enum
Raju Rangoju (5):
cxgb4: Adds CPL support for Shared Receive Queues
cxgb4: Add support to initialise/read SRQ entries
cxgb4: Add support to query HW SRQ
On Saturday, March 03/17/18, 2018 at 20:19:15 -0400, David Miller wrote:
> From: Raju Rangoju
> Date: Sat, 17 Mar 2018 12:52:24 +0530
>
> > Allocates the HW-resources and provide the necessary routines for the
> > upper layer driver (rdma/iw_cxgb4) to enable the RDMA SRQ sup
From: Potnuri Bharat Teja
If FW supports RDMA WRITE_COMPLETION functionality, then advertise that
to the ULDs. This will be used by iw_cxgb4 to allow WRITE_COMPLETION
work requests.
Signed-off-by: Potnuri Bharat Teja
Signed-off-by: Raju Rangoju
Signed-off-by: Ganesh Goudar
Signed-off-by
From: Potnuri Bharat Teja
If FW supports RDMA WRITE_WITH_IMMEDATE functionality, then advertise that
to the ULDs. This will be used by iw_cxgb4 to allow WRITE_WITH_IMMEDIATE
work requests.
Signed-off-by: Potnuri Bharat Teja
Signed-off-by: Raju Rangoju
Signed-off-by: Ganesh Goudar
Signed-off
This patch adds support to query FW for the HW SRQ table start/end, and
advertise that for ULDs.
Signed-off-by: Raju Rangoju
Reviewed-by: Steve Wise
Signed-off-by: Ganesh Goudar
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 20
drivers/net/ethernet/chelsio/cxgb4
- This patch adds support to initialise srq table and read srq entries
Signed-off-by: Raju Rangoju
Reviewed-by: Steve Wise
Signed-off-by: Ganesh Goudar
---
drivers/net/ethernet/chelsio/cxgb4/Makefile | 2 +-
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 1 +
drivers/net/ethernet/chelsio
- Add srq table query cpl support for srq
- Add cpl_abort_req_rss6 and cpl_abort_rpl_rss6 structs.
- Add accessors, macros to get the SRQ IDX value.
Signed-off-by: Raju Rangoju
Reviewed-by: Steve Wise
Signed-off-by: Ganesh Goudar
---
drivers/net/ethernet/chelsio/cxgb4/t4_msg.h | 71
: Support firmware rdma write with immediate work request.
cxgb4: Support firmware rdma write completion work request.
Raju Rangoju (3):
cxgb4: Adds CPL support for Shared Receive Queues
cxgb4: Add support to initialise/read SRQ entries
cxgb4: Add support to query HW SRQ parameters
drivers/net
62 matches
Mail list logo