commit | 393415203f5c916b5907e0a7c89f4c2c5a9c5505 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Wed Jun 17 20:53:21 2020 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 18 20:46:23 2020 -0700 |
tree | 134f85f9831e36acdf2d6679ffac128dd364c241 | |
parent | 1b055409006195fd076a29ad5ee15f661bdd580b [diff] |
octeontx2-af: change (struct qmem)->entry_sz from u8 to u16 We need to increase TSO_HEADER_SIZE from 128 to 256. Since otx2_sq_init() calls qmem_alloc() with TSO_HEADER_SIZE, we need to change (struct qmem)->entry_sz to avoid truncation to 0. Fixes: 7a37245ef23f ("octeontx2-af: NPA block admin queue init") Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Sunil Goutham <sgoutham@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>