From: David Miller <davem@davemloft.net>
To: xiaosuo@gmail.com
Cc: shemminger@vyatta.com, hadi@cyberus.ca, tgraf@redhat.com,
netdev@vger.kernel.org
Subject: Re: [PATCH] tc: add meta match on receive hash
Date: Mon, 23 Aug 2010 20:44:22 -0700 (PDT) [thread overview]
Message-ID: <20100823.204422.85408087.davem@davemloft.net> (raw)
In-Reply-To: <AANLkTik3tnSQOXSQWxX+GqcJpjnEyGuWyZhQ9sbPFYAt@mail.gmail.com>
From: Changli Gao <xiaosuo@gmail.com>
Date: Tue, 24 Aug 2010 07:25:19 +0800
> On Tue, Aug 24, 2010 at 4:08 AM, Stephen Hemminger
>> @@ -223,6 +223,11 @@ META_COLLECTOR(int_maclen)
>> dst->value = skb->mac_len;
>> }
>>
>> +META_COLLECTOR(int_rxhash)
>> +{
>> + dst->value = skb->rxhash;
>> +}
>
> How about using skb_get_rxhash instead. It returns the rxhash anyway.
Agreed.
next prev parent reply other threads:[~2010-08-24 3:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-23 20:08 [PATCH] tc: add meta match on receive hash Stephen Hemminger
2010-08-23 23:25 ` Changli Gao
2010-08-24 3:44 ` David Miller [this message]
2010-08-24 18:14 ` Stephen Hemminger
2010-08-24 21:48 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100823.204422.85408087.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=hadi@cyberus.ca \
--cc=netdev@vger.kernel.org \
--cc=shemminger@vyatta.com \
--cc=tgraf@redhat.com \
--cc=xiaosuo@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).