* Enable NAPI scheduling and interrupt generation for all Rx queues. */
| 1934 | * Enable NAPI scheduling and interrupt generation for all Rx queues. |
| 1935 | */ |
| 1936 | static void enable_rx(struct adapter *adap, struct sge_rspq *q) |
| 1937 | { |
| 1938 | /* 0-increment GTS to start the timer and enable interrupts */ |
| 1939 | t4_write_reg(adap, is_pf4(adap) ? MYPF_REG(A_SGE_PF_GTS) : |
| 1940 | T4VF_SGE_BASE_ADDR + A_SGE_VF_GTS, |
| 1941 | V_SEINTARM(q->intr_params) | |
| 1942 | V_INGRESSQID(q->cntxt_id)); |
| 1943 | } |
| 1944 | |
| 1945 | void cxgbe_enable_rx_queues(struct port_info *pi) |
| 1946 | { |
no test coverage detected