Lines Matching refs:rx_eq
250 struct be_eq_obj *rx_eq = &adapter->rx_eq; in be_rx_eqd_update() local
254 if (((jiffies - stats->rx_fps_jiffies) < HZ) || rx_eq->enable_aic == 0) in be_rx_eqd_update()
264 if (eqd > rx_eq->max_eqd) in be_rx_eqd_update()
265 eqd = rx_eq->max_eqd; in be_rx_eqd_update()
266 if (eqd < rx_eq->min_eqd) in be_rx_eqd_update()
267 eqd = rx_eq->min_eqd; in be_rx_eqd_update()
270 if (eqd != rx_eq->cur_eqd) in be_rx_eqd_update()
271 be_cmd_modify_eqd(ctrl, rx_eq->q.id, eqd); in be_rx_eqd_update()
273 rx_eq->cur_eqd = eqd; in be_rx_eqd_update()
501 struct be_eq_obj *rx_eq = &adapter->rx_eq; in be_vlan_register() local
505 be_eq_notify(ctrl, rx_eq->q.id, false, false, 0); in be_vlan_register()
508 be_eq_notify(ctrl, rx_eq->q.id, true, false, 0); in be_vlan_register()
1072 q = &adapter->rx_eq.q; in be_rx_queues_destroy()
1085 adapter->rx_eq.max_eqd = BE_MAX_EQD; in be_rx_queues_create()
1086 adapter->rx_eq.min_eqd = 0; in be_rx_queues_create()
1087 adapter->rx_eq.cur_eqd = 0; in be_rx_queues_create()
1088 adapter->rx_eq.enable_aic = true; in be_rx_queues_create()
1091 eq = &adapter->rx_eq.q; in be_rx_queues_create()
1098 rc = be_cmd_eq_create(&adapter->ctrl, eq, adapter->rx_eq.cur_eqd); in be_rx_queues_create()
1177 rx = event_handle(ctrl, &adapter->rx_eq); in be_intx()
1189 event_handle(&adapter->ctrl, &adapter->rx_eq); in be_msix_rx()
1218 struct be_eq_obj *rx_eq = container_of(napi, struct be_eq_obj, napi); in be_poll_rx() local
1220 container_of(rx_eq, struct be_adapter, rx_eq); in be_poll_rx()
1340 struct be_eq_obj *rx_eq = &adapter->rx_eq; in be_msix_register() local
1349 sprintf(rx_eq->desc, "%s-rx", netdev->name); in be_msix_register()
1350 vec = be_msix_vec_get(adapter, rx_eq->q.id); in be_msix_register()
1351 status = request_irq(vec, be_msix_rx, 0, rx_eq->desc, adapter); in be_msix_register()
1408 vec = be_msix_vec_get(adapter, adapter->rx_eq.q.id); in be_irq_unregister()
1419 struct be_eq_obj *rx_eq = &adapter->rx_eq; in be_open() local
1450 napi_enable(&rx_eq->napi); in be_open()
1458 be_eq_notify(ctrl, rx_eq->q.id, true, false, 0); in be_open()
1482 struct be_eq_obj *rx_eq = &adapter->rx_eq; in be_close() local
1497 vec = be_msix_vec_get(adapter, rx_eq->q.id); in be_close()
1504 napi_disable(&rx_eq->napi); in be_close()
1595 netif_napi_add(netdev, &adapter->rx_eq.napi, be_poll_rx, in be_netdev_init()