Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: current status of ixg(4)



Hi.

On 2015/03/24 7:05, 6bone%6bone.informatik.uni-leipzig.de@localhost wrote:
> On Mon, 23 Mar 2015, Masanobu SAITOH wrote:
> 
>>> Is this problem filed PR? If not, could you file a PR?
>>
>> Could you test with this patch?
>>
> 
> The path dosn't solve the problem.

Did you really applied 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;




> Here the requested information:
> 
> HW:
> 023:00:0: Intel 82599 (SFP+) 10 GbE Controller (ethernet network, revision 0x01)
> 023:00:1: Intel 82599 (SFP+) 10 GbE Controller (ethernet network, revision 0x01)
> 
> Driver:
> ixg0 at pci14 dev 0 function 0: Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 2.4.5
> ixg0: interrupting at ioapic0 pin 19
> ixg0: PCI Express Bus: Speed 2.5Gb/s Width x8
> ixg1 at pci14 dev 0 function 1: Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 2.4.5
> ixg1: interrupting at ioapic0 pin 16
> ifmedia_match: multiple match for 0x20/0xfffffff, selected instance 0
> ixg1: PCI Express Bus: Speed 2.5Gb/s Width x8

One of my card is:

011:00:0: Intel 82599 (SFI/SFP+) 10 GbE Controller (ethernet network, revision 0x01)

It's the same as yours.


> ifconfig:
> 
> ixg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         capabilities=bff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
>         capabilities=bff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
>         capabilities=bff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,LRO>
>         enabled=0
>         ec_capabilities=7<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU>
>         ec_enabled=7<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU>
>         address: a0:36:9f:26:95:04
>         media: Ethernet autoselect (10GbaseSR full-duplex)
>         status: active
>         input: 64405 packets, 5192777 bytes, 700 multicasts, 2459 unknown protocol
>         output: 7 packets, 1138 bytes, 3 multicasts
>         inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
>         inet6 fe80::a236:9fff:fe26:9504%ixg0 prefixlen 64 scopeid 0x1
> 
> vlan8: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         capabilities=3ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
>         capabilities=3ff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
>         capabilities=3ff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx>
>         enabled=0
>         vlan: 8 parent: ixg0
>         address: a0:36:9f:26:95:04
>         input: 0 packets, 0 bytes
>         output: 3 packets, 250 bytes, 3 multicasts
>         inet6 fe80::a236:9fff:fe26:9504%vlan8 prefixlen 64 scopeid 0x4
> 
> You can see, the input counter is 0. tcpdump -i vlan8 shows no packets. But tcpdump -evi ixg0 shows tagged packets for vlan 8:
> 
> e.g.:
> 23:26:13.880538 a2:de:48:00:00:0e > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 64: vlan 8, p 0, ethertype ARP, Request who-has 139.18.13.212 tell 139.18.13.254, length 46

On my machine:

ixg1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        capabilities=fff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
        capabilities=fff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
        capabilities=fff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6,LRO>
        enabled=0
        ec_capabilities=7<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU>
        ec_enabled=7<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU>
        address: 00:1b:21:9b:4e:d6
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
        input: 3 packets, 284 bytes
        output: 14 packets, 1244 bytes, 5 multicasts
        inet6 fe80::21b:21ff:fe9b:4ed6%ixg1 prefixlen 64 scopeid 0x4

vlan8: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        capabilities=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
        capabilities=7ff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
        capabilities=7ff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
        enabled=0
        vlan: 8 parent: ixg1
        address: 00:1b:21:9b:4e:d6
        input: 3 packets, 260 bytes
        output: 9 packets, 702 bytes, 5 multicasts
        inet 10.0.0.2 netmask 0xff000000 broadcast 10.255.255.255
        inet6 fe80::21b:21ff:fe9b:4ed6%vlan8 prefixlen 64 scopeid 0x6

and "ping 10.0.0.2" from other machine makes vlan8's input counter
increments.

 Could you test again?

> Thank you for your efforts
> 
> 
> Regards
> Uwe
> 


-- 
-----------------------------------------------
                SAITOH Masanobu (msaitoh%execsw.org@localhost
                                 msaitoh%netbsd.org@localhost)


Home | Main Index | Thread Index | Old Index