]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
igc: Use strict cycles for Qbv scheduling
authorVinicius Costa Gomes <vinicius.gomes@intel.com>
Fri, 9 Dec 2022 04:15:18 +0000 (12:15 +0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 15 Dec 2022 21:19:30 +0000 (13:19 -0800)
commitd8f45be01dd9381065a3778a579385249ed011dc
tree3cd16c5bb0d34526534df5af5fab060994fc2218
parentdb0b124f02ba68de6517ac303d431af220ccfe9f
igc: Use strict cycles for Qbv scheduling

Configuring strict cycle mode in the controller forces more well
behaved transmissions when taprio is offloaded.

When set this strict_cycle and strict_end, transmission is not
enabled if the whole packet cannot be completed before end of
the Qbv cycle.

Fixes: 82faa9b79950 ("igc: Add support for ETF offloading")
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Signed-off-by: Aravindhan Gunasekaran <aravindhan.gunasekaran@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>
drivers/net/ethernet/intel/igc/igc_tsn.c