cxgbe/tom: Provide the hardware tid in tcp_info.
Submitted by: marius@
This commit is contained in:
parent
d530fd484b
commit
7576fe761e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=338119
@ -438,6 +438,8 @@ t4_tcp_info(struct toedev *tod, struct tcpcb *tp, struct tcp_info *ti)
|
||||
INP_WLOCK_ASSERT(tp->t_inpcb);
|
||||
MPASS(ti != NULL);
|
||||
|
||||
ti->tcpi_toe_tid = toep->tid;
|
||||
|
||||
addr = t4_read_reg(sc, A_TP_CMM_TCB_BASE) + toep->tid * TCB_SIZE;
|
||||
rc = read_via_memwin(sc, 2, addr, &buf[0], TCB_SIZE);
|
||||
if (rc != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user