Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751762AbaDXCKH (ORCPT ); Wed, 23 Apr 2014 22:10:07 -0400 Received: from mail-pb0-f42.google.com ([209.85.160.42]:56276 "EHLO mail-pb0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751269AbaDXCKE (ORCPT ); Wed, 23 Apr 2014 22:10:04 -0400 Message-ID: <53587280.4020101@gmail.com> Date: Thu, 24 Apr 2014 10:10:08 +0800 From: zhuyj User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Ben Hutchings CC: Willy Tarreau , "David S. Miller" , netdev@vger.kernel.org, joe@perches.com, julia.lawall@lip6.fr, dingtianhong@huawei.com, linux-kernel@vger.kernel.org, jasowang@redhat.com, mst@redhat.com, "Yang, Zhangle (Eric)" , "Wu, Kuaikuai" , "Tao, Yue" , zhuyj Subject: Re: in kernel 2.6.x, tun/tap nic supports vlan packets References: <534F4C1E.1000006@gmail.com> <20140417050228.GC8243@1wt.eu> <1398189237.7767.77.camel@deadeye.wl.decadent.org.uk> <53577036.2040307@gmail.com> <1398253309.7767.136.camel@deadeye.wl.decadent.org.uk> In-Reply-To: <1398253309.7767.136.camel@deadeye.wl.decadent.org.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/23/2014 07:41 PM, Ben Hutchings wrote: > On Wed, 2014-04-23 at 15:48 +0800, zhuyj wrote: >> On 04/23/2014 01:53 AM, Ben Hutchings wrote: > [...] >>> For what it's worth, I would recommend against applying this. I don't >>> think even Red Hat has backported the VLAN changes, and they have been >>> quite aggressive about backporting features to RHEL 6. >> If we do not merge these patches, maybe RHEL 6 can not make tap driver >> support vlan well. > RHEL 6 isn't based on 2.6.32.y, they do all their own backporting. Hi, Ben It is well known that extraction vlan tag is not implemented in kernel 2.6.32.y. Kernel 2.6.32.y depends on nic hardware to extract vlan tag. So if the patches are not applied, tap driver can not support vlan well. Best Regards! Zhu Yanjun > Ben. > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/