net/smc: periodic testlink support
Add periodic LLC testlink support to ensure the link is still active. The interval time is initialized using the value of sysctl_tcp_keepalive_time. Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Esse commit está contido em:
@@ -376,6 +376,7 @@ static inline void smc_wr_rx_process_cqes(struct ib_wc wc[], int num)
|
||||
for (i = 0; i < num; i++) {
|
||||
link = wc[i].qp->qp_context;
|
||||
if (wc[i].status == IB_WC_SUCCESS) {
|
||||
link->wr_rx_tstamp = jiffies;
|
||||
smc_wr_rx_demultiplex(&wc[i]);
|
||||
smc_wr_rx_post(link); /* refill WR RX */
|
||||
} else {
|
||||
|
Referência em uma nova issue
Block a user