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