Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: e21a712a9685488f5ce80495b37b9fdbe96c230d authored by Linus Torvalds on 05 August 2019, 01:40:12 UTC
Linux 5.3-rc3
Tip revision: e21a712
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