Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: current status of ixg(4)
Hi, Uwe.
but I found a problem with vlan interfaces.
You can create a vlan interface with:
ifconfig vlan8 create
ifconfig vlan8 vlan 8 vlanif ixg0 up
The interface is generated. But there are no packages. ifconfig -v shows no inbound packets. tcpdump on ixg0 but indicates tagged packets for VLAN8.
The problem also existed with the previous ixg driver. With wm interfaces, the problem does not seem to exist.
Is this problem filed PR? If not, could you file a PR?
Could you test with this patch?
Index: ixgbe.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/ixgbe/ixgbe.c,v
retrieving revision 1.14.2.2
diff -u -p -r1.14.2.2 ixgbe.c
--- ixgbe.c 24 Feb 2015 10:41:09 -0000 1.14.2.2
+++ ixgbe.c 23 Mar 2015 07:32:50 -0000
@@ -1064,6 +1064,9 @@ ixgbe_ifflags_cb(struct ethercom *ec)
else if ((change & (IFF_PROMISC | IFF_ALLMULTI)) != 0)
ixgbe_set_promisc(adapter);
+ /* Set up VLAN support and filter */
+ ixgbe_setup_vlan_hw_support(adapter);
+
IXGBE_CORE_UNLOCK(adapter);
return rc;
--
-----------------------------------------------
SAITOH Masanobu (msaitoh%execsw.org@localhost
msaitoh%netbsd.org@localhost)
Home |
Main Index |
Thread Index |
Old Index