Skip to content

Commit 0cf0fed

Browse files
committed
Get rid of references to the master branch
There were some links to the master branch left-over in documentation, which are now inaccurate after the branch rename. The selftest definition also references a branch name, so selftests were not running. Signed-off-by: Toke Høiland-Jørgensen <[email protected]>
1 parent 3d4fa44 commit 0cf0fed

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/selftests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Selftests
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ main ]
66
pull_request:
7-
branches: [ master ]
7+
branches: [ main ]
88

99
jobs:
1010
selftest:

lib/libxdp/README.org

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ from some form of control process that has the necessary privileges. The
319319
xsk_socket__create executed on the non-privileged process will then skip these
320320
two steps. For an example on how to use these, please take a look at the
321321
AF_XDP-example program in the bpf-examples repository:
322-
https://github.com/xdp-project/bpf-examples/tree/master/AF_XDP-example.
322+
https://github.com/xdp-project/bpf-examples/tree/main/AF_XDP-example.
323323

324324
#+begin_src C
325325
int xsk_setup_xdp_prog(int ifindex, int *xsks_map_fd);

lib/libxdp/libxdp.3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ from some form of control process that has the necessary privileges. The
361361
xsk_socket__create executed on the non-privileged process will then skip these
362362
two steps. For an example on how to use these, please take a look at the
363363
AF_XDP-example program in the bpf-examples repository:
364-
\fIhttps://github.com/xdp-project/bpf-examples/tree/master/AF_XDP-example\fP.
364+
\fIhttps://github.com/xdp-project/bpf-examples/tree/main/AF_XDP-example\fP.
365365

366366
.RS
367367
.nf

lib/libxdp/protocol.org

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The dispatcher XDP program contains the main function containing the dispatcher
2323
logic, 10 stub functions that can be replaced by component BPF programs, and a
2424
configuration structure that is used by the dispatcher logic.
2525

26-
In =libxdp=, this dispatcher is generated by [[https://github.com/xdp-project/xdp-tools/blob/master/lib/libxdp/xdp-dispatcher.c.in][an M4 macro file]] which expands to
26+
In =libxdp=, this dispatcher is generated by [[https://github.com/xdp-project/xdp-tools/blob/main/lib/libxdp/xdp-dispatcher.c.in][an M4 macro file]] which expands to
2727
the following:
2828

2929
#+begin_src C
@@ -256,7 +256,7 @@ Having loaded the dispatcher program, =libxdp= then loads each of the component
256256
programs. To do this, first the list of component programs is sorted by their
257257
run priority, forming the final run sequence. Should several programs have the
258258
same run priority, ties are broken in the following arbitrary, but
259-
deterministic, order (see =cmp_xdp_programs()= [[https://github.com/xdp-project/xdp-tools/blob/master/lib/libxdp/libxdp.c][in libxdp.c]]):
259+
deterministic, order (see =cmp_xdp_programs()= [[https://github.com/xdp-project/xdp-tools/blob/main/lib/libxdp/libxdp.c][in libxdp.c]]):
260260

261261
- By XDP function name (=bpf_program__name()= from libbpf)
262262
- By sorting already-loaded programs before not-yet-loaded ones

0 commit comments

Comments
 (0)