Skip to content

Commit bc41a66

Browse files
joabreudavem330
authored andcommitted
net: stmmac: tc: Remove the speed dependency
XGMAC3 supports full CBS features with speeds that can go up to 10G so we can now remove the maximum speed check of CBS. Signed-off-by: Jose Abreu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 04d1190 commit bc41a66

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,6 @@ static int tc_setup_cbs(struct stmmac_priv *priv,
321321
return -EINVAL;
322322
if (!priv->dma_cap.av)
323323
return -EOPNOTSUPP;
324-
if (priv->speed != SPEED_100 && priv->speed != SPEED_1000)
325-
return -EOPNOTSUPP;
326324

327325
mode_to_use = priv->plat->tx_queues_cfg[queue].mode_to_use;
328326
if (mode_to_use == MTL_QUEUE_DCB && qopt->enable) {

0 commit comments

Comments
 (0)