From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-gw.pt.net (smtp-gw.pt.net [206.210.194.15]) by dpdk.org (Postfix) with ESMTP id B09B14F9C for ; Mon, 19 Nov 2018 00:23:13 +0100 (CET) X-ASG-Debug-ID: 1542583392-09411a0ed675ca0001-TfluYd Received: from mail.pt.net (mail.pt.net [206.210.194.11]) by smtp-gw.pt.net with ESMTP id kj2UmS2pGi3RY3RT (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 18 Nov 2018 17:23:12 -0600 (CST) X-Barracuda-Envelope-From: mit@perftech.com X-Barracuda-Effective-Source-IP: mail.pt.net[206.210.194.11] X-Barracuda-Apparent-Source-IP: 206.210.194.11 Received: from localhost (localhost [IPv6:::1]) by mail.pt.net (Postfix) with ESMTP id 6A03F841DAB; Sun, 18 Nov 2018 17:23:12 -0600 (CST) Received: from mail.pt.net ([IPv6:::1]) by localhost (mail.pt.net [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id p-4Ajm0xMmbg; Sun, 18 Nov 2018 17:23:12 -0600 (CST) Received: from localhost (localhost [IPv6:::1]) by mail.pt.net (Postfix) with ESMTP id 1F25A842429; Sun, 18 Nov 2018 17:23:12 -0600 (CST) X-Virus-Scanned: amavisd-new at pt.net Received: from mail.pt.net ([IPv6:::1]) by localhost (mail.pt.net [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id yb4baCKaYWLU; Sun, 18 Nov 2018 17:23:12 -0600 (CST) Received: from mail.pt.net (mail.pt.net [206.210.194.11]) by mail.pt.net (Postfix) with ESMTP id D6CE4841DAB; Sun, 18 Nov 2018 17:23:11 -0600 (CST) Date: Sun, 18 Nov 2018 17:23:11 -0600 (CST) From: Mit Matelske To: Thomas Monjalon Cc: dev , stephen@networkplumber.org, shahafs@mellanox.com, Yongseok Koh Message-ID: <164311280.707048.1542583391811.JavaMail.zimbra@perftech.com> In-Reply-To: <4060784.NMgGY7Cv01@xps> References: <1203238912.103536.1542300483728.JavaMail.zimbra@perftech.com> <4060784.NMgGY7Cv01@xps> MIME-Version: 1.0 X-ASG-Orig-Subj: Re: [dpdk-dev] mlx5 under FreeBSD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Mailer: Zimbra 8.8.10_GA_3713 (ZimbraWebClient - GC70 (Win)/8.8.10_GA_3041) Thread-Topic: mlx5 under FreeBSD Thread-Index: 9NoyAkAIVwZs1pcfhE+/JUoQDRQE/Q== X-Barracuda-Connect: mail.pt.net[206.210.194.11] X-Barracuda-Start-Time: 1542583392 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://smtp-gw.pt.net:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at pt.net X-Barracuda-Scan-Msg-Size: 1113 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.62003 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Subject: Re: [dpdk-dev] mlx5 under FreeBSD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2018 23:23:14 -0000 > 15/11/2018 17:48, Mit Matelske: >> Is anyone working to include support for the mlx5 PMD under FreeBSD? > > I think Stephen (Cc) looked at it. > >> I've started down this road by building Linux compatibility layers for the >> required Netlink and Ethtool calls in the driver, but would gladly accept help >> and advice from those much more knowledgeable then myself! > > Cc also mlx5 maintainers. Thomas- Thanks for looping the correct people in! > >> Though not important, why did Mellanox build a PMD that relied on the kernel >> driver being in place unlike most other PMDs? > > Because it allows to choose which flows go to DPDK and which ones > are processed by the kernel. > Actually, you should ask why other PMDs don't have this feature ;) Very fair response. We actually wrote our own "shim" into the stack for all the relevant drivers we use to both keep the existing ifnet interfaces around and to pass packets to and from the stack from every interface. Your comment matches one of my co-worker's when I explained to him how the mlx5 driver works. Mit