pkt_sched.h (c54876cd5961ce0f8e74807f79a6739cd6b35ddf) pkt_sched.h (f62af20bed2d9e824f51cfc97ff01bc261f40e58)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __NET_PKT_SCHED_H
3#define __NET_PKT_SCHED_H
4
5#include <linux/jiffies.h>
6#include <linux/ktime.h>
7#include <linux/if_vlan.h>
8#include <linux/netdevice.h>

--- 158 unchanged lines hidden (view full) ---

167 /* struct tc_mqprio_qopt must always be the first element */
168 struct tc_mqprio_qopt qopt;
169 struct netlink_ext_ack *extack;
170 u16 mode;
171 u16 shaper;
172 u32 flags;
173 u64 min_rate[TC_QOPT_MAX_QUEUE];
174 u64 max_rate[TC_QOPT_MAX_QUEUE];
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __NET_PKT_SCHED_H
3#define __NET_PKT_SCHED_H
4
5#include <linux/jiffies.h>
6#include <linux/ktime.h>
7#include <linux/if_vlan.h>
8#include <linux/netdevice.h>

--- 158 unchanged lines hidden (view full) ---

167 /* struct tc_mqprio_qopt must always be the first element */
168 struct tc_mqprio_qopt qopt;
169 struct netlink_ext_ack *extack;
170 u16 mode;
171 u16 shaper;
172 u32 flags;
173 u64 min_rate[TC_QOPT_MAX_QUEUE];
174 u64 max_rate[TC_QOPT_MAX_QUEUE];
175 unsigned long preemptible_tcs;
175};
176
177struct tc_taprio_caps {
178 bool supports_queue_max_sdu:1;
179 bool gate_mask_per_txq:1;
180 /* Device expects lower TXQ numbers to have higher priority over higher
181 * TXQs, regardless of their TC mapping. DO NOT USE FOR NEW DRIVERS,
182 * INSTEAD ENFORCE A PROPER TC:TXQ MAPPING COMING FROM USER SPACE.

--- 88 unchanged lines hidden ---
176};
177
178struct tc_taprio_caps {
179 bool supports_queue_max_sdu:1;
180 bool gate_mask_per_txq:1;
181 /* Device expects lower TXQ numbers to have higher priority over higher
182 * TXQs, regardless of their TC mapping. DO NOT USE FOR NEW DRIVERS,
183 * INSTEAD ENFORCE A PROPER TC:TXQ MAPPING COMING FROM USER SPACE.

--- 88 unchanged lines hidden ---