Unicast hash for IXGBEVF driver

4 messages, 3 authors, 2011-08-30 · open the first message on its own page

Unicast hash for IXGBEVF driver

From: J.Hwan Kim <hidden>
Date: 2011-08-27 07:23:25

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

Re: Unicast hash for IXGBEVF driver

From: Jeff Kirsher <hidden>
Date: 2011-08-27 07:34:50

On Sat, Aug 27, 2011 at 00:23, J.Hwan Kim [off-list ref] 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

Re: Unicast hash for IXGBEVF driver

From: Rose, Gregory V <hidden>
Date: 2011-08-29 18:24:55

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
-----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 [off-list ref] wrote:
quoted
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
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sdnews
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel&#174; Ethernet, visit http://communities.intel.com/community/wired

Re: Unicast hash for IXGBEVF driver

From: J.Hwan Kim <hidden>
Date: 2011-08-30 01:05:51

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.


quoted
-----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[off-list ref]  wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help