mirror of https://github.com/openwrt/openwrt.git
21 lines
740 B
C
21 lines
740 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
#ifndef _OTTO_QOS_H
|
|
#define _OTTO_QOS_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct rtl838x_switch_priv;
|
|
|
|
u32 rtldsa_838x_get_egress_rate(struct rtl838x_switch_priv *priv, int port);
|
|
int rtldsa_838x_set_egress_rate(struct rtl838x_switch_priv *priv, int port, u32 rate);
|
|
u32 rtldsa_839x_get_egress_rate(struct rtl838x_switch_priv *priv, int port);
|
|
int rtldsa_839x_set_egress_rate(struct rtl838x_switch_priv *priv, int port, u32 rate);
|
|
|
|
void rtldsa_838x_qos_init(struct rtl838x_switch_priv *priv);
|
|
void rtldsa_839x_qos_init(struct rtl838x_switch_priv *priv);
|
|
void rtldsa_930x_qos_init(struct rtl838x_switch_priv *priv);
|
|
void rtldsa_931x_qos_init(struct rtl838x_switch_priv *priv);
|
|
|
|
#endif /* _OTTO_QOS_H */
|