Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.16 23 lines 881 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* Copyright (c) 2024 Pengutronix, Oleksij Rempel <kernel@pengutronix.de> */ 3 4#ifndef __KSZ_DCB_H 5#define __KSZ_DCB_H 6 7#include <net/dsa.h> 8 9#include "ksz_common.h" 10 11int ksz_port_get_default_prio(struct dsa_switch *ds, int port); 12int ksz_port_set_default_prio(struct dsa_switch *ds, int port, u8 prio); 13int ksz_port_get_dscp_prio(struct dsa_switch *ds, int port, u8 dscp); 14int ksz_port_add_dscp_prio(struct dsa_switch *ds, int port, u8 dscp, u8 prio); 15int ksz_port_del_dscp_prio(struct dsa_switch *ds, int port, u8 dscp, u8 prio); 16int ksz_port_set_apptrust(struct dsa_switch *ds, int port, 17 const unsigned char *sel, 18 int nsel); 19int ksz_port_get_apptrust(struct dsa_switch *ds, int port, u8 *sel, int *nsel); 20int ksz_dcb_init_port(struct ksz_device *dev, int port); 21int ksz_dcb_init(struct ksz_device *dev); 22 23#endif /* __KSZ_DCB_H */