From owner-freebsd-current@FreeBSD.ORG Tue Feb 19 17:07:25 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E4B98FC8 for ; Tue, 19 Feb 2013 17:07:25 +0000 (UTC) (envelope-from kolyasir@gmail.com) Received: from mail-qa0-f51.google.com (mail-qa0-f51.google.com [209.85.216.51]) by mx1.freebsd.org (Postfix) with ESMTP id AEE9869F for ; Tue, 19 Feb 2013 17:07:25 +0000 (UTC) Received: by mail-qa0-f51.google.com with SMTP id cr7so1937198qab.17 for ; Tue, 19 Feb 2013 09:07:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=FOM2lNpOH/aeQiDF9GoqL6Gfs2D4p/BHjeHHKAcpwjA=; b=hkzN9/mgTBlnFCz3/GT7X63cOHBs0WV86EkCB9odk64q3viQtqizbLJ7O9otGLQrLy LNO3m61pKO83YYbFEB+BXTURprUjfY8Hl7I23ImSGteAflxTmKUxnOLtenmRIc/qpoll DLKXsqDSYyua1MqUNUAWagLNbuAA8Ey5pIq6ceFF5914B2f2oij6AqDheqr89ux5JXqY xXEY2SG9QMxiGiQ0VR4lQw38l8faPCLZBwKXkjNfQCA2kO7BTWCczsyv9X1olQN28tGk D+SsjnILiTs7e2bh/I0Mjf7LL2RpyrJ2YM5jsaxgZvvfsCjIbQhwr8VArRB+0HfCCfM/ YTZQ== MIME-Version: 1.0 X-Received: by 10.224.33.208 with SMTP id i16mr3112816qad.45.1361293639427; Tue, 19 Feb 2013 09:07:19 -0800 (PST) Received: by 10.49.71.232 with HTTP; Tue, 19 Feb 2013 09:07:19 -0800 (PST) Date: Tue, 19 Feb 2013 12:07:19 -0500 Message-ID: Subject: fail to load vlans into the vlan translation unit From: Yasir hussan To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:07:26 -0000 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,