netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2 net-next v2 1/6] Kernel header update for hardware offloading changes.
@ 2019-06-06 22:22 Vedang Patel
  2019-06-06 22:22 ` [PATCH iproute2 net-next v2 2/6] etf: Add skip_sock_check Vedang Patel
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Vedang Patel @ 2019-06-06 22:22 UTC (permalink / raw)
  To: netdev
  Cc: jhs, xiyou.wangcong, jiri, stephen, vinicius.gomes,
	leandro.maciel.dorileo, jakub.kicinski, m-karicheri2,
	Vedang Patel

This should only be updated after the kernel patches related to
txtime-offload have been merged into the kernel.

Signed-off-by: Vedang Patel <vedang.patel@intel.com>
---
 include/uapi/linux/pkt_sched.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/uapi/linux/pkt_sched.h b/include/uapi/linux/pkt_sched.h
index 8b2f993cbb77..c085860ff637 100644
--- a/include/uapi/linux/pkt_sched.h
+++ b/include/uapi/linux/pkt_sched.h
@@ -990,6 +990,7 @@ struct tc_etf_qopt {
 	__u32 flags;
 #define TC_ETF_DEADLINE_MODE_ON	BIT(0)
 #define TC_ETF_OFFLOAD_ON	BIT(1)
+#define TC_ETF_SKIP_SOCK_CHECK  BIT(2)
 };
 
 enum {
@@ -1158,6 +1159,8 @@ enum {
  *       [TCA_TAPRIO_ATTR_SCHED_ENTRY_INTERVAL]
  */
 
+#define TCA_TAPRIO_ATTR_FLAG_TXTIME_ASSIST 0x1
+
 enum {
 	TCA_TAPRIO_ATTR_UNSPEC,
 	TCA_TAPRIO_ATTR_PRIOMAP, /* struct tc_mqprio_qopt */
@@ -1169,6 +1172,8 @@ enum {
 	TCA_TAPRIO_ATTR_ADMIN_SCHED, /* The admin sched, only used in dump */
 	TCA_TAPRIO_ATTR_SCHED_CYCLE_TIME, /* s64 */
 	TCA_TAPRIO_ATTR_SCHED_CYCLE_TIME_EXTENSION, /* s64 */
+	TCA_TAPRIO_ATTR_FLAGS, /* u32 */
+	TCA_TAPRIO_ATTR_TXTIME_DELAY, /* s32 */
 	__TCA_TAPRIO_ATTR_MAX,
 };
 
-- 
2.7.3


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-07-15 22:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-06 22:22 [PATCH iproute2 net-next v2 1/6] Kernel header update for hardware offloading changes Vedang Patel
2019-06-06 22:22 ` [PATCH iproute2 net-next v2 2/6] etf: Add skip_sock_check Vedang Patel
2019-06-06 22:22 ` [PATCH iproute2 net-next v2 3/6] taprio: Add support for setting flags Vedang Patel
2019-06-06 22:22 ` [PATCH iproute2 net-next v2 4/6] taprio: add support for setting txtime_delay Vedang Patel
2019-06-06 22:22 ` [PATCH iproute2 net-next v2 5/6] tc: etf: Add documentation for skip-skb-check Vedang Patel
2019-06-06 22:22 ` [PATCH iproute2 net-next v2 6/6] tc: taprio: Update documentation Vedang Patel
2019-07-15 19:40 ` [PATCH iproute2 net-next v2 1/6] Kernel header update for hardware offloading changes Patel, Vedang
2019-07-15 19:50   ` Stephen Hemminger
2019-07-15 20:16     ` David Ahern
2019-07-15 22:39       ` Patel, Vedang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).