28 lines
798 B
C
28 lines
798 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright(c) 2022 - 2024 Mucse Corporation. */
|
|
|
|
#ifndef __RNPM_TC_H__
|
|
#define __RNPM_TC_H__
|
|
#include "rnpm.h"
|
|
|
|
//#include <net/pkt_cls.h>
|
|
//int rnpm_setup_mqprio(struct net_device *netdev, void *type_data);
|
|
|
|
//#if (defined HAVE_RHEL7_NETDEV_OPS_EXT_NDO_SETUP_TC) || (defined NETIF_F_HW_TC)
|
|
//#ifdef HAVE_NDO_SETUP_TC_REMOVE_TC_TO_NETDEV
|
|
//int rnpm_setup_tc_cls_u32(struct net_device *dev,
|
|
// struct tc_cls_u32_offload *cls_u32);
|
|
//#else
|
|
//int rnpm_setup_tc_cls_u32(struct net_device *dev, __be16 proto,
|
|
// struct tc_cls_u32_offload *cls_u32);
|
|
//#endif
|
|
//#if defined(HAVE_TCF_BLOCK)
|
|
//#if defined(HAVE_NDO_SETUP_TC_REMOVE_TC_TO_NETDEV)
|
|
//int rnpm_setup_tc_block(struct net_device *dev,
|
|
// struct flow_block_offload *f);
|
|
//
|
|
//#endif
|
|
//#endif
|
|
//#endif
|
|
#endif
|