From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 97CB7ECE58E for ; Thu, 17 Oct 2019 19:31:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5F09B20869 for ; Thu, 17 Oct 2019 19:31:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392669AbfJQTbh (ORCPT ); Thu, 17 Oct 2019 15:31:37 -0400 Received: from mga09.intel.com ([134.134.136.24]:13356 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387844AbfJQTbh (ORCPT ); Thu, 17 Oct 2019 15:31:37 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Oct 2019 12:31:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,308,1566889200"; d="scan'208";a="397692900" Received: from vcostago-desk1.jf.intel.com (HELO vcostago-desk1) ([10.54.70.82]) by fmsmga006.fm.intel.com with ESMTP; 17 Oct 2019 12:31:36 -0700 From: Vinicius Costa Gomes To: Murali Karicheri , Vladimir Oltean Cc: "netdev\@vger.kernel.org" Subject: Re: taprio testing - Any help? In-Reply-To: References: <87v9sv3uuf.fsf@linux.intel.com> <7fc6c4fd-56ed-246f-86b7-8435a1e58163@ti.com> <87r23j3rds.fsf@linux.intel.com> <45d3e5ed-7ddf-3d1d-9e4e-f555437b06f9@ti.com> <871rve5229.fsf@linux.intel.com> <87zhi01ldy.fsf@linux.intel.com> Date: Thu, 17 Oct 2019 12:32:39 -0700 Message-ID: <87bluf182w.fsf@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Murali Karicheri writes: > > root@am57xx-evm:~# tc qdisc replace dev eth0 parent root handle 100 taprio \ > > num_tc 4 \ > > map 2 3 1 0 2 2 2 2 2 2 2 2 2 2 2 2 \ > > queues 1@0 1@0 1@0 1@0 \ > > base-time 1564535762845777831 \ > > sched-entry S 0xC 15000000 \ > > sched-entry S 0x2 15000000 \ > > sched-entry S 0x4 15000000 \ > > sched-entry S 0x8 15000000 \ > > txtime-delay 300000 \ > > flags 0x1 \ > > clockid CLOCK_TAI > RTNETLINK answers: Invalid argument > > Anything wrong with the command syntax? I tried this example here, and it got accepted ok. I am using the current net-next master. The first thing that comes to mind is that perhaps you backported some old version of some of the patches (so it's different than what's upstream now). Cheers, -- Vinicius