From owner-freebsd-net@FreeBSD.ORG Sun Nov 16 12:35:38 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B709106564A for ; Sun, 16 Nov 2008 12:35:38 +0000 (UTC) (envelope-from yonyossef.lists@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30]) by mx1.freebsd.org (Postfix) with ESMTP id B48608FC08 for ; Sun, 16 Nov 2008 12:35:37 +0000 (UTC) (envelope-from yonyossef.lists@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so864988ywe.13 for ; Sun, 16 Nov 2008 04:35:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=qx50QlJ6LGg2QVH/Ohen3IrzRCXo2qOHZ71sJoQSkWA=; b=fBvxtEqjUouYHPL5j0KGo4mvRr6y+dnV2B0cV4azjpzDU9g9mTAgW2nYy7ipaa6QVQ PgX3wtb4Gb9KXWQUEXxO5anQVZaERIY3iYMEfiUSzuEq5A3JWCcx5X1PLfi0TywE0Amd wH6VTVIDZGqsmSi0nXIj+3A2IdXLMWDM5B8Vk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=mIZU6DR1VoPu9iq2oEFpvQep6ynUDk/ur/cx6Ckh4LSlx5hMtlLLAPrUeO3XfGQUza drCp1yFsFRIdqeX8jZHaLwuImoyAlTg0sCHQhsWs7SB24ssnnQwL90bgR4TezK2tBsjT Ukn9HyCbEg2jAgcyUK5liDpj0S/5aPsyYobdk= Received: by 10.151.108.13 with SMTP id k13mr5705839ybm.160.1226837034650; Sun, 16 Nov 2008 04:03:54 -0800 (PST) Received: by 10.150.124.5 with HTTP; Sun, 16 Nov 2008 04:03:54 -0800 (PST) Message-ID: <20def4870811160403i67f9e8d6i1a52e93d1b68c5ad@mail.gmail.com> Date: Sun, 16 Nov 2008 14:03:54 +0200 From: "Yony Yossef" To: freebsd-questions@freebsd.org, freebsd-net@freebsd.org, liranl@mellanox.co.il, "Yehonatan Yossef" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: HW VLAN Filtering on FreeBSD 6.3 + 7.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2008 12:35:38 -0000 Hi All, I would like to enable my NIC HW VLAN filtering, is there any way for my driver to access the OS vlan table? (something like vlan_group_get_device on linux) I understood from previous investigation that on FreeBSD 6.3 and 7.0 there's no ioctl informing the driver of vlan addition/removal. Is that correct? Thanks, Yony