From owner-freebsd-hackers@freebsd.org Tue Oct 27 03:00:19 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 3F46D439A25 for ; Tue, 27 Oct 2020 03:00:19 +0000 (UTC) (envelope-from neel@neelc.org) Received: from rainpuddle.neelc.org (rainpuddle.neelc.org [66.42.69.219]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CKxJy2rGcz48lX; Tue, 27 Oct 2020 03:00:18 +0000 (UTC) (envelope-from neel@neelc.org) Received: from mail.neelc.org (rainpuddle.neelc.org [IPv6:2001:19f0:8001:fed:5400:2ff:fe73:c622]) by rainpuddle.neelc.org (Postfix) with ESMTPSA id 125C9EB2C0; Mon, 26 Oct 2020 20:00:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=neelc.org; s=mail; t=1603767610; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vGE4U/yVWli+GetVGp/HbrQJUAPHFtR32ggpjVAM9h4=; b=WP/QXmY0MjDz4VNTacvmjMPqMzLyt/3r9oRcL0aFDhHG9CNdKxQXWzRCD6nxb+PHmYAmr7 eFE/0qtp59tSP8K9iXQR7oWw6BCs0WhN0U9z7FewvlbLVIe0vfP/TafW5nWnK5RLs8e9SL kQk1+qgN6ROmSgNLfcKUq1CCtVgvYBp2gtfHiVRTJ/4UmUrUgAO0fW3tlfZAe4xWTt0jC1 pJnbcdAetYjl91JCz4I13UZA+SJajT/pwI1hDC6OAeaMGASoKm5EqY/G4frBLT73RiXLaM p18jUY8EXMYmG0q/m+if3TsoPsSCWMe4XOOTfqX/Rw2F2VCBssgLMbMcUQMJXg== MIME-Version: 1.0 Date: Mon, 26 Oct 2020 20:00:08 -0700 From: Neel Chauhan To: Mark Johnston Cc: freebsd-hackers@freebsd.org Subject: Re: QAT driver In-Reply-To: <20201026200059.GA66299@raichu> References: <20201026200059.GA66299@raichu> User-Agent: Roundcube Webmail/1.4.6 Message-ID: <723fbd7326df42ce30cd5e361db9c736@neelc.org> X-Sender: neel@neelc.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4CKxJy2rGcz48lX X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=neelc.org header.s=mail header.b=WP/QXmY0; dmarc=pass (policy=none) header.from=neelc.org; spf=pass (mx1.freebsd.org: domain of neel@neelc.org designates 66.42.69.219 as permitted sender) smtp.mailfrom=neel@neelc.org X-Spamd-Result: default: False [-3.53 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[neelc.org:s=mail]; FREEFALL_USER(0.00)[neel]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_HAM_LONG(-1.01)[-1.012]; NEURAL_HAM_MEDIUM(-1.04)[-1.041]; DKIM_TRACE(0.00)[neelc.org:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[neelc.org,none]; NEURAL_HAM_SHORT(-0.48)[-0.477]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:20473, ipnet:66.42.64.0/20, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers]; RCVD_COUNT_TWO(0.00)[2] 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: Tue, 27 Oct 2020 03:00:19 -0000 Hi, This is great news for me with my home HPE ML110 G10/Xeon 4108 server. However, I will not be able to test this patch unless it can get backported to 12.1 or 12.2 once it's out, and I don't expect backporting to happen. I have one question about this: will I be able to use this to accelerate OpenSSL? Is additional code needed? I use the mentioned HPE server for Tor and Tor is very crypto-heavy (yet singlethreaded). I believe the official Intel drivers allow OpenSSL acceleration, but I'd prefer to avoid out-of-band drivers whether possible (ports/src is fine). -Neel === https://www.neelc.org/ On 2020-10-26 13:00, 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 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org"