mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-05 11:53:41 +00:00

Add Xsk counterparts for XDP_TX buffer sending and completion. The same base structures and functions used from the libeth_xdp core, with adjustments to that XSk Rx always operates on &xdp_buff_xsk for both head and frags. And unlike regular Rx, here unlikely() are used for frags, as the header split gives no benefits for XSk Rx, at least for now. Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
13 lines
249 B
Makefile
13 lines
249 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
# Copyright (C) 2024-2025 Intel Corporation
|
|
|
|
obj-$(CONFIG_LIBETH) += libeth.o
|
|
|
|
libeth-y := rx.o
|
|
libeth-y += tx.o
|
|
|
|
obj-$(CONFIG_LIBETH_XDP) += libeth_xdp.o
|
|
|
|
libeth_xdp-y += xdp.o
|
|
libeth_xdp-y += xsk.o
|