netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* htb offload on vlan (mlx5)
@ 2023-03-03 18:04 Stanisław Czech
  2023-03-06  9:35 ` Maxim Mikityanskiy
  0 siblings, 1 reply; 4+ messages in thread
From: Stanisław Czech @ 2023-03-03 18:04 UTC (permalink / raw)
  To: netdev; +Cc: Maxim Mikityanskiy

Hi,

I'm trying to use htb offload on vlan interface using  ConnectX-6 card 
(01:00.0 Ethernet controller: Mellanox Technologies MT28908 Family 
[ConnectX-6])
but it seems there is no such a capability on the vlan interface?

On a physical interface:

ethtool -k eth0 | grep hw-tc-offload
hw-tc-offload: on

On a vlan:

ethtool -k eth0.4 | grep hw-tc-offload
hw-tc-offload: off [fixed]

so while there is no problem with:
tc qdisc replace dev eth0 root handle 1:0 htb offload default 2

I can't do:
tc qdisc replace dev eth0.4 root handle 1:0 htb offload default 2
Error: hw-tc-offload ethtool feature flag must be on.


modinfo mlx5_core
filename: 
/lib/modules/6.2.1-1.el9.elrepo.x86_64/kernel/drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko.xz
license:        Dual BSD/GPL
description:    Mellanox 5th generation network adapters (ConnectX 
series) core driver
author:         Eli Cohen <eli@mellanox.com>
srcversion:     59FA0D4A4E95B726AB8900D

Is there a different way to use htb offload on the vlan interface?

Greetings,
*Stanisław Czech*


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-06 14:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-03 18:04 htb offload on vlan (mlx5) Stanisław Czech
2023-03-06  9:35 ` Maxim Mikityanskiy
2023-03-06 13:59   ` Stanisław Czech
2023-03-06 14:25     ` Maxim Mikityanskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).