Commit Graph

16 Commits

Author SHA1 Message Date
Francis Begyn 1006cf4f24 Implementation of HFSC
Testing and functionality for the use of HFSC has been implemented.
The use of service curves is implenented closely as to how they behave
with the TC implementation.
Automated checks and testing were succesful.
2018-07-16 12:14:02 -07:00
Taku Fukushima 85aa3b74a4 Add statistics to class attributes
This patch adds ClassStatistics, a struct that represents the stats
of a class based on genric networking stats for netlink, to ClassAttrs.
The parsers for rtattrs in type of TCA_STATS and TCA_STATS2 are
introduced as well and the stats are appropriately parsed as a part
of ClassAttrs struct.

The practical tests for stats are not contained in this patch yet since
it requires the actual packet sending/receiving in the random timing,
which makes the tests complicated and flaky. Once we figure it out how
to test them in the proper way, they shall be added.

Signed-off-by: Taku Fukushima <taku@soracom.jp>
2018-03-27 21:08:57 -07:00
Sargun Dhillon a2af46a09c Add FQ Codel 2018-02-05 10:22:15 -08:00
Sargun Dhillon 465b5fef28 Add Fq Qdisc support 2018-02-05 10:22:15 -08:00
Sargun Dhillon 1882fa99fc Add Matchall filter 2018-01-05 09:42:30 -08:00
Vish Ishaya 7995ff5647 add generic actions and simplify action type (#129) 2016-05-31 13:03:47 -07:00
Brenden Blanco 1f71a4c2a6 Add some missing tc act flags and structs
Add structs and constants for tca_act_bpf.

Generalize the tc_gen macro as a go struct.
2016-02-26 15:08:04 -08:00
chantra 322c7826d2 [netem] add support for reordering/corruption/correlation
Note: This requires #58 to be merged in order to properly work.
2015-10-28 00:22:47 -07:00
chantra 9b7c60d6bd [netem] minimalist support for netem
Support for tc_netem_qopt options, e.g: latency, limit, loss, gap, duplicate and jitter
2015-10-28 00:22:47 -07:00
chantra 824d7a16e5 Add FW filter support 2015-09-18 18:51:33 -07:00
chantra ef0cd12f0c Add TC Class support 2015-09-10 22:50:54 -07:00
chantra 2a6a59d231 Enable HTB classful qdisc 2015-09-05 00:13:17 -07:00
Vishvananda Ishaya 1e2e08e8a2 proper values for filter actions 2015-08-19 18:49:04 -07:00
Vishvananda Ishaya acc8a28738 Add basic support for redirect filter 2015-08-19 16:02:04 -07:00
Vishvananda Ishaya a6d6ef6a6a support basic tbf qdisc 2015-08-18 14:07:01 -07:00
Vishvananda Ishaya c9399c7e3d beginning of handling for qdiscs 2015-08-18 03:16:54 -07:00