mbox series

[iwl-net,v2,0/3] igc bug fixes related to qbv_count usage

Message ID 20240707125318.3425097-1-faizal.abdul.rahim@linux.intel.com
Headers show
Series igc bug fixes related to qbv_count usage | expand

Message

Abdul Rahim, Faizal July 7, 2024, 12:53 p.m. UTC
These igc bug fixes are sent as a patch series because:

1.  The two patches below remove the reliance on using the qbv_count field.
   "igc: Fix qbv_config_change_errors logics"
   "igc: Fix reset adapter logics when tx mode change"

    qbv_count field will be removed in future patch via iwl-next.

2. The patch "igc: Fix qbv tx latency by setting gtxoffset" reuse the
   function igc_tsn_will_tx_mode_change() which was created in the patch:
   "igc: Fix reset adapter logics when tx mode change"

v1: https://patchwork.kernel.org/project/netdevbpf/cover/20240702040926.3327530-1-faizal.abdul.rahim@linux.intel.com/

Changelog:
v1 -> v2
- Instead of casting to bool, use !! (Simon)
- Simplify new functions created. Instead of if.. return true, else return false,
  use single return. (Simon)
- Remove patch "igc: Remove unused qbv_coun" from this series which is targeting
  to iwl-net. This patch will be sent to iwl-next. (Simon)

Faizal Rahim (3):
  igc: Fix qbv_config_change_errors logics
  igc: Fix reset adapter logics when tx mode change
  igc: Fix qbv tx latency by setting gtxoffset

 drivers/net/ethernet/intel/igc/igc_main.c |  8 +++--
 drivers/net/ethernet/intel/igc/igc_tsn.c  | 41 ++++++++++++++++-------
 drivers/net/ethernet/intel/igc/igc_tsn.h  |  1 +
 3 files changed, 36 insertions(+), 14 deletions(-)

--
2.25.1