net/sched/sch_mqprio_lib.h

Source file repositories/reference/linux-study-clean/net/sched/sch_mqprio_lib.h

File Facts

System
Linux kernel
Corpus path
net/sched/sch_mqprio_lib.h
Extension
.h
Size
564 bytes
Lines
21
Domain
Networking Core
Bucket
Sockets, Protocols, Packet Path, And Network Policy
Inferred role
Networking Core: implementation source
Status
source implementation candidate

Why This File Exists

Networking stack implementation surface: socket APIs, protocol dispatch, packet flow, routing, filtering, and network namespaces.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef __SCH_MQPRIO_LIB_H
#define __SCH_MQPRIO_LIB_H

#include <linux/types.h>

struct net_device;
struct netlink_ext_ack;
struct tc_mqprio_qopt;

int mqprio_validate_qopt(struct net_device *dev, struct tc_mqprio_qopt *qopt,
			 bool validate_queue_counts,
			 bool allow_overlapping_txqs,
			 struct netlink_ext_ack *extack);
void mqprio_qopt_reconstruct(struct net_device *dev,
			     struct tc_mqprio_qopt *qopt);
void mqprio_fp_to_offload(u32 fp[TC_QOPT_MAX_QUEUE],
			  struct tc_mqprio_qopt_offload *mqprio);

#endif

Annotation

Implementation Notes