mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-01 08:27:59 +00:00
Change the quantum for TLS key addresses to 32 bytes.
The addresses passed when reading and writing keys are always shifted right by 5 as the memory locations are addressed in 32-byte chunks, so the quantum needs to be 32, not 8. MFC after: 1 month Sponsored by: Chelsio Communications
This commit is contained in:
parent
aeb7a84ee1
commit
2939ecd3ce
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=340468
@ -1155,7 +1155,7 @@ t4_attach(device_t dev)
|
||||
#endif
|
||||
if (sc->vres.key.size != 0)
|
||||
sc->key_map = vmem_create("T4TLS key map", sc->vres.key.start,
|
||||
sc->vres.key.size, 8, 0, M_FIRSTFIT | M_WAITOK);
|
||||
sc->vres.key.size, 32, 0, M_FIRSTFIT | M_WAITOK);
|
||||
|
||||
/*
|
||||
* Second pass over the ports. This time we know the number of rx and
|
||||
|
Loading…
Reference in New Issue
Block a user