From owner-freebsd-current@FreeBSD.ORG Tue Feb 19 17:27:57 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 98587955 for ; Tue, 19 Feb 2013 17:27:57 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by mx1.freebsd.org (Postfix) with ESMTP id 250307ED for ; Tue, 19 Feb 2013 17:27:56 +0000 (UTC) Received: by mail-wi0-f175.google.com with SMTP id l13so5120854wie.2 for ; Tue, 19 Feb 2013 09:27:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=7b47M/nTgYzYLWIrKn9qvfg5ZBzd5i/Y9BrJ5BhiRy0=; b=oh6bMyQS87WvzCD3OOZvvVXfbLJfJ9VXEJ1xJtVW3uYBpxvvN7A+WARsZTvIctN2Gq 5gWMXW3BvQLP0mRDHLOFtTweuQaCfG6nkFeWd5m2o5sKpMs9KrQMRT7BHLgLMR0znww0 DuXlsTvRHWmikexCnR6Q+Z0P+w8T8Mgo5vIpU2P1yoFFVaGL5LqU5RMsPCJdlM+r30Ym fSKfp16umu4KkIfeRYm0bNi5u4Z6OJqLQZB7tmD10ArbmvHU3uhV25jeijI7bG1/GpP6 Xpf1fpEUEFyTSQCOzeWa7g4T4loJNvxAWVSbY4fOmobCXDW7jSPkH3MV1Qyrxm8H9+YD drKA== MIME-Version: 1.0 X-Received: by 10.180.91.106 with SMTP id cd10mr10116289wib.6.1361294875985; Tue, 19 Feb 2013 09:27:55 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.236.88 with HTTP; Tue, 19 Feb 2013 09:27:55 -0800 (PST) In-Reply-To: References: Date: Tue, 19 Feb 2013 09:27:55 -0800 X-Google-Sender-Auth: -o9rJTg0EOSWZ3eme2kN_7bNap0 Message-ID: Subject: Re: fail to load vlans into the vlan translation unit From: Adrian Chadd To: Yasir hussan Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2013 17:27:57 -0000 Do you have any example code that you've written that's failing? Thanks, adrian On 19 February 2013 09:07, Yasir hussan wrote: > hi, > > i am trying to build up vlan feature for chip ar8316 in freebsd, i am yet > able to make a single defualt vlan which is working properly, where i am > failing is i guess is in calculate the port destination masks and load > vlansinto the vlan translation unit, i am tring to copy style of > open-wrt, u can > also brows it from > https://dev.openwrt.org/browser/trunk/target/linux/generic-2.6/files/drivers/net/phy/ar8216.c?rev=20083 > > > the vlan i tried to add in last is working as defualt vlan but switch > should also add the previous one vlans.I think it should even work if i > dont use loop and just use ar8216_vtu_op funtion to add each vlan, but it > does`t work on me, kindly anyone body have idea what i am missing or have > any suggestion would be arpiciotive.. > > Thanks, > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"