Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sample_tuner/sample_tuner.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/tcp_conn_tuner.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions test/strategy/strategy_tuner.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down