// SPDX-License-Identifier: GPL-2.0 /* Copyright (C) Intel Corporation * Author: Shao Guohua */ #ifndef DATAPATH_IOCTL_H #define DATAPATH_IOCTL_H #include #include "datapath.h" #include "datapath_instance.h" #if IS_ENABLED(CONFIG_INTEL_DATAPATH_PTP1588) int dp_register_ptp_ioctl(struct dp_dev *dp_dev, int reset); #endif int dp_ops_reset(struct dp_dev *dp_dev, struct net_device *dev); int dp_ops_set(void **dev_ops, int ops_cb_offset, size_t ops_size, void **dp_orig_ops_cb, void *dp_new_ops, void *new_ops_cb); #endif /*DATAPATH_IOCTL_H*/