Home
last modified time | relevance | path

Searched refs:recv_pkt (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/net/ethernet/cavium/liquidio/
H A Docteon_droq.c341 struct octeon_recv_pkt *recv_pkt; in octeon_create_recv_info() local
352 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()
371 recv_pkt->buffer_size[i] = 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()
769 (u16)rdisp->rinfo->recv_pkt->rh.r.subcode)); in octeon_droq_process_packets()
819 (u16)rdisp->rinfo->recv_pkt->rh.r.opcode, in octeon_droq_process_poll_pkts()
[all …]
H A Docteon_device.c1203 struct octeon_recv_pkt *recv_pkt = recv_info->recv_pkt; in octeon_core_drv_init() local
1222 (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()
1239 oct->fw_info.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()
1254 recv_pkt->buffer_size[0]); in octeon_core_drv_init()
1274 for (i = 0; i < recv_pkt->buffer_count; i++) in octeon_core_drv_init()
[all …]
H A Dlio_vf_rep.c295 struct octeon_recv_pkt *recv_pkt = recv_info->recv_pkt; in lio_vf_rep_pkt_recv() local
303 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()
H A Docteon_droq.h176 struct octeon_recv_pkt *recv_pkt; member
198 recv_info->recv_pkt = in octeon_alloc_recv_info()
H A Dlio_vf_main.c1891 struct octeon_recv_pkt *recv_pkt = recv_info->recv_pkt; in lio_nic_info() local
1896 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()
H A Dlio_main.c3299 struct octeon_recv_pkt *recv_pkt = recv_info->recv_pkt; in lio_nic_info() local
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() local
4003 notice = recv_pkt->rh.r.ossp; in octeon_recv_vf_drv_notice()
4038 for (i = 0; i < recv_pkt->buffer_count; i++) in octeon_recv_vf_drv_notice()
[all …]
/openbmc/linux/include/net/
H A Drsi_91x.h52 int (*recv_pkt)(void *priv, const u8 *msg); member
/openbmc/linux/drivers/bluetooth/
H A Dbtrsi.c177 .recv_pkt = rsi_hci_recv_pkt,
/openbmc/linux/drivers/net/wireless/rsi/
H A Drsi_91x_main.c224 rsi_bt_ops.recv_pkt(common->bt_adapter, in rsi_read_pkt()
/openbmc/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera.h173 void (*recv_pkt)(struct prestera_device *dev); member
H A Dprestera_pci.c516 if (fw->dev.recv_pkt) in prestera_pci_irq_handler()
517 fw->dev.recv_pkt(&fw->dev); in prestera_pci_irq_handler()
H A Dprestera_hw.c1072 sw->dev->recv_pkt = prestera_pkt_recv; in prestera_hw_switch_init()
/openbmc/linux/net/bluetooth/
H A D6lowpan.c256 static int recv_pkt(struct sk_buff *skb, struct net_device *dev, in recv_pkt() function
358 err = recv_pkt(skb, dev->netdev, peer); in chan_recv_cb()