Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cphil4
Beginner
1,184 Views

XL710 VF and loopback

I have an XL710 VSI that is running in a VF and uses RSS queuing across multiple queues on input. In fact there are 4 RSS queue sets in the VF. For various reasons I want to put frames on each XMIT queue in the VF and loop them back to the matching RCV queue. I have modified the VSI to set the "Allow destination override" bit in the ADD_VSI command. I've also set the SWTCH field in the context transmit descriptor to 11b and set the TARGET_VSI field to the VSI id. This all then works in that the transmitted frame is looped back to a receive ring. But there is a catch. Frames put on transmit queues 0 thru 3 all end up being looped back to the rcv ring of rcv queue 0, instead of back to the appropriate matching rcv queue eg Xmit 3 to Rcv 3. Can anything be done about this?

0 Kudos
7 Replies
SYeo3
Valued Contributor I
77 Views

Hi clivep,

 

Thanks for posting. I'll further check on this.

 

Sincerely,

 

Sandy

 

SYeo3
Valued Contributor I
77 Views

Hi clivep,

Can you provide us your adapter and operating system?

ethtool -i

Operating System:

Kernel:

Adapter Info:

Module Type:

We look forward to your reply.

Sincerely,

Sandy

cphil4
Beginner
77 Views

uname –a:

Linux localhost.localdomain 4.1.7-200.fc22.x86_64

ethtool -i enp3s0f0:

driver: i40e

version: 1.3.39.1

firmware-version: 4.53 0x80001dca 0.0.0

bus-info: 0000:03:00.0

supports-statistics: yes

supports-test: yes

supports-eeprom-access: yes

supports-register-dump: yes

supports-priv-flags: yes

The VF program is running in a guest under QEMU. The guest OS details:

uname –a:

Linux localhost.localdomain 2.6.32-431.56.1.el6.f5.x86

SYeo3
Valued Contributor I
77 Views

Hi clivep,

Thanks for providing your system details. We are looking into your configuration.

In the meantime, please provide the adapter's details. This is for us to further understand your environment.

Model:

Module Type used on the nic:

We look forward to your reply.

Sincerely,

Sandy

cphil4
Beginner
77 Views

Not sure if this is what you're requesting, but if not, please tell me how to get what you want...

From lspci:

03:00.1 Ethernet controller: Intel Corporation Ethernet Controller XL710 for 40GbE QSFP+ (rev 01)

Subsystem: Intel Corporation Ethernet Converged Network Adapter XL710-Q2

SYeo3
Valued Contributor I
77 Views

Hi clivep,

The "allow destination override" bit does not over rule RSS. Try making sure that the RSS rules direct your packets to the correct queues or else try using Flow Director rules to achieve the result you need.

Sincerely,

Sandy

cphil4
Beginner
77 Views

You're correct. That is the problem. Thanks you!

Reply