Pass the correct offset to clear the stale filter hit
bytes counter. Otherwise, the counter starts incrementing
from the stale information, instead of 0.
Fixes: 12b276fbf6e0 ("cxgb4: add support to create hash filters")
Signed-off-by: Ganji Aravind
---
drivers/net/ethernet/che
Work request used for sending loopback packet needs to add
the firmware work request only once. So, fix by using
correct structure size.
Fixes: 7235ffae3d2c ("cxgb4: add loopback ethtool self-test")
Signed-off-by: Ganji Aravind
---
drivers/net/ethernet/chelsio/cxgb4/sge.c | 4 ++
Patch 1 will fix work request size calculation for loopback selftest.
Patch 2 will fix race between loopback selftest and normal Tx handler.
Thanks,
Ganji Aravind.
Ganji Aravind (2):
cxgb4: Fix work request size calculation for loopback test
cxgb4: Fix race between loopback and normal Tx
("cxgb4: add loopback ethtool self-test")
Signed-off-by: Ganji Aravind
---
drivers/net/ethernet/chelsio/cxgb4/sge.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/sge.c
b/drivers/net/ethernet/chelsio/cxgb4/sge.c
index 7c
On Thursday, July 07/30/20, 2020 at 16:23:35 -0700, Jakub Kicinski wrote:
> On Thu, 30 Jul 2020 20:41:38 +0530 Ganji Aravind wrote:
> > Update set_flash to flash firmware configuration image
> > to flash region.
>
> And the reason why you need to flash some .ini files sep
Update set_flash to flash firmware configuration image
to flash region.
Signed-off-by: Ganji Aravind
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h| 3 +-
.../ethernet/chelsio/cxgb4/cxgb4_ethtool.c| 93 +++
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c| 13 ++-
3 files