Message ID | 20231003172355.244756-2-philip.cox@canonical.com |
---|---|
State | New |
Headers | show |
Series | Cannot set frame preemption on i225 NICs | expand |
diff --git a/drivers/net/ethernet/intel/igc/igc_tsn.c b/drivers/net/ethernet/intel/igc/igc_tsn.c index eed736eee67a..266d1ffb6f85 100644 --- a/drivers/net/ethernet/intel/igc/igc_tsn.c +++ b/drivers/net/ethernet/intel/igc/igc_tsn.c @@ -60,10 +60,6 @@ static int igc_tsn_disable_offload(struct igc_adapter *adapter) int i; - if (!(adapter->flags & IGC_FLAG_TSN_QBV_ENABLED)) - return 0; - - adapter->cycle_time = 0; adapter->add_frag_size = IGC_I225_MIN_FRAG_SIZE_DEFAULT; wr32(IGC_TXPBS, I225_TXPBSIZE_DEFAULT);