svn commit: r323724 - in head/sys/dev/cxgbe: . firmware
John Baldwin
jhb at FreeBSD.org
Mon Sep 18 23:50:36 UTC 2017
Author: jhb
Date: Mon Sep 18 23:50:34 2017
New Revision: 323724
URL: https://svnweb.freebsd.org/changeset/base/323724
Log:
Enable support for lookaside crypto operations by default.
This permits ccr(4) to be used with the default firmware configuration
file.
Discussed with: np
Sponsored by: Chelsio Communications
Modified:
head/sys/dev/cxgbe/firmware/t6fw_cfg.txt
head/sys/dev/cxgbe/t4_main.c
Modified: head/sys/dev/cxgbe/firmware/t6fw_cfg.txt
==============================================================================
--- head/sys/dev/cxgbe/firmware/t6fw_cfg.txt Mon Sep 18 23:30:39 2017 (r323723)
+++ head/sys/dev/cxgbe/firmware/t6fw_cfg.txt Mon Sep 18 23:50:34 2017 (r323724)
@@ -153,6 +153,7 @@
nexactf = 456
cmask = all
pmask = all
+ ncrypto_lookaside = 16
nclip = 320
# TCAM has 6K cells; each region must start at a multiple of 128 cell.
@@ -162,7 +163,7 @@
nserver = 512
nhpfilter = 0
nhash = 16384
- protocol = ofld, rddp, rdmac, iscsi_initiator_pdu, iscsi_target_pdu, iscsi_t10dif
+ protocol = ofld, rddp, rdmac, iscsi_initiator_pdu, iscsi_target_pdu, iscsi_t10dif, crypto_lookaside
tp_l2t = 4096
tp_ddp = 2
tp_ddp_iscsi = 2
@@ -272,7 +273,7 @@
[fini]
version = 0x1
- checksum = 0xf438bb8f
+ checksum = 0x7191019f
#
# $FreeBSD$
#
Modified: head/sys/dev/cxgbe/t4_main.c
==============================================================================
--- head/sys/dev/cxgbe/t4_main.c Mon Sep 18 23:30:39 2017 (r323723)
+++ head/sys/dev/cxgbe/t4_main.c Mon Sep 18 23:50:34 2017 (r323724)
@@ -452,7 +452,7 @@ TUNABLE_INT("hw.cxgbe.toecaps_allowed", &t4_toecaps_al
static int t4_rdmacaps_allowed = -1;
TUNABLE_INT("hw.cxgbe.rdmacaps_allowed", &t4_rdmacaps_allowed);
-static int t4_cryptocaps_allowed = 0;
+static int t4_cryptocaps_allowed = -1;
TUNABLE_INT("hw.cxgbe.cryptocaps_allowed", &t4_cryptocaps_allowed);
static int t4_iscsicaps_allowed = -1;
More information about the svn-src-head
mailing list