Documentation ¶
Overview ¶
Package bwmap represents the BPF map used to enforce Pod bandwidth limitations via EDT (Earliest Departure Time) + BPF. +groupName=maps
Index ¶
Constants ¶
View Source
const ( MapName = "cilium_throttle" // Flow aggregate is per Pod, so same size as Endpoint map. MapSize = lxcmap.MaxEntries // DefaultDropHorizon represents maximum allowed departure // time delta in future. Given applications can set SO_TXTIME // from user space this is a limit to prevent buggy applications // to fill the FQ qdisc. DefaultDropHorizon = 2 * time.Second )
Variables ¶
Functions ¶
Types ¶
type EdtInfo ¶
type EdtInfo struct { Bps uint64 `align:"bps"` TimeLast uint64 `align:"t_last"` TimeHorizonDrop uint64 `align:"t_horizon_drop"` Pad [4]uint64 `align:"pad"` }
func (*EdtInfo) DeepCopyMapValue ¶
func (*EdtInfo) GetValuePtr ¶
Click to show internal directories.
Click to hide internal directories.