Searched refs:nesvnic (Results 1 – 9 of 9) sorted by relevance
/drivers/infiniband/hw/nes/ |
D | nes_nic.c | 101 struct nes_vnic *nesvnic = container_of(napi, struct nes_vnic, napi); in nes_netdev_poll() local 102 struct nes_device *nesdev = nesvnic->nesdev; in nes_netdev_poll() 103 struct nes_hw_nic_cq *nescq = &nesvnic->nic_cq; in nes_netdev_poll() 105 nesvnic->budget = budget; in nes_netdev_poll() 124 nesvnic->netdev->name); in nes_netdev_poll() 138 struct nes_vnic *nesvnic = netdev_priv(netdev); in nes_netdev_open() local 139 struct nes_device *nesdev = nesvnic->nesdev; in nes_netdev_open() 149 if (nesvnic->netdev_open == 1) in nes_netdev_open() 152 if (netif_msg_ifup(nesvnic)) in nes_netdev_open() 163 if ((!nesvnic->of_device_registered) && (nesvnic->rdma_enabled)) { in nes_netdev_open() [all …]
|
D | nes_hw.c | 1459 static void nes_replenish_nic_rq(struct nes_vnic *nesvnic) in nes_replenish_nic_rq() argument 1469 nesnic = &nesvnic->nic; in nes_replenish_nic_rq() 1470 nesdev = nesvnic->nesdev; in nes_replenish_nic_rq() 1473 if (((nesnic->rq_size-1) == atomic_read(&nesvnic->rx_skbs_needed)) && in nes_replenish_nic_rq() 1474 (atomic_read(&nesvnic->rx_skb_timer_running) == 0)) { in nes_replenish_nic_rq() 1475 atomic_set(&nesvnic->rx_skb_timer_running, 1); in nes_replenish_nic_rq() 1477 nesvnic->rq_wqes_timer.expires = jiffies + (HZ/2); /* 1/2 second */ in nes_replenish_nic_rq() 1478 add_timer(&nesvnic->rq_wqes_timer); in nes_replenish_nic_rq() 1486 skb = dev_alloc_skb(nesvnic->max_frame_size); in nes_replenish_nic_rq() 1488 skb->dev = nesvnic->netdev; in nes_replenish_nic_rq() [all …]
|
D | nes_cm.c | 922 if (listener->nesvnic) { in mini_cm_dec_refcnt_listen() 923 nes_manage_apbvt(listener->nesvnic, listener->loc_port, in mini_cm_dec_refcnt_listen() 924 PCI_FUNC(listener->nesvnic->nesdev->pcidev->devfn), NES_MANAGE_APBVT_DEL); in mini_cm_dec_refcnt_listen() 987 static int nes_addr_resolve_neigh(struct nes_vnic *nesvnic, u32 dst_ip) in nes_addr_resolve_neigh() argument 1002 neigh = neigh_lookup(&arp_tbl, &rt->rt_gateway, nesvnic->netdev); in nes_addr_resolve_neigh() 1008 nes_manage_arp_cache(nesvnic->netdev, neigh->ha, in nes_addr_resolve_neigh() 1010 rc = nes_arp_table(nesvnic->nesdev, dst_ip, NULL, in nes_addr_resolve_neigh() 1028 struct nes_vnic *nesvnic, struct nes_cm_info *cm_info, in make_cm_node() argument 1052 cm_node->netdev = nesvnic->netdev; in make_cm_node() 1054 memcpy(cm_node->loc_mac, nesvnic->netdev->dev_addr, ETH_ALEN); in make_cm_node() [all …]
|
D | nes_verbs.c | 59 struct nes_vnic *nesvnic = to_nesvnic(ibpd->device); in nes_alloc_mw() local 60 struct nes_device *nesdev = nesvnic->nesdev; in nes_alloc_mw() 157 struct nes_vnic *nesvnic = to_nesvnic(ibmw->device); in nes_dealloc_mw() local 158 struct nes_device *nesdev = nesvnic->nesdev; in nes_dealloc_mw() 210 struct nes_vnic *nesvnic = to_nesvnic(ibqp->device); in nes_bind_mw() local 211 struct nes_device *nesdev = nesvnic->nesdev; in nes_bind_mw() 287 struct nes_vnic *nesvnic = to_nesvnic(ibpd->device); in nes_alloc_fmr() local 288 struct nes_device *nesdev = nesvnic->nesdev; in nes_alloc_fmr() 550 struct nes_vnic *nesvnic = to_nesvnic(ibfmr->device); in nes_dealloc_fmr() local 551 struct nes_device *nesdev = nesvnic->nesdev; in nes_dealloc_fmr() [all …]
|
D | nes.c | 144 struct nes_vnic *nesvnic; in nes_inetaddr_event() local 152 nesvnic = netdev_priv(netdev); in nes_inetaddr_event() 154 if (nesvnic->rdma_enabled == 0) { in nes_inetaddr_event() 168 ntohl(nesvnic->local_ipaddr), NES_ARP_DELETE); in nes_inetaddr_event() 169 nesvnic->local_ipaddr = 0; in nes_inetaddr_event() 175 if (nesvnic->local_ipaddr != 0) { in nes_inetaddr_event() 180 nesvnic->local_ipaddr = ifa->ifa_address; in nes_inetaddr_event() 186 ntohl(nesvnic->local_ipaddr), NES_ARP_ADD); in nes_inetaddr_event() 208 struct nes_vnic *nesvnic; in nes_net_event() local 215 nesvnic = netdev_priv(netdev); in nes_net_event() [all …]
|
D | nes_cm.h | 254 struct nes_vnic *nesvnic; member 295 struct nes_vnic *nesvnic; member
|
D | nes_hw.h | 1138 struct nes_vnic *nesvnic; member 1183 int (*mcrq_mcast_filter)( struct nes_vnic* nesvnic, __u8* dmi_addr ); 1206 struct nes_vnic *nesvnic; member
|
D | nes_utils.c | 717 struct nes_vnic *nesvnic; in nes_mh_fix() local 755 nesvnic = netdev_priv(nesdev->netdev[0]); in nes_mh_fix() 762 if (nesvnic->qp_nic_index[i] != 0xff) { in nes_mh_fix()
|
D | nes.h | 445 return container_of(ibdev, struct nes_ib_device, ibdev)->nesvnic; in to_nesvnic()
|