linux/net/ethtool/channels.c

// SPDX-License-Identifier: GPL-2.0-only

#include <net/xdp_sock_drv.h>

#include "netlink.h"
#include "common.h"

struct channels_req_info {};

struct channels_reply_data {};

#define CHANNELS_REPDATA(__reply_base)

const struct nla_policy ethnl_channels_get_policy[] =;

static int channels_prepare_data(const struct ethnl_req_info *req_base,
				 struct ethnl_reply_data *reply_base,
				 const struct genl_info *info)
{}

static int channels_reply_size(const struct ethnl_req_info *req_base,
			       const struct ethnl_reply_data *reply_base)
{}

static int channels_fill_reply(struct sk_buff *skb,
			       const struct ethnl_req_info *req_base,
			       const struct ethnl_reply_data *reply_base)
{}

/* CHANNELS_SET */

const struct nla_policy ethnl_channels_set_policy[] =;

static int
ethnl_set_channels_validate(struct ethnl_req_info *req_info,
			    struct genl_info *info)
{}

static int
ethnl_set_channels(struct ethnl_req_info *req_info, struct genl_info *info)
{}

const struct ethnl_request_ops ethnl_channels_request_ops =;