Re: network stack rate shaping queues

From: Cong Wang
Date: Fri Feb 07 2020 - 15:17:20 EST


(Please always CC netdev for networking questions.)

On Thu, Feb 6, 2020 at 9:45 PM Kent Dorfman <kent.dorfman766@xxxxxxxxx> wrote:
>
> A general question:
>
> Do the network rate shaping queues apply to all network traffic in the
> system, or just to the AF_INET address family?

If you mean Qdisc's like HTB, they apply universally to all traffic going
through it, unless of course you do your own packet filtering on top.

>
> What if we have other classes of network drivers (non ethernet) that
> also use a BSD socket interface, but a different address family? Are
> those messages also subject to the rate shaping, or are they generally
> FIFO to the driver queue?
>

They are not specific to Ethernet either.

Thanks.