1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /**************************************************************************** 3 * Driver for Solarflare network controllers and boards 4 * Copyright 2022 Xilinx Inc. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU General Public License version 2 as published 8 * by the Free Software Foundation, incorporated herein by reference. 9 */ 10 11 #ifndef EFX_TC_BINDINGS_H 12 #define EFX_TC_BINDINGS_H 13 #include "net_driver.h" 14 15 #include <net/sch_generic.h> 16 17 struct efx_rep; 18 19 int efx_tc_setup_block(struct net_device *net_dev, struct efx_nic *efx, 20 struct flow_block_offload *tcb, struct efx_rep *efv); 21 int efx_tc_setup(struct net_device *net_dev, enum tc_setup_type type, 22 void *type_data); 23 #endif /* EFX_TC_BINDINGS_H */ 24