06b2ed7a | 02-Nov-2024 |
John Baldwin <jhb@FreeBSD.org> |
nvmf_tcp: Correct padding calculation
PDU data alignment (PDA) isn't necessarily a power of 2, just a multiple of 4, so use roundup() instead of roundup2() to compute the PDU data offset (PDO).
Spo
nvmf_tcp: Correct padding calculation
PDU data alignment (PDA) isn't necessarily a power of 2, just a multiple of 4, so use roundup() instead of roundup2() to compute the PDU data offset (PDO).
Sponsored by: Chelsio Communications
show more ...
|