lkml.org 
[lkml]   [2011]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: linux-next: Tree for July 20 (qlcnic)

    On Jul 20, 2011, at 9:19 AM, Randy Dunlap wrote:

    > On Wed, 20 Jul 2011 18:00:41 +1000 Stephen Rothwell wrote:
    >
    >> Hi all,
    >
    > When CONFIG_VLAN_8021Q is not enabled:
    >
    > drivers/net/qlcnic/qlcnic_main.c:4207: error: 'struct net_device' has no member named 'vlgrp'

    This is caused by the following commit:

    commit 69ecca86da4890c13a5e29c51b4ac76a1a8a62c9
    Refs: v3.0-rc7-1265-g69ecca8
    Author: David Lamparter <equinox@diac24.net>
    AuthorDate: Sun Jul 17 08:53:12 2011 +0000
    Commit: David S. Miller <davem@davemloft.net>
    CommitDate: Sun Jul 17 12:33:22 2011 -0700

    net: vlan, qlcnic: make vlan_find_dev private

    there is only one user of vlan_find_dev outside of the actual vlan code:
    qlcnic uses it to iterate over some VLANs it knows.

    let's just make vlan_find_dev private to the VLAN code and have the
    iteration in qlcnic be a bit more direct. (a few rcu dereferences less
    too)

    Signed-off-by: David Lamparter <equinox@diac24.net>
    Cc: Patrick McHardy <kaber@trash.net>
    Cc: Amit Kumar Salecha <amit.salecha@qlogic.com>
    Cc: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
    Cc: linux-driver@qlogic.com
    Signed-off-by: David S. Miller <davem@davemloft.net>




    \
     
     \ /
      Last update: 2011-07-20 20:09    [W:0.024 / U:30.932 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site