Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 2009 15:21:23 GMT
From:      Larry Baird <lab@gta.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/138881: Hardware acceleration not working for openssl port
Message-ID:  <200909161521.n8GFLNlv032367@www.freebsd.org>
Resent-Message-ID: <200909161530.n8GFU4Yq014097@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         138881
>Category:       ports
>Synopsis:       Hardware acceleration not working for openssl port
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 16 15:30:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Larry Baird
>Release:        6,7,8,9
>Organization:
GTA, Inc.
>Environment:
FreeBSD griffin.gta.com 8.0-BETA4 FreeBSD 8.0-BETA4 #0: Mon Sep 14 07:39:19 EDT 2009     root@griffin.gta.com:/usr/src/sys/i386/compile/GRIFFIN  i386
>Description:
Code using openssl-0.9.8k_3 from ports does NOT get accelerated after a call to:
    ENGINE_setup_bsd_cryptodev()
>How-To-Repeat:

>Fix:
Problem seems to be with FreeBSD patch file /usr/ports/security/openssl/files/patch-eng_cryptodev.c.

This patch modifies the function get_dev_crypto() in the file eng_cryptodev.c to
close 'fd' open success.  Removing the close() from the FreeBSD patch allows openssl to be accelerated.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909161521.n8GFLNlv032367>