MCPcopy Create free account
hub / github.com/F-Stack/f-stack / enable_rx

Function enable_rx

dpdk/drivers/net/cxgbe/cxgbe_main.c:1936–1943  ·  view source on GitHub ↗

* Enable NAPI scheduling and interrupt generation for all Rx queues. */

Source from the content-addressed store, hash-verified

1934 * Enable NAPI scheduling and interrupt generation for all Rx queues.
1935 */
1936static 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
1945void cxgbe_enable_rx_queues(struct port_info *pi)
1946{

Callers 2

cxgbe_enable_rx_queuesFunction · 0.85
cxgbe_upFunction · 0.85

Calls 2

t4_write_regFunction · 0.85
is_pf4Function · 0.85

Tested by

no test coverage detected