diff --git a/sample_tuner/sample_tuner.bpf.c b/sample_tuner/sample_tuner.bpf.c index f3864e4..6ea4944 100644 --- a/sample_tuner/sample_tuner.bpf.c +++ b/sample_tuner/sample_tuner.bpf.c @@ -26,7 +26,7 @@ BPF_FENTRY(proc_dostring_coredump, struct ctl_table *table, int write, struct bpftune_event event = {}; int ret, scenario_id = 0; - /* tuner id is a global declared in bpftune.bpf.h and set by bfttune + /* tuner id is a global declared in bpftune.bpf.h and set by bpftune * when the tuner is added. */ event.tuner_id = tuner_id; diff --git a/src/tcp_conn_tuner.h b/src/tcp_conn_tuner.h index 4f87ba6..306b80e 100644 --- a/src/tcp_conn_tuner.h +++ b/src/tcp_conn_tuner.h @@ -88,7 +88,7 @@ struct remote_host { #define RTT_SCALE 1000000 #define DELIVERY_SCALE 1000000 -/* The metric we calcuate compares current connection min_rtt and rate_delivered to +/* The metric we calculate compares current connection min_rtt and rate_delivered to * the min rtt and max rate delivered we have observed for the remote host. * The idea is that we want to reward congestion control algorithms that minimize * RTT and maximize delivery rate, as these are operating at the bottleneck diff --git a/test/strategy/strategy_tuner.bpf.c b/test/strategy/strategy_tuner.bpf.c index 91bb25a..ba031ae 100644 --- a/test/strategy/strategy_tuner.bpf.c +++ b/test/strategy/strategy_tuner.bpf.c @@ -27,7 +27,7 @@ BPF_FENTRY(proc_dostring_coredump, struct ctl_table *table, int write, struct bpftune_event event = {}; int ret, scenario_id = 0; - /* tuner id is a global declared in bpftune.bpf.h and set by bfttune + /* tuner id is a global declared in bpftune.bpf.h and set by bpftune * when the tuner is added. */ event.tuner_id = tuner_id; @@ -45,7 +45,7 @@ BPF_FENTRY(proc_dostring, struct ctl_table *table, int write, struct bpftune_event event = {}; int ret, scenario_id = 0; - /* tuner id is a global declared in bpftune.bpf.h and set by bfttune + /* tuner id is a global declared in bpftune.bpf.h and set by bpftune * when the tuner is added. */ event.tuner_id = tuner_id;