Skip to content

Commit

Permalink
Enable support for lookaside crypto operations by default.
Browse files Browse the repository at this point in the history
This permits ccr(4) to be used with the default firmware configuration
file.

Discussed with:	np
Sponsored by:	Chelsio Communications
  • Loading branch information
bsdjhb committed Sep 18, 2017
1 parent 6ae33bb commit f9238c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions sys/dev/cxgbe/firmware/t6fw_cfg.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down Expand Up @@ -272,7 +273,7 @@

[fini]
version = 0x1
checksum = 0xf438bb8f
checksum = 0x7191019f
#
# $FreeBSD$
#
2 changes: 1 addition & 1 deletion sys/dev/cxgbe/t4_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ TUNABLE_INT("hw.cxgbe.toecaps_allowed", &t4_toecaps_allowed);
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;
Expand Down

0 comments on commit f9238c5

Please sign in to comment.