[Intel-wired-lan] [PATCH iwl-net v2 2/2] idpf: fix idpf_vc_core_init error path

2024-10-25 Thread Pavan Kumar Linga
ger.kernel.org # 6.9+ Reviewed-by: Tarun K Singh Signed-off-by: Pavan Kumar Linga --- v2: - remove changes which are not fixes for the actual issue from this patch --- drivers/net/ethernet/intel/idpf/idpf_lib.c | 1 + drivers/net/ethernet/intel/idpf/idpf_virtchnl.c | 1 - 2 files changed, 1 inse

[Intel-wired-lan] [PATCH iwl-net v2 1/2] idpf: avoid vport access in idpf_get_link_ksettings

2024-10-25 Thread Pavan Kumar Linga
the link status and adjust the offsetof to use link_up instead of link_speed_mbps. Fixes: 02cbfba1add5 ("idpf: add ethtool callbacks") Cc: sta...@vger.kernel.org # 6.7+ Reviewed-by: Tarun K Singh Signed-off-by: Pavan Kumar Linga --- drivers/net/ethernet/intel/idpf/idpf.h

[Intel-wired-lan] [PATCH iwl-net v2 0/2] fix reset issues

2024-10-25 Thread Pavan Kumar Linga
This series fixes reset related issues, especially the case where the idpf is running on the host and the platform running the device control plane is rebooted. The first patch fixes the link_ksettings and the second patch fixes the error path in idpf_vc_core_init function. Pavan Kumar Linga (2

[Intel-wired-lan] [PATCH iwl-net 0/2] fix reset issues

2024-10-22 Thread Pavan Kumar Linga
This series fixes reset related issues, especially the case where the idpf is running on the host and the platform running the device control plane is rebooted. The first patch fixes the link_ksettings and the second patch fixes the error path in idpf_vc_core_init function. Pavan Kumar Linga (2

[Intel-wired-lan] [PATCH iwl-net 1/2] idpf: avoid vport access in idpf_get_link_ksettings

2024-10-22 Thread Pavan Kumar Linga
the link status and adjust the offsetof to use link_up instead of link_speed_mbps. Fixes: 02cbfba1add5 ("idpf: add ethtool callbacks") Cc: sta...@vger.kernel.org # 6.7+ Reviewed-by: Tarun K Singh Signed-off-by: Pavan Kumar Linga --- drivers/net/ethernet/intel/idpf/idpf.h

[Intel-wired-lan] [PATCH iwl-net 2/2] idpf: fix idpf_vc_core_init error path

2024-10-22 Thread Pavan Kumar Linga
idpf: implement virtchnl transaction manager") Cc: sta...@vger.kernel.org # 6.9+ Reviewed-by: Tarun K Singh Signed-off-by: Pavan Kumar Linga --- drivers/net/ethernet/intel/idpf/idpf_lib.c | 1 + drivers/net/ethernet/intel/idpf/idpf_virtchnl.c | 7 --- 2 files changed, 1 inser

[Intel-wired-lan] [PATCH iwl-net] idpf: remove redundant 'req_vec_chunks' NULL check

2024-07-24 Thread Pavan Kumar Linga
quot;idpf: add core init and interrupt request") Reported-by: Dan Carpenter Reviewed-by: Dan Carpenter Signed-off-by: Pavan Kumar Linga --- drivers/net/ethernet/intel/idpf/idpf_lib.c | 23 +- 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/drivers/net/et

[Intel-wired-lan] [PATCH iwl-net] idpf: fix kernel panic on unknown packet types

2024-03-20 Thread Pavan Kumar Linga
eviewed-by: Przemek Kitszel Tested-by: Salvatore Daniele Signed-off-by: Pavan Kumar Linga --- drivers/net/ethernet/intel/idpf/idpf_txrx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/intel/idpf/idpf_txrx.c b/drivers/net/ethernet/intel/idpf/idpf_tx

[Intel-wired-lan] [PATCH iwl-net v4] idpf: avoid compiler padding in virtchnl2_ptype struct

2024-01-23 Thread Pavan Kumar Linga
("virtchnl: add virtchnl version 2 ops") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202312220250.ufem8doq-...@intel.com Reviewed-by: Przemek Kitszel Reviewed-by: Paul Menzel Reviewed-by: Simon Horman Signed-off-by: Pavan Kumar Linga --- v4: - swap the st

[Intel-wired-lan] [PATCH iwl-net v3] idpf: avoid compiler padding in virtchnl2_ptype struct

2024-01-08 Thread Pavan Kumar Linga
robot Closes: https://lore.kernel.org/oe-kbuild-all/202312220250.ufem8doq-...@intel.com Reviewed-by: Przemek Kitszel Reviewed-by: Paul Menzel Reviewed-by: Simon Horman Signed-off-by: Pavan Kumar Linga --- v3: - add "__aligned(2)" structure attribute for better code optimizati

[Intel-wired-lan] [PATCH iwl-net v2] idpf: avoid compiler padding in virtchnl2_ptype struct

2024-01-04 Thread Pavan Kumar Linga
com Reviewed-by: Przemek Kitszel Reviewed-by: Paul Menzel Signed-off-by: Pavan Kumar Linga --- v2: - add the kconfig option causing the compile failure to the commit message --- drivers/net/ethernet/intel/idpf/virtchnl2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[Intel-wired-lan] [PATCH iwl-net] idpf: avoid compiler padding in virtchnl2_ptype struct

2023-12-27 Thread Pavan Kumar Linga
el.org/oe-kbuild-all/202312220250.ufem8doq-...@intel.com Reviewed-by: Przemek Kitszel Signed-off-by: Pavan Kumar Linga --- drivers/net/ethernet/intel/idpf/virtchnl2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/idpf/virtchnl2.h b/drivers/net

[Intel-wired-lan] [PATCH iwl-net] idpf: avoid compiler introduced padding in virtchnl2_rss_key struct

2023-12-15 Thread Pavan Kumar Linga
truct field. So drop it. Fixes: 0d7502a9b4a7 ("virtchnl: add virtchnl version 2 ops") Reviewed-by: Larysa Zaremba Signed-off-by: Pavan Kumar Linga --- drivers/net/ethernet/intel/idpf/virtchnl2.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethe

[Intel-wired-lan] [PATCH iwl-next v2] idpf: cancel mailbox work in error path

2023-10-05 Thread Pavan Kumar Linga
core init and interrupt request") Reviewed-by: Wojciech Drewek Signed-off-by: Pavan Kumar Linga --- v2: - added 'Fixes' tag with the commit id this patch fixes drivers/net/ethernet/intel/idpf/idpf_virtchnl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net

[Intel-wired-lan] [PATCH iwl-next v1] idpf: cancel mailbox work in error path

2023-10-04 Thread Pavan Kumar Linga
-off-by: Pavan Kumar Linga --- drivers/net/ethernet/intel/idpf/idpf_virtchnl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/intel/idpf/idpf_virtchnl.c b/drivers/net/ethernet/intel/idpf/idpf_virtchnl.c index 9bc85b2f1709..cbb3f104f899 100644 --- a/drivers/net/ethernet