Searched refs:recv_pkt (Results 1 – 11 of 11) sorted by relevance
341 struct octeon_recv_pkt *recv_pkt; in octeon_create_recv_info() local352 recv_pkt = recv_info->recv_pkt; in octeon_create_recv_info()353 recv_pkt->rh = info->rh; in octeon_create_recv_info()354 recv_pkt->length = (u32)info->length; in octeon_create_recv_info()355 recv_pkt->buffer_count = (u16)buf_cnt; in octeon_create_recv_info()356 recv_pkt->octeon_id = (u16)octeon_dev->octeon_id; in octeon_create_recv_info()371 recv_pkt->buffer_size[i] = in octeon_create_recv_info()375 recv_pkt->buffer_ptr[i] = droq->recv_buf_list[idx].buffer; in octeon_create_recv_info()550 rinfo->recv_pkt->rh = *rh; in octeon_droq_dispatch_pkt()768 (u16)rdisp->rinfo->recv_pkt->rh.r.opcode, in octeon_droq_process_packets()[all …]
1203 struct octeon_recv_pkt *recv_pkt = recv_info->recv_pkt; in octeon_core_drv_init() local1222 (u32)recv_pkt->rh.r_core_drv_init.app_mode), in octeon_core_drv_init()1224 oct->app_mode = (u32)recv_pkt->rh.r_core_drv_init.app_mode; in octeon_core_drv_init()1225 if (recv_pkt->rh.r_core_drv_init.app_mode == CVM_DRV_NIC_APP) { in octeon_core_drv_init()1227 (u32)recv_pkt->rh.r_core_drv_init.max_nic_ports; in octeon_core_drv_init()1229 (u32)recv_pkt->rh.r_core_drv_init.num_gmx_ports; in octeon_core_drv_init()1238 oct->fw_info.app_cap_flags = recv_pkt->rh.r_core_drv_init.app_cap_flags; in octeon_core_drv_init()1239 oct->fw_info.app_mode = (u32)recv_pkt->rh.r_core_drv_init.app_mode; in octeon_core_drv_init()1240 oct->pfvf_hsword.app_mode = (u32)recv_pkt->rh.r_core_drv_init.app_mode; in octeon_core_drv_init()1242 oct->pfvf_hsword.pkind = recv_pkt->rh.r_core_drv_init.pkind; in octeon_core_drv_init()[all …]
295 struct octeon_recv_pkt *recv_pkt = recv_info->recv_pkt; in lio_vf_rep_pkt_recv() local303 oct = lio_get_device(recv_pkt->octeon_id); in lio_vf_rep_pkt_recv()307 skb = recv_pkt->buffer_ptr[0]; in lio_vf_rep_pkt_recv()308 rh = &recv_pkt->rh; in lio_vf_rep_pkt_recv()317 recv_pkt->buffer_count > 1) in lio_vf_rep_pkt_recv()325 lio_vf_rep_copy_packet(oct, skb, recv_pkt->buffer_size[0]); in lio_vf_rep_pkt_recv()338 for (i = 0; i < recv_pkt->buffer_count; i++) in lio_vf_rep_pkt_recv()339 recv_buffer_free(recv_pkt->buffer_ptr[i]); in lio_vf_rep_pkt_recv()
176 struct octeon_recv_pkt *recv_pkt; member198 recv_info->recv_pkt = in octeon_alloc_recv_info()
1891 struct octeon_recv_pkt *recv_pkt = recv_info->recv_pkt; in lio_nic_info() local1896 if (recv_pkt->buffer_size[0] != (sizeof(*ls) + OCT_DROQ_INFO_SIZE)) { in lio_nic_info()1898 recv_pkt->buffer_size[0], in lio_nic_info()1899 recv_pkt->rh.r_nic_info.gmxport); in lio_nic_info()1903 gmxport = recv_pkt->rh.r_nic_info.gmxport; in lio_nic_info()1904 ls = (union oct_link_status *)(get_rbd(recv_pkt->buffer_ptr[0]) + in lio_nic_info()1917 for (i = 0; i < recv_pkt->buffer_count; i++) in lio_nic_info()1918 recv_buffer_free(recv_pkt->buffer_ptr[i]); in lio_nic_info()
3299 struct octeon_recv_pkt *recv_pkt = recv_info->recv_pkt; in lio_nic_info() local3304 if (recv_pkt->buffer_size[0] != (sizeof(*ls) + OCT_DROQ_INFO_SIZE)) { in lio_nic_info()3306 recv_pkt->buffer_size[0], in lio_nic_info()3307 recv_pkt->rh.r_nic_info.gmxport); in lio_nic_info()3311 gmxport = recv_pkt->rh.r_nic_info.gmxport; in lio_nic_info()3312 ls = (union oct_link_status *)(get_rbd(recv_pkt->buffer_ptr[0]) + in lio_nic_info()3324 for (i = 0; i < recv_pkt->buffer_count; i++) in lio_nic_info()3325 recv_buffer_free(recv_pkt->buffer_ptr[i]); in lio_nic_info()3998 struct octeon_recv_pkt *recv_pkt = recv_info->recv_pkt; in octeon_recv_vf_drv_notice() local4003 notice = recv_pkt->rh.r.ossp; in octeon_recv_vf_drv_notice()[all …]
177 .recv_pkt = rsi_hci_recv_pkt,
173 void (*recv_pkt)(struct prestera_device *dev); member
516 if (fw->dev.recv_pkt) in prestera_pci_irq_handler()517 fw->dev.recv_pkt(&fw->dev); in prestera_pci_irq_handler()
1072 sw->dev->recv_pkt = prestera_pkt_recv; in prestera_hw_switch_init()
224 rsi_bt_ops.recv_pkt(common->bt_adapter, in rsi_read_pkt()