Thanks. The first thing I see by simple inspection is the line "# 
CONFIG_VLAN_8021Q_MVRP is not set" but I'm not sure that would make a 
difference. I'll send the config file along to our repro team.

Todd Fujinaka
Software Application Engineer
Networking Division (ND)
Intel Corporation
todd.fujin...@intel.com
(503) 712-4565

-----Original Message-----
From: Madhur Sethi [mailto:mad...@attivonetworks.com] 
Sent: Wednesday, October 15, 2014 6:02 AM
To: Fujinaka, Todd; 'e1000-devel@lists.sourceforge.net'
Subject: RE: [E1000-devel] igb 5.0.3-k driver doesnt pick up vlan tagged 
packets when using with openvswitch

Hi Todd,

Please find attached the kernel config file. 

The kernel has come from http://elrepo.org/tiki/kernel-lt


Regards,
Madhur

-----Original Message-----
From: Fujinaka, Todd [mailto:todd.fujin...@intel.com] 
Sent: 15 October 2014 01:45
To: Fujinaka, Todd; Madhur Sethi; 'e1000-devel@lists.sourceforge.net'
Subject: RE: [E1000-devel] igb 5.0.3-k driver doesnt pick up vlan tagged 
packets when using with openvswitch

We can't reproduce this locally. We're thinking it might be your kernel config 
so you'll need to send that to us, or tell us where your kernel is from.

Thanks.

Todd Fujinaka
Software Application Engineer
Networking Division (ND)
Intel Corporation
todd.fujin...@intel.com
(503) 712-4565

-----Original Message-----
From: Fujinaka, Todd [mailto:todd.fujin...@intel.com] 
Sent: Monday, October 06, 2014 10:31 AM
To: Madhur Sethi; 'e1000-devel@lists.sourceforge.net'
Subject: Re: [E1000-devel] igb 5.0.3-k driver doesnt pick up vlan tagged 
packets when using with openvswitch

I've submitted this for local reproduction. We don't directly support CentOS, 
so can you also try this with a kernel version that's closer to Red Hat's or 
with the latest stable upstream kernel?

Thanks.

Todd Fujinaka
Software Application Engineer
Networking Division (ND)
Intel Corporation
todd.fujin...@intel.com
(503) 712-4565

From: Madhur Sethi [mailto:mad...@attivonetworks.com]
Sent: Friday, October 03, 2014 10:44 PM
To: Fujinaka, Todd; 'e1000-devel@lists.sourceforge.net'
Subject: RE: [E1000-devel] igb 5.0.3-k driver doesnt pick up vlan tagged 
packets when using with openvswitch

Hi Todd,

Please find below the details of KVM and OVS

[root@XXX  ~]# rpm -qa | grep openvswitch
openvswitch-2.0.1-1.x86_64

[root@XXX ~]# rpm -qa | grep kvm
qemu-kvm-0.12.1.2-2.415.el6_5.10.x86_64

[root@XXX ~]# modinfo kvm_intel
filename:       
/lib/modules/3.10.51-1.el6.elrepo.x86_64/kernel/arch/x86/kvm/kvm-intel.ko
license:        GPL
author:         Qumranet
srcversion:     D1C0A8B692E68C9FAFD837D
alias:          x86cpu:vendor:*:family:*:model:*:feature:*0085*
depends:        kvm
intree:         Y
vermagic:       3.10.51-1.el6.elrepo.x86_64 SMP mod_unload modversions
parm:           vpid:bool
parm:           flexpriority:bool
parm:           ept:bool
parm:           unrestricted_guest:bool
parm:           eptad:bool
parm:           emulate_invalid_guest_state:bool
parm:           vmm_exclusive:bool
parm:           fasteoi:bool
parm:           enable_apicv:bool
parm:           enable_shadow_vmcs:bool
parm:           nested:bool
parm:           ple_gap:int
parm:           ple_window:int


Regards,
Madhur
From: Fujinaka, Todd [mailto:todd.fujin...@intel.com]
Sent: 04 October 2014 02:33
To: Madhur Sethi; 'e1000-devel@lists.sourceforge.net'
Subject: RE: [E1000-devel] igb 5.0.3-k driver doesnt pick up vlan tagged 
packets when using with openvswitch

Can you also tell us the version numbers for your Xen/KVM and OVS?

Todd Fujinaka
Software Application Engineer
Networking Division (ND)
Intel Corporation
todd.fujin...@intel.com<mailto:todd.fujin...@intel.com>
(503) 712-4565

From: Madhur Sethi [mailto:mad...@attivonetworks.com]
Sent: Friday, October 03, 2014 12:09 PM
To: Fujinaka, Todd; 'e1000-devel@lists.sourceforge.net'
Subject: RE: [E1000-devel] igb 5.0.3-k driver doesnt pick up vlan tagged 
packets when using with openvswitch


Hi Todd,



Please find below the details of the configuration.



openVSwitch config:

[root@XXX ~]# ovs-vsctl show

3c55434d-c453-49e9-884d-e4fd6d614606

Bridge OVS-VlanBridge

        Port OVS-VlanBridge

                    Interface OVS-VlanBridge

                        type: internal

        Port "vnet366"

                    tag: 5

                    Interface "vnet366"

         Port "eth1"

                    trunks: [5]

                    Interface "eth1"



The Vlan is intended to be stripped on the OVS-VlanBridge, as we don't want to 
trunk it to the VM.

The vnet366 is configured as an access port on the openVSwitch and corresponds 
to eth1 on the VM. On the VM the configuration is :



[root@YYY  ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1

DEVICE=eth1

TYPE=Ethernet

BOOTPROTO=static

ONBOOT=yes

IPADDR=2.2.2.2

NETMASK=255.255.255.0



The physical Ethernet Port eth1 has the following configuration on the host :

DEVICE=eth1

TYPE=Ethernet

ONBOOT=yes

BOOTPROTO=none



The OVS successfully configures the VLAN and arp requests going out of eth1 to 
the network are tagged with VLAN 5. However it does not pick up the arp 
responses coming back from the other side.



Let me know if any more details are needed.



Regards,

Madhur





-----Original Message-----
From: Fujinaka, Todd [mailto:todd.fujin...@intel.com]
Sent: 03 October 2014 21:54
To: Madhur Sethi; 'e1000-devel@lists.sourceforge.net'
Subject: RE: [E1000-devel] igb 5.0.3-k driver doesnt pick up vlan tagged 
packets when using with openvswitch



There aren't enough details here. Can you tell us the exact steps you used for 
configuring the VLANs on the host and guest?



Thanks.



Todd Fujinaka

Software Application Engineer

Networking Division (ND)

Intel Corporation

todd.fujin...@intel.com<mailto:todd.fujin...@intel.com>

(503) 712-4565



-----Original Message-----

From: Madhur Sethi [mailto:mad...@attivonetworks.com]

Sent: Friday, October 03, 2014 5:12 AM

To: 'e1000-devel@lists.sourceforge.net'

Subject: [E1000-devel] igb 5.0.3-k driver doesnt pick up vlan tagged packets 
when using with openvswitch



Hey Guys,

It seems there is an issue with the igb drivers not being able to receive VLAN 
tagged traffic when used with openvswitch.

I am on Centos 6.5 with the following kernel:

3.10.51-1.el6.elrepo.x86_64

I have the following intel driver in my setup.

[root@XXX ~]# ethtool -i eth1

driver: igb

version: 5.0.3-k

firmware-version: 1.80, 0x00000000

bus-info: 0000:05:00.1

supports-statistics: yes

supports-test: yes

supports-eeprom-access: yes

supports-register-dump: yes

supports-priv-flags: no

[root@XXX ~]# lspci | grep Ethernet

02:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection 
(rev 01)

02:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection 
(rev 01)

02:00.2 Ethernet controller: Intel Corporation I350 Gigabit Network Connection 
(rev 01)

02:00.3 Ethernet controller: Intel Corporation I350 Gigabit Network Connection 
(rev 01)

04:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection 
(rev 01)

04:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection 
(rev 01)



I use eth1 on the DOM-0 for physical  connectivity to my vm via openvswitch  
and an ip address is configured on the vm. When I try to ping another machine 
in the same network with vlan 5 , it seems that the arps are going out but the 
nic doesn't pick up the  returning arps even though the other end is duly 
replying to the arps.



[root@XXX ~]# tcpdump -i eth1 -ne arp

tcpdump: WARNING: eth1: no IPv4 address assigned

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode 
listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes

16:30:13.035965 52:54:00:3c:77:f5 > Broadcast, ethertype 802.1Q (0x8100), 
length 46: vlan 5, p 0, ethertype ARP, Request who-has 2.2.2.2 tell 2.2.2.3, 
length 28

16:30:14.038195 52:54:00:3c:77:f5 > Broadcast, ethertype 802.1Q (0x8100), 
length 46: vlan 5, p 0, ethertype ARP, Request who-has 2.2.2.2 tell 2.2.2.3, 
length 28



I can see the arps being responded to on the other end. Can you guys help with 
this?



Regards,

Madhur









------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
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

Reply via email to