linux/drivers/net/ethernet/intel/igc
Tan Tee Min 72abeedd83 igc: Set Qbv start_time and end_time to end_time if not being configured in GCL
The default setting of end_time minus start_time is whole 1 second.
Thus, if it's not being configured in any GCL entry then it will be
staying at original 1 second.

This patch is changing the start_time and end_time to be end_time as
if setting zero will be having weird HW behavior where the gate will
not be fully closed.

Fixes: ec50a9d437 ("igc: Add support for taprio offloading")
Signed-off-by: Tan Tee Min <tee.min.tan@linux.intel.com>
Signed-off-by: Muhammad Husaini Zulkifli <muhammad.husaini.zulkifli@intel.com>
Tested-by: Naama Meir <naamax.meir@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2022-12-15 13:20:05 -08:00
..
igc.h igc: allow BaseTime 0 enrollment for Qbv 2022-12-15 13:19:49 -08:00
igc_base.c igc: Remove unused phy_type enum 2022-05-10 14:02:40 -07:00
igc_base.h
igc_defines.h igc: Enhance Qbv scheduling by using first flag bit 2022-12-15 13:18:34 -08:00
igc_diag.c
igc_diag.h
igc_dump.c
igc_ethtool.c net: Remove the obsolte u64_stats_fetch_*_irq() users (drivers). 2022-10-28 20:13:54 -07:00
igc_hw.h igc: Remove forced_speed_duplex value 2022-07-18 09:34:38 -07:00
igc_i225.c igc: Fix infinite loop in release_swfw_sync 2022-04-13 07:58:32 -07:00
igc_i225.h
igc_mac.c intel/igc:fix repeated words in comments 2022-06-30 11:06:23 -07:00
igc_mac.h
igc_main.c igc: Set Qbv start_time and end_time to end_time if not being configured in GCL 2022-12-15 13:20:05 -08:00
igc_nvm.c
igc_nvm.h
igc_phy.c igc: Change type of the 'igc_check_downshift' method 2022-05-10 14:02:53 -07:00
igc_phy.h igc: Change type of the 'igc_check_downshift' method 2022-05-10 14:02:53 -07:00
igc_ptp.c intel: remove unused macros 2022-06-30 09:40:55 -07:00
igc_regs.h igc: Correct the launchtime offset 2022-11-02 11:38:22 -07:00
igc_tsn.c igc: allow BaseTime 0 enrollment for Qbv 2022-12-15 13:19:49 -08:00
igc_tsn.h igc: Correct the launchtime offset 2022-11-02 11:38:22 -07:00
igc_xdp.c net: Don't include filter.h from net/sock.h 2021-12-29 08:48:14 -08:00
igc_xdp.h
Makefile