mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 02:53:36 +02:00
igc: block setting preemptible traffic class in taprio
Since preemptible tc implementation is not ready yet, block it from being set in taprio. The existing code already blocks it in mqprio. Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: Faizal Rahim <faizal.abdul.rahim@linux.intel.com> Tested-by: Mor Bar-Gabay <morx.bar.gabay@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
This commit is contained in:
parent
55ececab98
commit
e9074d7f37
|
|
@ -6486,6 +6486,10 @@ static int igc_save_qbv_schedule(struct igc_adapter *adapter,
|
|||
if (!validate_schedule(adapter, qopt))
|
||||
return -EINVAL;
|
||||
|
||||
/* preemptible isn't supported yet */
|
||||
if (qopt->mqprio.preemptible_tcs)
|
||||
return -EOPNOTSUPP;
|
||||
|
||||
igc_ptp_read(adapter, &now);
|
||||
|
||||
if (igc_tsn_is_taprio_activated_by_user(adapter) &&
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user