Searched refs:recv_ctx (Results 1 – 12 of 12) sorted by relevance
220 struct netxen_recv_context *recv_ctx = &adapter->recv_ctx; in nx_fw_cmd_set_mtu() local225 cmd.req.arg1 = recv_ctx->context_id; in nx_fw_cmd_set_mtu()229 if (recv_ctx->state == NX_HOST_CTX_STATE_ACTIVE) in nx_fw_cmd_set_mtu()275 struct netxen_recv_context *recv_ctx = &adapter->recv_ctx; in nx_fw_cmd_create_rx_ctx() local326 rds_ring = &recv_ctx->rds_rings[i]; in nx_fw_cmd_create_rx_ctx()339 sds_ring = &recv_ctx->sds_rings[i]; in nx_fw_cmd_create_rx_ctx()364 rds_ring = &recv_ctx->rds_rings[i]; in nx_fw_cmd_create_rx_ctx()375 sds_ring = &recv_ctx->sds_rings[i]; in nx_fw_cmd_create_rx_ctx()386 recv_ctx->state = le32_to_cpu(prsp->host_ctx_state); in nx_fw_cmd_create_rx_ctx()387 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()149 struct netxen_recv_context *recv_ctx; in netxen_free_sw_resources() local154 recv_ctx = &adapter->recv_ctx; in netxen_free_sw_resources()156 if (recv_ctx->rds_rings == NULL) in netxen_free_sw_resources()160 rds_ring = &recv_ctx->rds_rings[ring]; in netxen_free_sw_resources()164 kfree(recv_ctx->rds_rings); in netxen_free_sw_resources()178 struct netxen_recv_context *recv_ctx; in netxen_alloc_sw_resources() local203 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()187 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()
1637 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()1414 rds_ring = &adapter->recv_ctx->rds_rings[ring]; in qlcnic_process_rcv_ring()1495 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_process_rcv_diag() local1503 rds_ring = &recv_ctx->rds_rings[ring]; in qlcnic_process_rcv_diag()1579 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_82xx_napi_add() local1582 if (qlcnic_alloc_sds_rings(recv_ctx, adapter->drv_sds_rings)) in qlcnic_82xx_napi_add()1586 sds_ring = &recv_ctx->sds_rings[ring]; in qlcnic_82xx_napi_add()[all …]
213 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_fw_cmd_set_mtu() local215 if (recv_ctx->state != QLCNIC_HOST_CTX_STATE_ACTIVE) in qlcnic_fw_cmd_set_mtu()221 cmd.req.arg[1] = recv_ctx->context_id; in qlcnic_fw_cmd_set_mtu()235 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_82xx_fw_cmd_create_rx_ctx() local312 rds_ring = &recv_ctx->rds_rings[i]; in qlcnic_82xx_fw_cmd_create_rx_ctx()324 sds_ring = &recv_ctx->sds_rings[i]; in qlcnic_82xx_fw_cmd_create_rx_ctx()355 rds_ring = &recv_ctx->rds_rings[i]; in qlcnic_82xx_fw_cmd_create_rx_ctx()364 sds_ring = &recv_ctx->sds_rings[i]; in qlcnic_82xx_fw_cmd_create_rx_ctx()375 recv_ctx->state = le32_to_cpu(prsp->host_ctx_state); in qlcnic_82xx_fw_cmd_create_rx_ctx()376 recv_ctx->context_id = le16_to_cpu(prsp->context_id); in qlcnic_82xx_fw_cmd_create_rx_ctx()[all …]
84 struct qlcnic_recv_context *recv_ctx; in qlcnic_release_rx_buffers() local89 recv_ctx = adapter->recv_ctx; in qlcnic_release_rx_buffers()91 rds_ring = &recv_ctx->rds_rings[ring]; in qlcnic_release_rx_buffers()107 struct qlcnic_recv_context *recv_ctx; in qlcnic_reset_rx_buffers_list() local112 recv_ctx = adapter->recv_ctx; in qlcnic_reset_rx_buffers_list()114 rds_ring = &recv_ctx->rds_rings[ring]; in qlcnic_reset_rx_buffers_list()165 struct qlcnic_recv_context *recv_ctx; in qlcnic_free_sw_resources() local169 recv_ctx = adapter->recv_ctx; in qlcnic_free_sw_resources()171 if (recv_ctx->rds_rings == NULL) in qlcnic_free_sw_resources()175 rds_ring = &recv_ctx->rds_rings[ring]; in qlcnic_free_sw_resources()[all …]
544 sds_ring = &adapter->recv_ctx->sds_rings[0]; in qlcnic_83xx_intr()1074 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_83xx_add_rings() local1078 context_id = recv_ctx->context_id; in qlcnic_83xx_add_rings()1094 sds = &recv_ctx->sds_rings[i]; in qlcnic_83xx_add_rings()1128 sds = &recv_ctx->sds_rings[i]; in qlcnic_83xx_add_rings()1149 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_83xx_del_rx_ctx() local1160 cmd.req.arg[1] = recv_ctx->context_id | temp; in qlcnic_83xx_del_rx_ctx()1166 recv_ctx->state = QLCNIC_HOST_CTX_STATE_FREED; in qlcnic_83xx_del_rx_ctx()1181 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_83xx_create_rx_ctx() local1217 sds = &recv_ctx->sds_rings[i]; in qlcnic_83xx_create_rx_ctx()[all …]
280 int qlcnic_alloc_sds_rings(struct qlcnic_recv_context *recv_ctx, int count) in qlcnic_alloc_sds_rings() argument284 recv_ctx->sds_rings = kzalloc(size, GFP_KERNEL); in qlcnic_alloc_sds_rings()286 return recv_ctx->sds_rings == NULL; in qlcnic_alloc_sds_rings()289 void qlcnic_free_sds_rings(struct qlcnic_recv_context *recv_ctx) in qlcnic_free_sds_rings() argument291 kfree(recv_ctx->sds_rings); in qlcnic_free_sds_rings()292 recv_ctx->sds_rings = NULL; in qlcnic_free_sds_rings()1705 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_request_irq() local1736 sds_ring = &recv_ctx->sds_rings[ring]; in qlcnic_request_irq()1790 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_free_irq() local1797 sds_ring = &recv_ctx->sds_rings[ring]; in qlcnic_free_irq()[all …]
532 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_get_regs() local576 rds_rings = &recv_ctx->rds_rings[ring]; in qlcnic_get_regs()583 sds_ring = &(recv_ctx->sds_rings[ring]); in qlcnic_get_regs()1047 struct qlcnic_recv_context *recv_ctx = adapter->recv_ctx; in qlcnic_do_lb_test() local1048 struct qlcnic_host_sds_ring *sds_ring = &recv_ctx->sds_rings[0]; in qlcnic_do_lb_test()1124 sds_ring = &adapter->recv_ctx->sds_rings[0]; in qlcnic_loopback_test()
1101 struct qlcnic_recv_context *recv_ctx; member