From: Jason Wang <jasowang@redhat.com>
To: David Miller <davem@davemloft.net>
Cc: mst@redhat.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, maxk@qualcomm.com,
edumazet@google.com, krkumar2@in.ibm.com,
ernesto.martin@viasat.com, haixiao@juniper.net
Subject: Re: [net-next resend v4 5/7] tuntap: multiqueue support
Date: Thu, 01 Nov 2012 13:04:23 +0800 [thread overview]
Message-ID: <509202D7.3090401@redhat.com> (raw)
In-Reply-To: <20121031.141618.286962451107179252.davem@davemloft.net>
On 11/01/2012 02:16 AM, David Miller wrote:
> From: Jason Wang <jasowang@redhat.com>
> Date: Mon, 29 Oct 2012 14:15:49 +0800
>
>> @@ -110,6 +110,11 @@ struct tap_filter {
>> unsigned char addr[FLT_EXACT_COUNT][ETH_ALEN];
>> };
>>
>> +/* 1024 is probably a high enough limit: modern hypervisors seem to support on
>> + * the order of 100-200 CPUs so this leaves us some breathing space if we want
>> + * to match a queue per guest CPU. */
> Please don't format comments like this. Put that final "*/" on it's
> own line.
>
> I'm really perplexed how you can get it right elsewhere in your
> patches, and then botch it up only in a few select locations :-/
Sorry about this, some parts were copy paste from the comments of
reviewer. I will post a new version to fix them all.
>> +/* We try to identify a flow through its rxhash first. The reason that
>> + * we do not check rxq no. is becuase some cards(e.g 82599), chooses
>> + * the rxq based on the txq where the last packet of the flow comes. As
>> + * the userspace application move between processors, we may get a
>> + * different rxq no. here. If we could not get rxhash, then we would
>> + * hope the rxq no. may help here.
>> + */
> For example, this one is done right.
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2012-11-01 5:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-29 6:15 [net-next resend v4 0/7] Multiqueue support in tuntap Jason Wang
2012-10-29 6:15 ` [net-next resend v4 1/7] tuntap: log the unsigned informaiton with %u Jason Wang
2012-10-29 6:15 ` [net-next resend v4 2/7] tuntap: move socket to tun_file Jason Wang
2012-10-29 6:15 ` [net-next resend v4 3/7] tuntap: RCUify dereferencing between tun_struct and tun_file Jason Wang
2012-10-29 6:15 ` [net-next resend v4 4/7] tuntap: introduce multiqueue flags Jason Wang
2012-10-29 6:15 ` [net-next resend v4 5/7] tuntap: multiqueue support Jason Wang
2012-10-31 18:16 ` David Miller
2012-11-01 5:04 ` Jason Wang [this message]
2012-10-29 6:15 ` [net-next resend v4 6/7] tuntap: add ioctl to attach or detach a file form tuntap device Jason Wang
2012-10-29 6:15 ` [net-next resend v4 7/7] tuntap: choose the txq based on rxq Jason Wang
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=509202D7.3090401@redhat.com \
--to=jasowang@redhat.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=ernesto.martin@viasat.com \
--cc=haixiao@juniper.net \
--cc=krkumar2@in.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maxk@qualcomm.com \
--cc=mst@redhat.com \
--cc=netdev@vger.kernel.org \
/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).