// SPDX-License-Identifier: GPL-2.0 /* Copyright (C) 2022 Gerhard Engleder <[email protected]> */ #include <linux/if_vlan.h> #include <net/xdp_sock_drv.h> #include "tsnep.h" int tsnep_xdp_setup_prog(struct tsnep_adapter *adapter, struct bpf_prog *prog, struct netlink_ext_ack *extack) { … } static int tsnep_xdp_enable_pool(struct tsnep_adapter *adapter, struct xsk_buff_pool *pool, u16 queue_id) { … } static int tsnep_xdp_disable_pool(struct tsnep_adapter *adapter, u16 queue_id) { … } int tsnep_xdp_setup_pool(struct tsnep_adapter *adapter, struct xsk_buff_pool *pool, u16 queue_id) { … }