Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1085624

Summary: [WHQL][netkvm][macvtap]2c_Mini6RSSSendRecv (Multi-Group Win8+) and 2c_Mini6RSSSendRecv failed on win2012/2012r2/win8/win8.1/win7 OSes
Product: Red Hat Enterprise Linux 7 Reporter: Min Deng <mdeng>
Component: virtio-winAssignee: Yvugenfi <yvugenfi>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: ailan, dfleytma, juzhang, knoel, lijin, mdeng, michen, rbalakri, virt-bugs, virt-maint, vyasevic, wyu, ybendito, yvugenfi
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-19 10:52:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
win2012R2hckfile none

Description Min Deng 2014-04-09 03:04:37 UTC
Description of problem:
NDISTest 6.0 - [2 Machine] - 2c_Mini6RSSSendRecv (Multi-Group Win8+) failed on win2012/2012r2/win8/win8.1/win7 OSes

Version-Release number of selected component (if applicable):
qemu-kvm-rhev-1.5.3-53.el7.x86_64
kernel-3.10.0-113.el7.x86_64
build 76

How reproducible:
20/20

Steps to Reproduce:
1.boot up guest with the following CLI
  /usr/libexec/qemu-kvm -M pc -m 6G -smp 4 -cpu Nehalem,+x2apic,hv_spinlocks=0x1fff,hv_relaxed,hv_vapic,hv_time -usb -device usb-tablet -drive file=win2012-nic2.raw,format=raw,if=none,id=drive-ide0-0-0,werror=stop,rerror=stop,cache=none -device ide-drive,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -uuid be330f38-938a-4449-a0c6-f43058dbe9f0 -rtc-td-hack -no-kvm-pit-reinjection -chardev socket,id=a111,path=/tmp/monitor-w8132-nic2,server,nowait -mon chardev=a111,mode=readline -name win2012-nic2 -vnc :2 -vga cirrus -monitor stdio -netdev tap,id=hostnet0,script=/etc/qemu-ifup -device e1000,netdev=hostnet0,mac=00:12:54:3c:11:71,id=net0 -device virtio-net-pci,netdev=hostnet1,mac=52:e0:00:0b:9a:5a,id=vnic0 -netdev tap,id=hostnet1,vhost=on,fd=11 -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1
root     20512 16.5 25.9 7289768 6330636 pts/1 Sl+  Apr08 172:33 /usr/libexec/qemu-kvm -M pc -m 6G -smp 8,cores=8 -cpu Nehalem,+kvm_pv_unhalt,hv_spinlocks=0x1fff,hv_relaxed,hv_vapic,hv_time -usb -device usb-tablet -drive file=win2012-nic1.raw,format=raw,if=none,id=drive-ide0-0-0,werror=stop,rerror=stop,cache=none -device ide-drive,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -uuid 0a264813-2fb1-4fec-88c5-19dec63d1ce1 -rtc-td-hack -no-kvm-pit-reinjection -chardev socket,id=a111,path=/tmp/monitor-w8132-nic1,server,nowait -mon chardev=a111,mode=readline -name win2012-nic1 -vnc :1 -vga cirrus -monitor stdio -netdev tap,id=hostnet0,script=/etc/qemu-ifup -device e1000,netdev=hostnet0,mac=00:32:14:46:20:11,id=net0 -device virtio-net-pci,netdev=hostnet1,mac=e6:b3:cc:b1:2b:73,id=vnic0 -netdev tap,id=hostnet1,vhost=on,fd=10 -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1
2.submit the job 
3.

Actual results:
The job could not pass due to a lot of error message.
A piece of error message- 
2c_mini6rsssendrecv 
Message 4/8/2014 6:55:16.416 AM 
This script tests the miniport's receive side scaling implementation. It tests that
when RSS is enabled, the miniport does not drop packets, indicates them in order,
when appropriate on the correct processor. It also tests disabling RSS.

This test uses an indirection table which contains a number of processors equal to
the greater of either the number of hardware queues the miniport supports or
the number of processors on the system

There are two main iterations in this test
1. A single support adapter instance sending packets to the RSS miniport
2. Multiple senders sending packets to the RSS miniport.

Both OID_GEN_RECEIVE_SCALE_PARAMETERS (RSS) and
OID_GEN_RECEIVE_HASH (Hash only) are tested. RSS is tried first,
if RSS is not supported the test falls back to doing Hash only. If RSS is supported,
the test also attempts Hash only. A failure will occur if the miniport does not
support either Hash or RSS and it reported capabilities.

Disabling and enabling RSS and Hashing is tested three ways
1. Setting the NDIS_RSS_PARAM_FLAG_DISABLE_RSS flag
2. Setting the HashFunction to 0
3. Setting the standardized RSS reg key to disabled (0)

When disabled via the the reg key, we expect no capabilities to be reported, sets
to fail, and no RSS or Hashing to be done.
The test sends different packet types:
"1. IPv4 + TCP packets with no options
2. IPv4 packets with no options & no TCP header
3. IPv4 + TCP packets with fixed length IP options
4. IPv4 packets with fixed length IP options and no TCP header
5. Pv4 + TCP packets with variable length IP options
6. IPv4 packets with variable length IP options and no TCP header
7. First fragment of IPv4 + TCP packets with no options
8. Middle fragment of IPv4 + TCP packets with no options
9. Last fragment of IPv4 + TCP packets with no options
10. IPv4 + TCP packets changing ports and addresses
11. Raw NDISTest packets (no IP or TCP)
12. IPv6 + TCP packets with no options
13. IPv6 packets with no options & no TCP header
14. IPv6 + TCP packets with fixed length IP padding
15. IPv6 packets with fixed length IP padding and no TCP header
16. First fragment of IPv6 + TCP packets with no additional options
17. Middle fragment of IPv6 + TCP packets with no additional options
18. Last fragment of IPv6 + TCP packets with no additional options
19. IPv6 packets with route type 0 header and TCP header
20. IPv6 packets with route type 2 header and TCP header
21. IPv6 packets with route type 2 header and no TCP header
22. IPv6 packets with home address header and TCP header
23. IPv6 packets with home address header and no TCP header
24. IPv6 packets with home address and route type 2 header and TCP header
25. IPv6 packets with home address and route type 2 header and no TCP header"

Expected results:
The job could pass.

Additional info:

Comment 4 Min Deng 2014-04-23 02:12:21 UTC
Hi Yan,

   Unfortunately this job could not pass even if I set 'ip link set dev macvtap$ allmulticast on' and got the same issue.Upload the latest HCK file to this bug.

build info
build79
kernel-3.10.0-121.el7.x86_64
qemu-kvm-rhev-1.5.3-60.el7ev.x86_64

Thanks
Min

Comment 5 Min Deng 2014-04-23 02:14:41 UTC
Created attachment 888705 [details]
win2012R2hckfile

Comment 6 Min Deng 2014-04-23 02:35:58 UTC
Created attachment 888709 [details]
win2012-HCK-LOG

Comment 8 Yossi Hindin 2015-03-04 19:32:04 UTC
Hi

I have a couple of questions

1. How do you create macvtab devices? Would you mind to share the setup scripts?

2. It is possible that the test failures are caused by packet losses outside of the guest Windows. Do you set txqueuelen parameters? Please, notice that txqueuelen parameter has to be set both on macvtap device and bridge/interface where the macvtap device is created.


   Regards,

      Joseph Hindin

Comment 15 Min Deng 2015-09-08 08:25:26 UTC
  Re-test the bug on build 109 with macvtap env,the issue still could be reproduced and upload the log to the bug as well.

Comment 17 Vlad Yasevich 2015-09-11 13:42:33 UTC
(In reply to dengmin from comment #15)
>   Re-test the bug on build 109 with macvtap env,the issue still could be
> reproduced and upload the log to the bug as well.

When you say build 109, what do you mean?  What host kernel version did you use?

The original bug was filed agains 3.10.0-113.  The most recent rhel7.2 kernel
available is kernel-3.10.0-315.el7.

-vlad

Comment 18 Yvugenfi@redhat.com 2015-09-13 08:00:50 UTC
(In reply to Vlad Yasevich from comment #17)
> (In reply to dengmin from comment #15)
> >   Re-test the bug on build 109 with macvtap env,the issue still could be
> > reproduced and upload the log to the bug as well.
> 
> When you say build 109, what do you mean?  What host kernel version did you
> use?
> 
> The original bug was filed agains 3.10.0-113.  The most recent rhel7.2 kernel
> available is kernel-3.10.0-315.el7.
> 
> -vlad

109 is the virtio-win build number (https://brewweb.devel.redhat.com/buildinfo?buildID=451410).

But definitely what interest us here is kernel version and not the driver version.

Comment 19 Min Deng 2015-09-15 02:24:46 UTC
(In reply to Yan Vugenfirer from comment #18)
> (In reply to Vlad Yasevich from comment #17)
> > (In reply to dengmin from comment #15)
> > >   Re-test the bug on build 109 with macvtap env,the issue still could be
> > > reproduced and upload the log to the bug as well.
> > 
> > When you say build 109, what do you mean?  What host kernel version did you
> > use?
> > 
> > The original bug was filed agains 3.10.0-113.  The most recent rhel7.2 kernel
> > available is kernel-3.10.0-315.el7.
> > 
> > -vlad
> 
> 109 is the virtio-win build number
> (https://brewweb.devel.redhat.com/buildinfo?buildID=451410).
> 
> But definitely what interest us here is kernel version and not the driver
> version.

     The kernel version is kernel-3.10.0-3.10.0-300.el7.x86_64 and qemu-kvm-rhev-2.3.0-13.el7.x86_64 when I run this job,need QE re-run it on the latest one ? Thanks

Min

Comment 20 Min Deng 2015-09-15 05:00:52 UTC
(In reply to dengmin from comment #19)
> (In reply to Yan Vugenfirer from comment #18)
> > (In reply to Vlad Yasevich from comment #17)
> > > (In reply to dengmin from comment #15)
> > > >   Re-test the bug on build 109 with macvtap env,the issue still could be
> > > > reproduced and upload the log to the bug as well.
> > > 
> > > When you say build 109, what do you mean?  What host kernel version did you
> > > use?
> > > 
> > > The original bug was filed agains 3.10.0-113.  The most recent rhel7.2 kernel
> > > available is kernel-3.10.0-315.el7.
> > > 
> > > -vlad
> > 
> > 109 is the virtio-win build number
> > (https://brewweb.devel.redhat.com/buildinfo?buildID=451410).
> > 
> > But definitely what interest us here is kernel version and not the driver
> > version.
> 
>      The kernel version is kernel-3.10.0-3.10.0-300.el7.x86_64 and
> qemu-kvm-rhev-2.3.0-13.el7.x86_64 when I run this job,need QE re-run it on
> the latest one ? Thanks
> 
> Min

  I will re-tested it on the latest kernel build&qemu-kvm-rhev build and will update the results as soon as finishing.

Comment 21 Min Deng 2015-09-16 04:51:39 UTC
(In reply to dengmin from comment #20)
> (In reply to dengmin from comment #19)
> > (In reply to Yan Vugenfirer from comment #18)
> > > (In reply to Vlad Yasevich from comment #17)
> > > > (In reply to dengmin from comment #15)
> > > > >   Re-test the bug on build 109 with macvtap env,the issue still could be
> > > > > reproduced and upload the log to the bug as well.
> > > > 
> > > > When you say build 109, what do you mean?  What host kernel version did you
> > > > use?
> > > > 
> > > > The original bug was filed agains 3.10.0-113.  The most recent rhel7.2 kernel
> > > > available is kernel-3.10.0-315.el7.
> > > > 
> > > > -vlad
> > > 
> > > 109 is the virtio-win build number
> > > (https://brewweb.devel.redhat.com/buildinfo?buildID=451410).
> > > 
> > > But definitely what interest us here is kernel version and not the driver
> > > version.
> > 
> >      The kernel version is kernel-3.10.0-3.10.0-300.el7.x86_64 and
> > qemu-kvm-rhev-2.3.0-13.el7.x86_64 when I run this job,need QE re-run it on
> > the latest one ? Thanks
> > 
> > Min
> 
>   I will re-tested it on the latest kernel build&qemu-kvm-rhev build and
> will update the results as soon as finishing.

  Re-tested the bug on the following builds
  kernel-3.10.0-315.el7.x86_64
  qemu-kvm-rhev-2.3.0-22.el7.x86_64
  virtio-win-prewhql-0.1-109
  Still can reproduce the issue,thanks!

Comment 23 ybendito 2017-03-23 13:01:42 UTC
According to
https://bugzilla.redhat.com/show_bug.cgi?id=1413467

the problem is not reproduced on latest builds. Please clarify and close the bug if not actual

Comment 24 lijin 2017-03-24 02:21:43 UTC
(In reply to ybendito from comment #23)
> According to
> https://bugzilla.redhat.com/show_bug.cgi?id=1413467
> 
> the problem is not reproduced on latest builds. Please clarify and close the
> bug if not actual

This bug track this issues under macvtap configuration;
bug1413467 is under bridge configuration,QE will try with latest build to check if it still can be reproduced.

keep the needinfo for me,will update it when finish.

Comment 25 lijin 2017-07-03 03:01:19 UTC
This job can pass with latest 139 build.
So this issue has been fixed.

Comment 26 Yvugenfi@redhat.com 2017-07-19 10:52:51 UTC
Closing based on comment #25