cxgbe/tom: Provide the hardware tid in tcp_info.
Submitted by: marius@
This commit is contained in:
parent
a91193512d
commit
d9db754f8a
@ -438,6 +438,8 @@ t4_tcp_info(struct toedev *tod, struct tcpcb *tp, struct tcp_info *ti)
|
|||||||
INP_WLOCK_ASSERT(tp->t_inpcb);
|
INP_WLOCK_ASSERT(tp->t_inpcb);
|
||||||
MPASS(ti != NULL);
|
MPASS(ti != NULL);
|
||||||
|
|
||||||
|
ti->tcpi_toe_tid = toep->tid;
|
||||||
|
|
||||||
addr = t4_read_reg(sc, A_TP_CMM_TCB_BASE) + toep->tid * TCB_SIZE;
|
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);
|
rc = read_via_memwin(sc, 2, addr, &buf[0], TCB_SIZE);
|
||||||
if (rc != 0)
|
if (rc != 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user