diff options
| author | Muhammad Husaini Zulkifli <[email protected]> | 2021-07-09 23:40:17 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2021-07-20 23:11:36 +0000 |
| commit | 62f5bbfb2afd5bcec644f16f503d1a3c0f0c7eb5 (patch) | |
| tree | 2af253ae55199c96b99d6c82845ab87dc79d7c94 /drivers/net/ethernet/intel/igc/igc_tsn.c | |
| parent | igc: Remove phy->type checking (diff) | |
| download | kernel-62f5bbfb2afd5bcec644f16f503d1a3c0f0c7eb5.tar.gz kernel-62f5bbfb2afd5bcec644f16f503d1a3c0f0c7eb5.zip | |
igc: Set QBVCYCLET_S to 0 for TSN Basic Scheduling
According to datasheet section 8.12.19, when there's no TSN offloading
Shadow_QbvCycle bit[29:0] must be set to zero for basic scheduling.
Signed-off-by: Muhammad Husaini Zulkifli <[email protected]>
Tested-by: Dvora Fuxbrumer <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_tsn.c')
| -rw-r--r-- | drivers/net/ethernet/intel/igc/igc_tsn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/igc/igc_tsn.c b/drivers/net/ethernet/intel/igc/igc_tsn.c index 174103c4bea6..4dbbb8a32ce9 100644 --- a/drivers/net/ethernet/intel/igc/igc_tsn.c +++ b/drivers/net/ethernet/intel/igc/igc_tsn.c @@ -52,7 +52,7 @@ static int igc_tsn_disable_offload(struct igc_adapter *adapter) wr32(IGC_ENDQT(i), NSEC_PER_SEC); } - wr32(IGC_QBVCYCLET_S, NSEC_PER_SEC); + wr32(IGC_QBVCYCLET_S, 0); wr32(IGC_QBVCYCLET, NSEC_PER_SEC); adapter->flags &= ~IGC_FLAG_TSN_QBV_ENABLED; |
