// SPDX-License-Identifier: GPL-2.0+ #include "lan966x_main.h" #define DWRR_COST_BIT_WIDTH … static u32 lan966x_ets_hw_cost(u32 w_min, u32 weight) { … } int lan966x_ets_add(struct lan966x_port *port, struct tc_ets_qopt_offload *qopt) { … } int lan966x_ets_del(struct lan966x_port *port, struct tc_ets_qopt_offload *qopt) { … }