From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cong Wang Subject: Re: [fw filter]: Broken! fw mark based tc class selection not working Date: Fri, 11 Sep 2015 13:32:34 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: netdev , Cong Wang , Stephen Hemminger To: Akshat Kakkar Return-path: Received: from mail-yk0-f178.google.com ([209.85.160.178]:35449 "EHLO mail-yk0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753916AbbIKUcf (ORCPT ); Fri, 11 Sep 2015 16:32:35 -0400 Received: by ykdu9 with SMTP id u9so103885829ykd.2 for ; Fri, 11 Sep 2015 13:32:34 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Fri, Sep 11, 2015 at 9:34 AM, Akshat Kakkar wrote: > Recently I came to know that, > Without any options fw classifier maps fwmark to classid. > > tc filter add dev parent protocol ip prio 1 fw > > i.e. if my packet has mark(0x10001) and class id is not set, > then above tc filter, will set class id = 0x10001 i.e. 1:1 > > But when I am trying it out, its not working! > I am having class 1:1 defined but its not at all hit. Did you specify a right filter handle? What is your setup?