1 // SPDX-License-Identifier: GPL-2.0+ 2 /* Microchip Sparx5 Switch driver 3 * 4 * Copyright (c) 2022 Microchip Technology Inc. and its subsidiaries. 5 */ 6 7 #include "sparx5_tc.h" 8 #include "sparx5_main.h" 9 10 int sparx5_port_setup_tc(struct net_device *ndev, enum tc_setup_type type, 11 void *type_data) 12 { 13 switch (type) { 14 default: 15 return -EOPNOTSUPP; 16 } 17 18 return 0; 19 } 20