All of lore.kernel.org
 help / color / mirror / Atom feed
From: "J.Hwan Kim" <frog1120@gmail.com>
To: netdev <netdev@vger.kernel.org>
Subject: Re: Unicast hash for IXGBEVF driver
Date: Tue, 30 Aug 2011 10:05:47 +0900	[thread overview]
Message-ID: <4E5C376B.1030907@gmail.com> (raw)
In-Reply-To: <43F901BD926A4E43B106BF17856F0755019454265E@orsmsx508.amr.corp.intel.com>

On 2011년 08월 30일 03:24, Rose, Gregory V wrote:
> The ROPE bits should not be set for any of the VFs and only on the PF when it is in promiscuous mode.
>
> The PFUTA bits are imperfect MAC address hash filters.  By setting them all to ones and then turning on the ROPE bit for each of the VFs you're essentially putting the VF into a sort of fake promiscuous mode.
>
> This is not recommended.  Older drivers that did this had a bug in them.
>
> - Greg

Hi, Greg,
Thank you for reply.
When I have two streams of which destination mac address, for example 
34:22:11:13:23:55 and 14:12:34:23:12:33,
and I have 2VFs, how can I set the PFUTA register for distributting the 
streams into 2VFs according to the MAC address?
I want to first MAC address stream to first VF and second MAC address 
stream to second VF.



>> -----Original Message-----
>> From: tarbal@gmail.com [mailto:tarbal@gmail.com] On Behalf Of Jeff Kirsher
>> Sent: Saturday, August 27, 2011 12:35 AM
>> To: J.Hwan Kim; Rose, Gregory V
>> Cc: netdev; e1000-devel@lists.sourceforge.net
>> Subject: Re: Unicast hash for IXGBEVF driver
>>
>> On Sat, Aug 27, 2011 at 00:23, J.Hwan Kim<frog1120@gmail.com>  wrote:
>>> Hi, everyone
>>>
>>> How can I distribute the packets according to destination MAC address
>>> into multi-virtual fucntion queue?
>>> Now, my setting is that all bit of PFUTA are '1' and ROPE bit is 1,
>>> so all mac packet is duplicated to all VF queue.
>>> I cannot understand the meaning of bits of PFUTA and the relation
>>> with mac address.
>>> I want to distribute the received packets to RX queues respectively,
>>> not duplicated.
>>>
>>>
>>> Thanks in advance.
>>>
>>> Best Regards,
>>> J.Hwan Kim
>>>
>> Adding Greg Rose, since he is the ixgbevf driver maintainer.  He
>> should be able to answer your questions early next week, unless he is
>> checking his email over the weekend.
>>
>> --
>> Cheers,
>> Jeff

      reply	other threads:[~2011-08-30  1:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-27  7:23 Unicast hash for IXGBEVF driver J.Hwan Kim
2011-08-27  7:34 ` Jeff Kirsher
2011-08-29 18:24   ` Rose, Gregory V
2011-08-30  1:05     ` J.Hwan Kim [this message]

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=4E5C376B.1030907@gmail.com \
    --to=frog1120@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.