mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-11-15 05:55:11 +08:00
1b2680f469
Add a new subcommand 'rewr' for configuring the in-kernel DCB rewrite table. The rewrite table of the kernel is similar to the APP table, therefore, much of the existing bookkeeping code from dcb-app, can be reused in the dcb-rewr implementation. Initially, only support for configuring PCP and DSCP-based rewrite has been added. Signed-off-by: Daniel Machon <daniel.machon@microchip.com> Reviewed-by: Petr Machata <me@pmachata.org> Signed-off-by: David Ahern <dsahern@kernel.org>
28 lines
516 B
Makefile
28 lines
516 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
include ../config.mk
|
|
|
|
DCBOBJ = dcb.o \
|
|
dcb_app.o \
|
|
dcb_buffer.o \
|
|
dcb_dcbx.o \
|
|
dcb_ets.o \
|
|
dcb_maxrate.o \
|
|
dcb_pfc.o \
|
|
dcb_apptrust.o \
|
|
dcb_rewr.o
|
|
TARGETS += dcb
|
|
LDLIBS += -lm
|
|
|
|
all: $(TARGETS) $(LIBS)
|
|
|
|
dcb: $(DCBOBJ) $(LIBNETLINK)
|
|
$(QUIET_LINK)$(CC) $^ $(LDFLAGS) $(LDLIBS) -o $@
|
|
|
|
install: all
|
|
for i in $(TARGETS); \
|
|
do install -m 0755 $$i $(DESTDIR)$(SBINDIR); \
|
|
done
|
|
|
|
clean:
|
|
rm -f $(DCBOBJ) $(TARGETS)
|