Set IP protocol mask only when IP protocol field is set.
This will allow flow-type ether with vlan rule which don't have
protocol field to apply.
ethtool -N ens5f4 flow-type ether proto 0x8100 vlan 0x600\
m 0x1FFF action 3 loc 16
Signed-off-by: Vishal Kulkarni
---
net/ethtool/ioctl.
27;re specifying loopback
channel, instead of physical ports, so the packet gets looped
back to Rx path, instead of getting transmitted on the wire.
v3:
- Modify commit message to include test details.
v2:
- Add only loopback self-test.
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/
On Wednesday, July 07/22/20, 2020 at 10:04:14 -0700, Jakub Kicinski wrote:
> On Wed, 22 Jul 2020 19:28:44 +0530 Vishal Kulkarni wrote:
> > In this test, loopback pkt is created and sent on default queue.
> >
> > v2:
> > - Add only loopback self-test.
>
> Th
In this test, loopback pkt is created and sent on default queue.
v2:
- Add only loopback self-test.
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h| 8 ++
.../ethernet/chelsio/cxgb4/cxgb4_ethtool.c| 52 +
drivers/net/ethernet/chelsio/cxgb4/sge.c
On Monday, July 07/20/20, 2020 at 15:35:54 +0200, Andrew Lunn wrote:
> On Mon, Jul 20, 2020 at 11:58:37AM +0530, Vishal Kulkarni wrote:
> > On Friday, July 07/17/20, 2020 at 20:02:51 +0200, Andrew Lunn wrote:
> > > On Fri, Jul 17, 2020 at 07:17:55PM +0530, Vishal Kulkarni w
On Friday, July 07/17/20, 2020 at 20:02:51 +0200, Andrew Lunn wrote:
> On Fri, Jul 17, 2020 at 07:17:55PM +0530, Vishal Kulkarni wrote:
> > This series of patches add support for below tests.
> > 1. Adapter status test
> > 2. Link test
> > 3. Link speed test
> >
In this test, loopback pkt is created and sent on default queue.
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h| 8 ++
.../ethernet/chelsio/cxgb4/cxgb4_ethtool.c| 22
drivers/net/ethernet/chelsio/cxgb4/sge.c | 107 +-
3 files
This test checks whether link is up or not
Signed-off-by: Vishal Kulkarni
---
.../ethernet/chelsio/cxgb4/cxgb4_ethtool.c| 35 ++-
1 file changed, 34 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
b/drivers/net/ethernet/chelsio
This test checks whether adapter has crashed or not
Signed-off-by: Vishal Kulkarni
---
.../ethernet/chelsio/cxgb4/cxgb4_ethtool.c| 40 +++
1 file changed, 40 insertions(+)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
b/drivers/net/ethernet/chelsio/cxgb4
This test checks whether the current speed is supported or not
Signed-off-by: Vishal Kulkarni
---
.../ethernet/chelsio/cxgb4/cxgb4_ethtool.c| 24 +++
1 file changed, 24 insertions(+)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
b/drivers/net/ethernet
This series of patches add support for below tests.
1. Adapter status test
2. Link test
3. Link speed test
4. Loopback test
Vishal Kulkarni (4):
cxgb4: Add ethtool self-test support
cxgb4: Add link test to ethtool self test.
cxgb4: Add adapter status check to ethtool
cxgb4: Add speed link
Add support for queue action to steer Rx traffic
hitting the flows to specified Rxq.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/net/ethernet/chelsio
Add support to delete ethtool n-tuple filter. Fetch the appropriate
filter region (HPFILTER, HASH, NORMAL) in which the filter exists,
and delete it from the respective region, accordingly.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Vishal Kulkarni
---
.../ethernet/chelsio/cxgb4
Add support to fetch the requested ethtool n-tuple filters by
translating them from hardware spec to ethtool n-tuple spec.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Vishal Kulkarni
---
.../ethernet/chelsio/cxgb4/cxgb4_ethtool.c| 110 ++
1 file changed, 110 insertions
Add support to parse and insert ethtool n-tuple filters.
Translate n-tuple spec to flow spec and use the existing tc-flower
offload infra to insert ethtool n-tuple filters.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Vishal Kulkarni
---
.../ethernet/chelsio/cxgb4/cxgb4_ethtool.c| 75
Allocate and manage resources required for ethtool n-tuple filters.
Also fetch the HASH filter region size and calculate nhash entries.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h| 14
.../ethernet/chelsio/cxgb4
FLOW_ACTION_QUEUE support.
Vishal Kulkarni (5):
cxgb4: add skeleton for ethtool n-tuple filters
cxgb4: add ethtool n-tuple filter insertion
cxgb4: add ethtool n-tuple filter deletion
cxgb4: add support to fetch ethtool n-tuple filters
cxgb4: add action to steer flows to specific Rxq
drivers/net
This patch adds support to dump flash memory via
ethtool --get-dump
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cxgb4/cudbg_if.h | 3 +-
.../net/ethernet/chelsio/cxgb4/cudbg_lib.c| 38 +++
.../net/ethernet/chelsio/cxgb4/cudbg_lib.h| 4 +-
.../net
Update set_flash to flash boot image to flash region
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h| 48 +
.../ethernet/chelsio/cxgb4/cxgb4_ethtool.c| 56 ++
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c| 187 ++
drivers/net
Update set_flash to flash boot cfg image to flash region
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h| 9 ++
.../ethernet/chelsio/cxgb4/cxgb4_ethtool.c| 30 +++
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c| 90 +++
3 files changed
: Firmware
N = 2 : PHY firmware
N = 3 : boot image
N = 4 : boot cfg
Signed-off-by: Vishal Kulkarni "
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h| 9 ++
.../ethernet/chelsio/cxgb4/cxgb4_ethtool.c| 121 +++---
2 files changed, 115 insertions(+), 15 deletions(-)
diff --
Update set_flash to flash PHY image to flash region
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h| 1 +
.../ethernet/chelsio/cxgb4/cxgb4_ethtool.c| 39 +++
2 files changed, 40 insertions(+)
diff --git a/drivers/net/ethernet/chelsio/cxgb4
This series of patches adds support to read/write different binary images
of serial flash present in Chelsio terminator.
V2 changes:
Patch 1: No change
Patch 2: No change
Patch 3: Fix 4 compilation warnings reported by C=1, W=1 flags
Patch 4: No change
Patch 5: No change
Vishal Kulkarni (5
On Wednesday, June 06/17/20, 2020 at 21:55:27 +0530, Jakub Kicinski wrote:
> On Wed, 17 Jun 2020 11:59:05 +0530 Vishal Kulkarni wrote:
> > Update set_flash to flash boot image to flash region
> >
> > Signed-off-by: Vishal Kulkarni
>
> This patch adds 4 new warnings to
This series of patches adds support to read/write different binary images
of serial flash present in Chelsio terminator.
Vishal Kulkarni (5):
cxgb4: update set_flash to flash different images
cxgb4: add support to flash PHY image
cxgb4: add support to flash boot image
cxgb4: add support
This patch adds support to dump flash memory via
ethtool --get-dump
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cxgb4/cudbg_if.h | 3 +-
.../net/ethernet/chelsio/cxgb4/cudbg_lib.c| 38 +++
.../net/ethernet/chelsio/cxgb4/cudbg_lib.h| 4 +-
.../net
Update set_flash to flash boot cfg image to flash region
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h| 9 ++
.../ethernet/chelsio/cxgb4/cxgb4_ethtool.c| 30 +++
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c| 90 +++
3 files changed
Update set_flash to flash boot image to flash region
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h| 48 +
.../ethernet/chelsio/cxgb4/cxgb4_ethtool.c| 56 ++
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c| 187 ++
drivers/net
Update set_flash to flash PHY image to flash region
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h| 1 +
.../ethernet/chelsio/cxgb4/cxgb4_ethtool.c| 39 +++
2 files changed, 40 insertions(+)
diff --git a/drivers/net/ethernet/chelsio/cxgb4
: Firmware
N = 2 : PHY firmware
N = 3 : boot image
N = 4 : boot cfg
Signed-off-by: Vishal Kulkarni "
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h| 9 ++
.../ethernet/chelsio/cxgb4/cxgb4_ethtool.c| 121 +++---
2 files changed, 115 insertions(+), 15 deletions(-)
diff --
r ULD")
Signed-off-by: Shahjada Abul Husain
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
b/drivers/net/ethernet/chelsio/cxgb4/c
: Shahjada Abul Husain
Signed-off-by: Vishal Kulkarni
---
V2:
- Fix compilation warning
- Don't split Fixes tag into multiple lines
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb4
: Shahjada Abul Husain
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
index 5b60224..399e
This reverts commit 2391b0030e241386d710df10e53e2cfc3c5d4fc1 which has
introduced regression. Now SGE's BAR2 Doorbell/GTS Page Size is
interpreted correctly in the firmware itself by using actual host
page size. Hence previous commit needs to be reverted.
Signed-off-by: Vishal Kul
parameters (when available)
to allow both the Hash filters and ULDs to share the
active region simultaneously.
Signed-off-by: Vishal Kulkarni
---
v2:
- Updated commit message with more information.
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h| 1 +
drivers/net/ethernet/chelsio/cxgb4
On Wednesday, May 05/22/19, 2019 at 01:54:10 +0530, David Miller wrote:
> From: Vishal Kulkarni
> Date: Tue, 21 May 2019 09:10:37 +0530
>
> > This patch enables hash filter along with offload
> >
> > Signed-off-by: Vishal Kulkarni
>
> This commit message is
Hi David,
On Wednesday, May 05/22/19, 2019 at 01:53:31 +0530, David Miller wrote:
> From: Vishal Kulkarni
> Date: Tue, 21 May 2019 09:12:02 +0530
>
> > This reverts commit 2391b0030e241386d710df10e53e2cfc3c5d4fc1
> > SGE's BAR2 Doorbell/GTS Page Size is now in
This reverts commit 2391b0030e241386d710df10e53e2cfc3c5d4fc1
SGE's BAR2 Doorbell/GTS Page Size is now interpreted correctly in the
firmware itself by using actual host page size. Hence previous commit
needs to be reverted.
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/
This patch enables hash filter along with offload
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h| 1 +
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c | 38 +++--
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.h | 2 +-
drivers/net
During driver unload, hash/TCAM filter deletion doesn't wait for
completion.This patch deletes all the filters with completion before
clearing the resources.
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c | 34 +++
drivers/net/eth
During hash filter programming, driver needs to return ENOSPC error
intead of EAGAIN when TCAM is full.
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c| 7 ---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c | 5 +
2 files changed, 5
This patch advertises Forward Error Correction in ethtool
Signed-off-by: Casey Leedom
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 4 +-
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c | 23 +
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
Change t4fw_version.h to update latest firmware version
number to 1.23.3.0.
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cxgb4/t4fw_version.h | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4fw_version.h
b
There are rare cases where a PL_INT_CAUSE bit may end up getting
set when the corresponding PL_INT_ENABLE bit isn't set.
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/driver
This series of patchs add SGE doorbell queue timer for faster DMA completions.
Patch 1 Implements SGE doorbell queue timer
Patch 2 Adds ethtool capability to set/get SGE doorbell queue timer tick
---
v2
- Reverse christmas tree formatting for local variables.
---
Vishal Kulkarni (2):
cxgb4
are actually
deliver the CIDX Updates as Ingress Queue messages with
commensurate Interrupts.
So we now have a new RX Path component for processing CIDX Updates
and reclaiming TX Descriptors faster.
Original work by: Casey Leedom
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cx
This patch gets/sets SGE Doorbell Queue timer ticks via ethtool
Original work by: Casey Leedom
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 1 +
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c | 189 -
drivers/net/ethernet
CR4_QSFP 10G Speed technology should be 1baseKR_Full
And also report available FEC modes.
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb4vf
This series of patchs add SGE doorbell queue timer for faster DMA completions.
Patch 1 Implements SGE doorbell queue timer
Patch 2 Adds ethtool capability to set/get SGE doorbell queue timer tick
Vishal Kulkarni (2):
cxgb4/cxgb4vf: Add support for SGE doorbell queue timer
cxgb4: Add
This patch gets/sets SGE Doorbell Queue timer ticks via ethtool
Original work by: Casey Leedom
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 1 +
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c | 187 -
drivers/net/ethernet
are actually
deliver the CIDX Updates as Ingress Queue messages with
commensurate Interrupts.
So we now have a new RX Path component for processing CIDX Updates
and reclaiming TX Descriptors faster.
Original work by: Casey Leedom
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cx
Change t4fw_version.h to update latest firmware version
number to 1.22.9.0.
Signed-off-by: Vishal Kulkarni
---
drivers/net/ethernet/chelsio/cxgb4/t4fw_version.h | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4fw_version.h
b
Signed-off-by: Vishal Kulkarni
---
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 bf7325f..0c53734 100644
--- a/drivers/net
1) Speed should be supported by Physical Port Capabilities.
2) report Forward Error Correction mode which are available.
3) Added few comments.
Signed-off-by: Casey Leedom
Signed-off-by: Vishal Kulkarni
Signed-off-by: Arjun Vynipadath
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
54 matches
Mail list logo