Hi folks,
We are seeing an issue with macvlan interfaces and i40e driver. It seems that
older macvlan filters are not being removed when a macvlan interface is
deleted. We have setup a target system with MAC 02:00:00:00:00:01. On the
system under test, we first create a macvlan interface with MAC
02:00:00:00:00:02. We are able to ping the target. Then we create another
macvlan interface with the same MAC as the target system (02:00:00:00:00:00:01)
and then immediately delete it. After this we are not able to ping the target.
We are running 1.5.46 driver with latest firmware. Our suspicion is that
macvlan filters are not being removed when a macvlan interface is deleted and
the NIC is dropping packets with a source MAC that is the same as the macvlan
interface on the test system. The test script is below. Please let me know if
we can help debug this further.
Thanks,
Joy
#!/bin/bash -ex
#
# Load the driver and create a VLAN interface on eth1
#
modprobe -r i40e
modprobe i40e
sleep 1
vconfig add eth1 100
ifconfig eth1.100 up
#
# Create a macvlan interface. The other end's MAC is 02:00:00:00:00:01 and IP
is 11.0.0.1
#
ip link add link eth1.100 mac1 address 02:00:00:00:00:02 type macvlan
ifconfig mac1 11.0.0.2 netmask 255.255.255.0 up
ping -c 1 11.0.0.1 # Succeeds
#
# Create and delete a temporarary macclan interface with same MAC as other end
#
ip link add link eth1.100 mac2 address 02:00:00:00:00:01 type macvlan
ifconfig mac2 up
ip link del mac2
ping -c 1 11.0.0.1 # Does not succeeed
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit
http://communities.intel.com/community/wired