diff options
author | Navdeep Parhar <np@FreeBSD.org> | 2018-04-30 21:47:30 +0000 |
---|---|---|
committer | Navdeep Parhar <np@FreeBSD.org> | 2018-04-30 21:47:30 +0000 |
commit | 111638bf6896d5100ace4d14c1ff45eaaec164d0 (patch) | |
tree | 21ca6b468b5c388592003099a36be4ef1a44d17a /sys/dev/cxgbe/offload.h | |
parent | c6c70c074633569447be4bfd2b694a1c294015bd (diff) |
cxgbe(4): Convert ACT_OPEN_RPL to a shared CPL.
Reserve 3b in the 14b atid to identify the owner and use it to dispatch
the CPL. This allows all CPLs that use an atid to be used as shared
CPLs, although ACT_OPEN_RPL is the only one being converted in this
revision.
Sponsored by: Chelsio Communications
Notes
Notes:
svn path=/head/; revision=333128
Diffstat (limited to 'sys/dev/cxgbe/offload.h')
-rw-r--r-- | sys/dev/cxgbe/offload.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/cxgbe/offload.h b/sys/dev/cxgbe/offload.h index cd27d7de6e24..15981910c644 100644 --- a/sys/dev/cxgbe/offload.h +++ b/sys/dev/cxgbe/offload.h @@ -66,9 +66,10 @@ struct stid_region { }; /* - * Max # of ATIDs. The absolute HW max is 16K but we keep it lower. + * Max # of ATIDs. The absolute HW max is 14b (enough for 16K) but we reserve + * the upper 3b for use as a cookie to demux the reply. */ -#define MAX_ATIDS 8192U +#define MAX_ATIDS 2048U union aopen_entry { void *data; |