lartc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* tc ingress rate limiting on all interfaces
@ 2021-02-03 18:45 Naveen Mamindlapalli
  2021-02-03 19:00 ` Grant Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Naveen Mamindlapalli @ 2021-02-03 18:45 UTC (permalink / raw)
  To: lartc

Hi All,

Is it possible to rate-limit aggregate bandwidth of certain ingress
packet types  received on multiple interfaces using TC?

For example rate-limit all ingress PTP packet traffic received by
multiple interfaces to 100Mbps.

The tc policing action is tied to a particular interface + qdisk handle.

Thanks,
Naveen

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

* Re: tc ingress rate limiting on all interfaces
  2021-02-03 18:45 tc ingress rate limiting on all interfaces Naveen Mamindlapalli
@ 2021-02-03 19:00 ` Grant Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Taylor @ 2021-02-03 19:00 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 913 bytes --]

On 2/3/21 11:33 AM, Naveen Mamindlapalli wrote:
> Hi All,

Hi,

> Is it possible to rate-limit aggregate bandwidth of certain ingress 
> packet types received on multiple interfaces using TC?

My understanding is that TC applies to a single interface.

However, I believe there is (was) a virtual interface that could be used 
to aggregate / funnel multiple interfaces into one where the TC rules 
could be applied.

Sorry, I don't remember any more details about the virtual interface 
other than it does (did) exist.

> For example rate-limit all ingress PTP packet traffic received by 
> multiple interfaces to 100Mbps.
> 
> The tc policing action is tied to a particular interface + qdisk 
> handle.

You would apply your TC rules to the virtual aggregate interface and 
make sure they are crafted to target the specific packets as you desire.



-- 
Grant. . . .
unix || die


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4013 bytes --]

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

end of thread, other threads:[~2021-02-03 19:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-03 18:45 tc ingress rate limiting on all interfaces Naveen Mamindlapalli
2021-02-03 19:00 ` Grant Taylor

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).