From: Stephen Hemminger Date: Mon, 20 Mar 2017 17:18:50 +0000 (-0700) Subject: update headers from net-next (post 4.11-rc3) X-Git-Tag: v4.12.0~47^2~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b285ba9ea405667266aebcd76a3d1f29d8058e8e;p=thirdparty%2Fiproute2.git update headers from net-next (post 4.11-rc3) Signed-off-by: Stephen Hemminger --- diff --git a/include/linux/pkt_sched.h b/include/linux/pkt_sched.h index df7451d35..099bf5528 100644 --- a/include/linux/pkt_sched.h +++ b/include/linux/pkt_sched.h @@ -617,6 +617,14 @@ struct tc_drr_stats { #define TC_QOPT_BITMASK 15 #define TC_QOPT_MAX_QUEUE 16 +enum { + TC_MQPRIO_HW_OFFLOAD_NONE, /* no offload requested */ + TC_MQPRIO_HW_OFFLOAD_TCS, /* offload TCs, no queue counts */ + __TC_MQPRIO_HW_OFFLOAD_MAX +}; + +#define TC_MQPRIO_HW_OFFLOAD_MAX (__TC_MQPRIO_HW_OFFLOAD_MAX - 1) + struct tc_mqprio_qopt { __u8 num_tc; __u8 prio_tc_map[TC_QOPT_BITMASK + 1];