From owner-freebsd-net@FreeBSD.ORG Fri Jan 2 15:59:02 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 67699CBB; Fri, 2 Jan 2015 15:59:02 +0000 (UTC) Received: from forward-corp1f.mail.yandex.net (forward-corp1f.mail.yandex.net [IPv6:2a02:6b8:0:801::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 157D813A7; Fri, 2 Jan 2015 15:59:01 +0000 (UTC) Received: from smtpcorp1m.mail.yandex.net (smtpcorp1m.mail.yandex.net [77.88.61.150]) by forward-corp1f.mail.yandex.net (Yandex) with ESMTP id AA636242029C; Fri, 2 Jan 2015 18:58:49 +0300 (MSK) Received: from smtpcorp1m.mail.yandex.net (localhost [127.0.0.1]) by smtpcorp1m.mail.yandex.net (Yandex) with ESMTP id 6CE452CA03DC; Fri, 2 Jan 2015 18:58:49 +0300 (MSK) Received: from unknown (unknown [2a02:6b8:0:401:222:4dff:fe50:cd2f]) by smtpcorp1m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id tWK2hDgay6-wnl0L1AL; Fri, 2 Jan 2015 18:58:49 +0300 (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex-team.ru; s=default; t=1420214329; bh=g6MIVApD2dZCRAcj5TxNrANMDiH1ApDOZHQTqZVTnb4=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: Content-Type:Content-Transfer-Encoding; b=BKdsut6/mJmn8MY3W4HFXNOBpSVBO1smX4KcAxiq0kVinDISLSMZhBgYUca2xl9Hf PTwswJicun/CxlIW+HdrVq9o59BPvggoeQdmnugEQgG2NpmHrJULYFT77VABZlnBNy AWEloi5G9rGEzgb8OtPyEcn08b1WnQp2On7yCpUw= Authentication-Results: smtpcorp1m.mail.yandex.net; dkim=pass header.i=@yandex-team.ru Message-ID: <54A6BFFE.5080103@yandex-team.ru> Date: Fri, 02 Jan 2015 18:57:50 +0300 From: "Alexander V. Chernikov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: "freebsd-net@freebsd.org" Subject: cxgbe and netmap Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Navdeep Parhar X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jan 2015 15:59:02 -0000 Hello list! FreeBSD has netmap support for chelsio T5 cards, which is amazing. The great thing about implementation is that you can play with traffic-generating applications without affecting "main" OS interface, which has always been a problem for Intel cards. However, this approach (having additional netmap-only ifp) turns to be a bit problematic for netmap-based networking elements participating in routing. In Intel case you can configure all your interfaces, run routing daemon, run netmap application and punt all to-host traffic to kernel via host pipes. It looks like I can't do this using current implementation: mac addresses are different for main/netmap interfaces so I can't run routing daemon on main interface (or sub-interfaces). I also can't run routing daemon on top of ncxgbe* interface since it appears to ignore non-netmap-derived traffic.. Is it possible to make ncxgbe* interfaces behave more like ordinary ones?