Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: da0c9ea146cbe92b832f1b0f694840ea8eb33cce authored by Linus Torvalds on 06 October 2019, 21:27:30 UTC
Linux 5.4-rc2
Tip revision: da0c9ea
ocelot_tc.h
/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
/* Microsemi Ocelot Switch driver
 *
 * Copyright (c) 2019 Microsemi Corporation
 */

#ifndef _MSCC_OCELOT_TC_H_
#define _MSCC_OCELOT_TC_H_

#include <linux/netdevice.h>

struct ocelot_port_tc {
	bool block_shared;
	unsigned long offload_cnt;

	unsigned long police_id;
};

int ocelot_setup_tc(struct net_device *dev, enum tc_setup_type type,
		    void *type_data);

#endif /* _MSCC_OCELOT_TC_H_ */
back to top