Logo
Explore Help
Sign In
mirror/xdp-project-bpf-examples
1
0
Fork 0
You've already forked xdp-project-bpf-examples
mirror of https://github.com/xdp-project/bpf-examples.git synced 2024-05-06 15:54:53 +00:00
Code Issues Projects Releases Wiki Activity
Files
149e2c6d9031e666d1f7db41e43b88a451817be1
xdp-project-bpf-examples/tc-policy/Makefile

14 lines
300 B
Makefile
Raw Normal View History

tc-policy: Add Makefile Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
2022-01-28 16:37:06 +01:00
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
tc-policy: Add C-code boilerplate tc_txq_policy.c Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
2022-01-31 12:10:45 +01:00
USER_TARGETS := tc_txq_policy
tc-policy: Add Makefile Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
2022-01-28 16:37:06 +01:00
BPF_TARGETS := tc_txq_policy_kern
tc-policy: Use bpftool skeleton header generate feature The reason for going this route is that this allow us to create a user binary that contains the BPF object file. Thus, we can avoid having to load the BPF file from a specific location or having to be in same dir as file. Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
2022-01-31 12:39:31 +01:00
# Depend on bpftool for auto generating
# skeleton header file tc_txq_policy_kern.skel.h
#
BPF_SKEL_OBJ := tc_txq_policy_kern.o
tc-policy: Add Makefile Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
2022-01-28 16:37:06 +01:00
LIB_DIR = ../lib
include $(LIB_DIR)/common.mk
Reference in New Issue Copy Permalink
Powered by Gitea Page: 408ms Template: 1ms
edge-auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API