#include "selq.h"
#include <linux/slab.h>
#include <linux/netdevice.h>
#include <linux/rcupdate.h>
#include "en.h"
#include "en/ptp.h"
#include "en/htb.h"
struct mlx5e_selq_params { … };
int mlx5e_selq_init(struct mlx5e_selq *selq, struct mutex *state_lock)
{ … }
void mlx5e_selq_cleanup(struct mlx5e_selq *selq)
{ … }
void mlx5e_selq_prepare_params(struct mlx5e_selq *selq, struct mlx5e_params *params)
{ … }
bool mlx5e_selq_is_htb_enabled(struct mlx5e_selq *selq)
{ … }
void mlx5e_selq_prepare_htb(struct mlx5e_selq *selq, u16 htb_maj_id, u16 htb_defcls)
{ … }
void mlx5e_selq_apply(struct mlx5e_selq *selq)
{ … }
void mlx5e_selq_cancel(struct mlx5e_selq *selq)
{ … }
#ifdef CONFIG_MLX5_CORE_EN_DCB
static int mlx5e_get_dscp_up(struct mlx5e_priv *priv, struct sk_buff *skb)
{ … }
#endif
static int mlx5e_get_up(struct mlx5e_priv *priv, struct sk_buff *skb)
{ … }
static u16 mlx5e_select_ptpsq(struct net_device *dev, struct sk_buff *skb,
struct mlx5e_selq_params *selq)
{ … }
static int mlx5e_select_htb_queue(struct mlx5e_priv *priv, struct sk_buff *skb,
struct mlx5e_selq_params *selq)
{ … }
u16 mlx5e_select_queue(struct net_device *dev, struct sk_buff *skb,
struct net_device *sb_dev)
{ … }