Skip to contentSkip to conversation

Unicast hash for IXGBEVF driver

DISCUSSION J.Hwan Kim 3 participants 4 messages Aug 27, 2011 – Aug 30, 2011

Subsystems (2)
lore
Share & tools
lore

J.Hwan Kim

author
#0 lore raw

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

#1 lore raw
Quoted 12 lines · J.Hwan Kim

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.

Quoted 5 lines

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.

Signature · 2 lines
Cheers,
Jeff
#2 lore raw

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

Quoted 26 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jeff Kirsher
Sent: Saturday, August 27, 2011 12:35 AM
To: J.Hwan Kim; Rose, Gregory V
Cc: netdev; [email protected]
Subject: Re: Unicast hash for IXGBEVF driver

Quoted 12 lines · J.Hwan Kim

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.

Quoted 5 lines

Thanks in advance.

Best Regards,
J.Hwan Kim

Quoted 7 lines

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired

author
#3 lore raw
Quoted 7 lines · Gregory V

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 32 lines
Quoted 32 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jeff Kirsher
Sent: Saturday, August 27, 2011 12:35 AM
To: J.Hwan Kim; Rose, Gregory V
Cc: netdev; [email protected]
Subject: Re: Unicast hash for IXGBEVF driver

Quoted 12 lines · J.Hwan Kim

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.

Quoted 5 lines

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