Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 219d54332a09e8d8741c1e1982f5eae56099de85 authored by Linus Torvalds on 25 November 2019, 00:32:01 UTC
Linux 5.4
Tip revision: 219d543
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