Searched refs:recv_ctx (Results 1 – 12 of 12) sorted by relevance
219 struct netxen_recv_context *recv_ctx = &adapter->recv_ctx; in nx_fw_cmd_set_mtu() local224 cmd.req.arg1 = recv_ctx->context_id; in nx_fw_cmd_set_mtu()228 if (recv_ctx->state == NX_HOST_CTX_STATE_ACTIVE) in nx_fw_cmd_set_mtu()274 struct netxen_recv_context *recv_ctx = &adapter->recv_ctx; in nx_fw_cmd_create_rx_ctx() local325 rds_ring = &recv_ctx->rds_rings[i]; in nx_fw_cmd_create_rx_ctx()338 sds_ring = &recv_ctx->sds_rings[i]; in nx_fw_cmd_create_rx_ctx()363 rds_ring = &recv_ctx->rds_rings[i]; in nx_fw_cmd_create_rx_ctx()374 sds_ring = &recv_ctx->sds_rings[i]; in nx_fw_cmd_create_rx_ctx()385 recv_ctx->state = le32_to_cpu(prsp->host_ctx_state); in nx_fw_cmd_create_rx_ctx()386 recv_ctx->context_id = le16_to_cpu(prsp->context_id); in nx_fw_cmd_create_rx_ctx()[all …]
93 struct netxen_recv_context *recv_ctx; in netxen_release_rx_buffers() local98 recv_ctx = &adapter->recv_ctx; in netxen_release_rx_buffers()100 rds_ring = &recv_ctx->rds_rings[ring]; in netxen_release_rx_buffers()151 struct netxen_recv_context *recv_ctx; in netxen_free_sw_resources() local156 recv_ctx = &adapter->recv_ctx; in netxen_free_sw_resources()158 if (recv_ctx->rds_rings == NULL) in netxen_free_sw_resources()162 rds_ring = &recv_ctx->rds_rings[ring]; in netxen_free_sw_resources()166 kfree(recv_ctx->rds_rings); in netxen_free_sw_resources()180 struct netxen_recv_context *recv_ctx; in netxen_alloc_sw_resources() local205 recv_ctx = &adapter->recv_ctx; in netxen_alloc_sw_resources()[all …]
148 netxen_alloc_sds_rings(struct netxen_recv_context *recv_ctx, int count) in netxen_alloc_sds_rings() argument152 recv_ctx->sds_rings = kzalloc(size, GFP_KERNEL); in netxen_alloc_sds_rings()154 return recv_ctx->sds_rings == NULL; in netxen_alloc_sds_rings()158 netxen_free_sds_rings(struct netxen_recv_context *recv_ctx) in netxen_free_sds_rings() argument160 kfree(recv_ctx->sds_rings); in netxen_free_sds_rings()161 recv_ctx->sds_rings = NULL; in netxen_free_sds_rings()169 struct netxen_recv_context *recv_ctx = &adapter->recv_ctx; in netxen_napi_add() local171 if (netxen_alloc_sds_rings(recv_ctx, adapter->max_sds_rings)) in netxen_napi_add()175 sds_ring = &recv_ctx->sds_rings[ring]; in netxen_napi_add()188 struct netxen_recv_context *recv_ctx = &adapter->recv_ctx; in netxen_napi_del() local[all …]
287 struct netxen_recv_context *recv_ctx = &adapter->recv_ctx; in netxen_nic_get_regs() local340 recv_ctx->rds_rings[0].crb_rcv_producer); in netxen_nic_get_regs()342 recv_ctx->rds_rings[1].crb_rcv_producer); in netxen_nic_get_regs()347 sds_ring = &(recv_ctx->sds_rings[ring]); in netxen_nic_get_regs()
1640 struct netxen_recv_context recv_ctx; member
1199 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_process_rcv() local1209 rds_ring = &recv_ctx->rds_rings[ring]; in qlcnic_process_rcv()1266 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_process_lro() local1281 rds_ring = &recv_ctx->rds_rings[ring]; in qlcnic_process_lro()1413 rds_ring = &adapter->recv_ctx->rds_rings[ring]; in qlcnic_process_rcv_ring()1494 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_process_rcv_diag() local1502 rds_ring = &recv_ctx->rds_rings[ring]; in qlcnic_process_rcv_diag()1578 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_82xx_napi_add() local1581 if (qlcnic_alloc_sds_rings(recv_ctx, adapter->drv_sds_rings)) in qlcnic_82xx_napi_add()1585 sds_ring = &recv_ctx->sds_rings[ring]; in qlcnic_82xx_napi_add()[all …]
214 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_fw_cmd_set_mtu() local216 if (recv_ctx->state != QLCNIC_HOST_CTX_STATE_ACTIVE) in qlcnic_fw_cmd_set_mtu()222 cmd.req.arg[1] = recv_ctx->context_id; in qlcnic_fw_cmd_set_mtu()236 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_82xx_fw_cmd_create_rx_ctx() local313 rds_ring = &recv_ctx->rds_rings[i]; in qlcnic_82xx_fw_cmd_create_rx_ctx()325 sds_ring = &recv_ctx->sds_rings[i]; in qlcnic_82xx_fw_cmd_create_rx_ctx()356 rds_ring = &recv_ctx->rds_rings[i]; in qlcnic_82xx_fw_cmd_create_rx_ctx()365 sds_ring = &recv_ctx->sds_rings[i]; in qlcnic_82xx_fw_cmd_create_rx_ctx()376 recv_ctx->state = le32_to_cpu(prsp->host_ctx_state); in qlcnic_82xx_fw_cmd_create_rx_ctx()377 recv_ctx->context_id = le16_to_cpu(prsp->context_id); in qlcnic_82xx_fw_cmd_create_rx_ctx()[all …]
85 struct qlcnic_recv_context *recv_ctx; in qlcnic_release_rx_buffers() local90 recv_ctx = adapter->recv_ctx; in qlcnic_release_rx_buffers()92 rds_ring = &recv_ctx->rds_rings[ring]; in qlcnic_release_rx_buffers()110 struct qlcnic_recv_context *recv_ctx; in qlcnic_reset_rx_buffers_list() local115 recv_ctx = adapter->recv_ctx; in qlcnic_reset_rx_buffers_list()117 rds_ring = &recv_ctx->rds_rings[ring]; in qlcnic_reset_rx_buffers_list()168 struct qlcnic_recv_context *recv_ctx; in qlcnic_free_sw_resources() local172 recv_ctx = adapter->recv_ctx; in qlcnic_free_sw_resources()174 if (recv_ctx->rds_rings == NULL) in qlcnic_free_sw_resources()178 rds_ring = &recv_ctx->rds_rings[ring]; in qlcnic_free_sw_resources()[all …]
545 sds_ring = &adapter->recv_ctx->sds_rings[0]; in qlcnic_83xx_intr()1076 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_83xx_add_rings() local1080 context_id = recv_ctx->context_id; in qlcnic_83xx_add_rings()1090 sds = &recv_ctx->sds_rings[i]; in qlcnic_83xx_add_rings()1124 sds = &recv_ctx->sds_rings[i]; in qlcnic_83xx_add_rings()1145 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_83xx_del_rx_ctx() local1156 cmd.req.arg[1] = recv_ctx->context_id | temp; in qlcnic_83xx_del_rx_ctx()1162 recv_ctx->state = QLCNIC_HOST_CTX_STATE_FREED; in qlcnic_83xx_del_rx_ctx()1177 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_83xx_create_rx_ctx() local1213 sds = &recv_ctx->sds_rings[i]; in qlcnic_83xx_create_rx_ctx()[all …]
281 int qlcnic_alloc_sds_rings(struct qlcnic_recv_context *recv_ctx, int count) in qlcnic_alloc_sds_rings() argument285 recv_ctx->sds_rings = kzalloc(size, GFP_KERNEL); in qlcnic_alloc_sds_rings()287 return recv_ctx->sds_rings == NULL; in qlcnic_alloc_sds_rings()290 void qlcnic_free_sds_rings(struct qlcnic_recv_context *recv_ctx) in qlcnic_free_sds_rings() argument292 kfree(recv_ctx->sds_rings); in qlcnic_free_sds_rings()293 recv_ctx->sds_rings = NULL; in qlcnic_free_sds_rings()1728 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_request_irq() local1759 sds_ring = &recv_ctx->sds_rings[ring]; in qlcnic_request_irq()1813 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_free_irq() local1820 sds_ring = &recv_ctx->sds_rings[ring]; in qlcnic_free_irq()[all …]
533 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_get_regs() local577 rds_rings = &recv_ctx->rds_rings[ring]; in qlcnic_get_regs()584 sds_ring = &(recv_ctx->sds_rings[ring]); in qlcnic_get_regs()1044 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_do_lb_test() local1045 struct qlcnic_host_sds_ring *sds_ring = &recv_ctx->sds_rings[0]; in qlcnic_do_lb_test()1120 sds_ring = &adapter->recv_ctx->sds_rings[0]; in qlcnic_loopback_test()
1107 struct qlcnic_recv_context *recv_ctx; member