24.3. XDP Command Line Tools

XDP Command Line Tools können verwendet werden, um Optionen der xdp offloader Features zu verwalten und anzuzeigen.

24.3.1. xdp_vair_user

Tool zum Anhängen des XDP-Programms und zum Einstellen der blacklist.

Verwendung: xdp_vtair_user [Optionen]

DOCUMENTATION:
 XDP flowoffload
- Allows selecting BPF section --progsec name to XDP-attach to --dev

Required options:
-d, --dev <ifname>         Operate on device <ifname>

Other options:
-h, --help                 Show help
-F, --force                Force install, replacing existing program on interface
-U, --unload               Unload XDP program instead of loading
-M, --reload-maps          Recreate pinned maps
-B, --blacklist            Reload Blacklist
-b, --blacklistread        Read and output Blacklist
-O, --option               Option Setting mode required for enable or disable
-E, --enable               Enable XDP Forward mode on loaded XDP program
-D, --disable              Disable XDP Forward mode on loaded XDP program
    --filename <file>      Load program from <file>
    --progsec <section>    Load program in <section> of the ELF file

24.3.2. xdp_stats

Werkzeug zum Auslesen von XDP-Statistiken.

Verwendung: xdp_stats [Optionen]

DOCUMENTATION:
 XDP stats program
- Finding xdp_stats_map via --dev name info

Required options:
-d, --dev <ifname>         Operate on device <ifname>

Other options:
-h, --help                 Show help
-b, --blacklist            Blacklist
-C, --clear                Clear all values in xdp_stats_map or blacklist