From owner-freebsd-hackers@freebsd.org Mon Oct 26 23:11:22 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E75F24516B3 for ; Mon, 26 Oct 2020 23:11:22 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CKrDp4RRZz3cgP; Mon, 26 Oct 2020 23:11:22 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-qk1-x72c.google.com with SMTP id a23so10077808qkg.13; Mon, 26 Oct 2020 16:11:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=wHuBAXH+Op0GeXe3j++hGhQp50lZJYj1ubCzk4QlK7Q=; b=ksX96MeNMzgz4IuDrOJ2+Dd99eUcP8yoQpb/HVpSgVIqEZzzPn2crTZ+T0BT4P+pag cwvEWHD+lQ2Zx3LWWs2U7ub6DCEqxF69QQp8nZO8IrTsgPJR9Kp2htL/GIVmHfPXlx6D dGqQooxRtFsVLIs3HRAjBzVR6tjRYrAraE31zXb7Szhs6BsZGOcBF5m2OcDbzzaPq5wZ 3K/dbjhbqypJCTT3vHtPATUVNNGy2Tvmgbp56BSPy7GpoadUshtgtHomH5tNwAoOcN10 rxHPD7f8/i2CCAf7x/KRzD1/hVLvpZBJtg7Ro3PckIMV/eLlRCan9ZcoWRgznNzicWO5 s3Pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=wHuBAXH+Op0GeXe3j++hGhQp50lZJYj1ubCzk4QlK7Q=; b=bi/jxISk0E3wurAPpXjznE/uEaLtvvTbaSCAF4/Z71+B/lJtDmYWWMGsFAtf3JiXlE ECJHEiJLx9f5wKPFdd1mvcUrBWAfJr6QcfZL0nmlflhtAn08BQuiLnOrQDvL7LMgbRRV fjUa3rKCkjyvRL9UBHBSBPzVj7y6ywIXU8ZURqyYEkbcZ9wOblB2gtduocdLMRyAtEiq oFAPaIj45VUI5v2Hw+0SWCriDnzdDfnMVw4lg35JT98917PjJLBrdVcw/d3vCxkaRyx7 HoL6Cn3RzuEPSSmWbEngmCjFrGOZ8GWAt2lQAocpzkF+n1KTZsDKmyxKjqNaFCKmzpK3 0kGA== X-Gm-Message-State: AOAM533rPZkv6HGIau1+NF+LeOdpAWAOcebB+bg2OKS6BCjCDuoCzzSB NdMCnd2x0XUxdGmNlpVM648UEIyGpAU= X-Google-Smtp-Source: ABdhPJzQrVufqiTCP+wBm8QhdkHGqt5SYag2M3dHHiEgKCOOmdu1YaGcgsU+WGSWlQ4ZqOSI/oapww== X-Received: by 2002:a37:c51:: with SMTP id 78mr20754674qkm.30.1603753881088; Mon, 26 Oct 2020 16:11:21 -0700 (PDT) Received: from raichu (toroon0560w-lp130-01-174-88-77-103.dsl.bell.ca. [174.88.77.103]) by smtp.gmail.com with ESMTPSA id k4sm7487293qkj.46.2020.10.26.16.11.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Oct 2020 16:11:20 -0700 (PDT) Sender: Mark Johnston Date: Mon, 26 Oct 2020 19:11:14 -0400 From: Mark Johnston To: Alan Somers Cc: "freebsd-hackers@freebsd.org" Subject: Re: QAT driver Message-ID: <20201026231114.GA35073@raichu> References: <20201026200059.GA66299@raichu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4CKrDp4RRZz3cgP X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; REPLY(-4.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Oct 2020 23:11:23 -0000 On Mon, Oct 26, 2020 at 02:31:16PM -0600, Alan Somers wrote: > On Mon, Oct 26, 2020 at 2:01 PM Mark Johnston wrote: > > > Hi, > > > > I did a port of NetBSD's qat(4) to FreeBSD for pfSense, and made some > > enhancements. This provides an opencrypto-compatible driver for Intel's > > QuickAssist devices, aimed mainly to be used with IPSec. A review is > > posted here for anyone interested in reviewing: > > https://reviews.freebsd.org/D26963 > > > > So far it's mostly been tested on an Atom C3000, where some ad-hoc > > testing with iperf3 shows ~20-30% improvements relative to aesni(4) and > > some reduction in CPU usage. I've done some functional testing on a > > Xeon system with a 8950 adapter as well. If anyone is interested in > > testing the driver, please send me email. Some firmware images not > > included in the review above are required in order to test. I plan to > > port it to stable/12 shortly. > > > > Thanks, > > -Mark > > > > Awesome! I have an Atom C2758 that I could test it on, and I would like to > test it. I just need to create a head BE first. So C2xxx is the one device where the driver isn't functional yet. :( It has its own platform code and so is the oddball among the devices supported by this driver. I just got access to a C2758 this weekend and have been debugging a firmware initialization issue, so hopefully it'll be resolved in the next couple of days, after which I'll follow up.