From owner-freebsd-hackers@freebsd.org Mon Oct 26 20:31:30 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 4D1C544DC51 for ; Mon, 26 Oct 2020 20:31:30 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-ot1-f45.google.com (mail-ot1-f45.google.com [209.85.210.45]) (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 4CKmhK2tdxz3SyT; Mon, 26 Oct 2020 20:31:29 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-ot1-f45.google.com with SMTP id h62so9199800oth.9; Mon, 26 Oct 2020 13:31:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CbSRognDCMRwq/e7e1cgX+kLvj/QrgHefSIZYsJoKyQ=; b=CMx/19jRKYo7Hmn5gdlA1Wr5T5iMooGz2VaCmh02MkITTuL8tJI4qg9gymMo5IlsDp UQJ8AmAghRLWG8/kVgh0SpUTJb6E7dYI/kciAxk2srsYhNaeLbQ63PbNzPqV9ZFbHQWg Hs9n5oj+FbfMSZBFG37/LvG/YWTjrgrBD+D76Cfn4JclvHHWGUTjdrQMd2E5XbbJdTcn Zy442ebU5fTbqfeHbtVbh+sI70WNg7x0l+ej2FHJ9+kA5Pg1TWfmVw6upzLcKWEWTqhZ qWDPJjXNiWGGIgK3KNMdYlwMsFgXmXV0hK6s2AnyNBxpdbsnh3xmJSC2lwg6OtABz20g 5yuw== X-Gm-Message-State: AOAM530ebk27hGNeAeXKQ6Xv4M3/zz0A1SrRJf4+k48jSTt2uhXuswk/ UsKLYEOamJCbXxh6PC+Gl4wOpWsMrnlC+SFQ6BkT/0Mb+qE= X-Google-Smtp-Source: ABdhPJxAO1CYpV0N4+yNrLJD6HGbwLdN2iuP5bY0AnLT7OTaen95Q9Z3QsElysvJ4NUji/BJinDzGfRnsyb7c5NqfIQ= X-Received: by 2002:a9d:4b06:: with SMTP id q6mr9344682otf.18.1603744287799; Mon, 26 Oct 2020 13:31:27 -0700 (PDT) MIME-Version: 1.0 References: <20201026200059.GA66299@raichu> In-Reply-To: <20201026200059.GA66299@raichu> From: Alan Somers Date: Mon, 26 Oct 2020 14:31:16 -0600 Message-ID: Subject: Re: QAT driver To: Mark Johnston Cc: "freebsd-hackers@freebsd.org" X-Rspamd-Queue-Id: 4CKmhK2tdxz3SyT X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of asomers@gmail.com designates 209.85.210.45 as permitted sender) smtp.mailfrom=asomers@gmail.com X-Spamd-Result: default: False [-1.56 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FREEFALL_USER(0.00)[asomers]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-0.99)[-0.990]; RWL_MAILSPIKE_GOOD(0.00)[209.85.210.45:from]; RCVD_TLS_ALL(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.992]; NEURAL_SPAM_SHORT(0.42)[0.420]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[209.85.210.45:from]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; MAILMAN_DEST(0.00)[freebsd-hackers] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 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 20:31:30 -0000 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. -Alan