Home
last modified time | relevance | path

Searched refs:iwdev (Results 1 – 10 of 10) sorted by relevance

/drivers/infiniband/hw/irdma/
Dmain.c43 static void irdma_prep_tc_change(struct irdma_device *iwdev) in irdma_prep_tc_change() argument
45 iwdev->vsi.tc_change_pending = true; in irdma_prep_tc_change()
46 irdma_sc_suspend_resume_qps(&iwdev->vsi, IRDMA_OP_SUSPEND); in irdma_prep_tc_change()
49 wait_event_timeout(iwdev->suspend_wq, in irdma_prep_tc_change()
50 !atomic_read(&iwdev->vsi.qp_suspend_reqs), in irdma_prep_tc_change()
52 irdma_ws_reset(&iwdev->vsi); in irdma_prep_tc_change()
90 struct irdma_device *iwdev = dev_get_drvdata(&pf->adev->dev); in irdma_iidc_event_handler() local
94 ibdev_dbg(&iwdev->ibdev, "CLNT: new MTU = %d\n", iwdev->netdev->mtu); in irdma_iidc_event_handler()
95 if (iwdev->vsi.mtu != iwdev->netdev->mtu) { in irdma_iidc_event_handler()
96 l2params.mtu = iwdev->netdev->mtu; in irdma_iidc_event_handler()
[all …]
Di40iw_if.c20 struct irdma_device *iwdev; in i40iw_l2param_change() local
27 iwdev = to_iwdev(ibdev); in i40iw_l2param_change()
29 if (iwdev->vsi.mtu != params->mtu) { in i40iw_l2param_change()
33 irdma_change_l2params(&iwdev->vsi, &l2params); in i40iw_l2param_change()
49 struct irdma_device *iwdev; in i40iw_close() local
56 iwdev = to_iwdev(ibdev); in i40iw_close()
58 iwdev->rf->reset = true; in i40iw_close()
60 iwdev->iw_status = 0; in i40iw_close()
61 irdma_port_ibevent(iwdev); in i40iw_close()
73 static void i40iw_fill_device_info(struct irdma_device *iwdev, struct i40e_info *cdev_info) in i40iw_fill_device_info() argument
[all …]
Dtrace_cm.h21 TP_PROTO(struct irdma_device *iwdev, struct irdma_cm_info *cm_info),
22 TP_ARGS(iwdev, cm_info),
23 TP_STRUCT__entry(__field(struct irdma_device *, iwdev)
28 TP_fast_assign(__entry->iwdev = iwdev;
35 __entry->iwdev,
44 TP_STRUCT__entry(__field(struct irdma_device *, iwdev)
51 TP_fast_assign(__entry->iwdev = listener->iwdev;
58 __entry->iwdev,
68 TP_STRUCT__entry(__field(struct irdma_device *, iwdev)
76 TP_fast_assign(__entry->iwdev = listener->iwdev;
[all …]
Dverbs.c15 struct irdma_device *iwdev = to_iwdev(ibdev); in irdma_query_device() local
16 struct irdma_pci_f *rf = iwdev->rf; in irdma_query_device()
17 struct pci_dev *pcidev = iwdev->rf->pcidev; in irdma_query_device()
25 iwdev->netdev->dev_addr); in irdma_query_device()
75 struct irdma_device *iwdev = to_iwdev(ibdev); in irdma_query_port() local
76 struct net_device *netdev = iwdev->netdev; in irdma_query_port()
106 props->max_msg_sz = iwdev->rf->sc_dev.hw_attrs.max_hw_outbound_msg_size; in irdma_query_port()
128 pfn = ((uintptr_t)ucontext->iwdev->rf->sc_dev.hw_regs[IRDMA_DB_ADDR_OFFSET] + in irdma_mmap_legacy()
129 pci_resource_start(ucontext->iwdev->rf->pcidev, 0)) >> PAGE_SHIFT; in irdma_mmap_legacy()
187 ibdev_dbg(&ucontext->iwdev->ibdev, in irdma_mmap()
[all …]
Dcm.c170 ibdev_dbg(&cm_node->iwdev->ibdev, in irdma_send_cm_event()
251 ibdev_dbg(&cm_node->iwdev->ibdev, in irdma_create_event()
267 struct irdma_device *iwdev = cm_node->iwdev; in irdma_free_retrans_entry() local
275 irdma_free_sqbuf(&iwdev->vsi, send_entry->sqbuf); in irdma_free_retrans_entry()
308 struct irdma_sc_vsi *vsi = &cm_node->iwdev->vsi; in irdma_form_ah_cm_frame()
317 ibdev_dbg(&cm_node->iwdev->ibdev, "CM: AH invalid\n"); in irdma_form_ah_cm_frame()
323 ibdev_dbg(&cm_node->iwdev->ibdev, "CM: SQ buf NULL\n"); in irdma_form_ah_cm_frame()
417 struct irdma_sc_vsi *vsi = &cm_node->iwdev->vsi; in irdma_form_uda_cm_frame()
604 ibdev_dbg(&cm_node->iwdev->ibdev, in irdma_send_reset()
626 ibdev_dbg(&cm_node->iwdev->ibdev, in irdma_active_open_err()
[all …]
Dhw.c225 struct irdma_device *iwdev = rf->iwdev; in irdma_process_aeq() local
240 ibdev_dbg(&iwdev->ibdev, in irdma_process_aeq()
252 atomic_dec(&iwdev->vsi.qp_suspend_reqs); in irdma_process_aeq()
253 wake_up(&iwdev->suspend_wq); in irdma_process_aeq()
256 ibdev_dbg(&iwdev->ibdev, "AEQ: qp_id %d is already freed\n", in irdma_process_aeq()
323 if (iwqp->iwdev->vsi.tc_change_pending) { in irdma_process_aeq()
325 wake_up(&iwqp->iwdev->suspend_wq); in irdma_process_aeq()
329 wake_up(&iwqp->iwdev->suspend_wq); in irdma_process_aeq()
339 ibdev_err(&iwdev->ibdev, in irdma_process_aeq()
394 ibdev_err(&iwdev->ibdev, "abnormal ae_id = 0x%x bool qp=%d qp_id = %d, ae_src=%d\n", in irdma_process_aeq()
[all …]
Dutils.c154 struct irdma_device *iwdev; in irdma_inetaddr_event() local
166 iwdev = to_iwdev(ibdev); in irdma_inetaddr_event()
168 ibdev_dbg(&iwdev->ibdev, in irdma_inetaddr_event()
173 irdma_manage_arp_cache(iwdev->rf, real_dev->dev_addr, in irdma_inetaddr_event()
175 irdma_if_notify(iwdev, real_dev, &local_ipaddr, true, false); in irdma_inetaddr_event()
176 irdma_gid_change_event(&iwdev->ibdev); in irdma_inetaddr_event()
180 irdma_add_arp(iwdev->rf, &local_ipaddr, true, real_dev->dev_addr); in irdma_inetaddr_event()
181 irdma_if_notify(iwdev, real_dev, &local_ipaddr, true, true); in irdma_inetaddr_event()
182 irdma_gid_change_event(&iwdev->ibdev); in irdma_inetaddr_event()
204 struct irdma_device *iwdev; in irdma_inet6addr_event() local
[all …]
Dmain.h330 struct irdma_device *iwdev; member
434 ibdev_dbg(&rf->iwdev->ibdev, in irdma_alloc_rsrc()
468 int irdma_rt_init_hw(struct irdma_device *iwdev,
470 void irdma_rt_deinit_hw(struct irdma_device *iwdev);
479 struct irdma_apbvt_entry *irdma_add_apbvt(struct irdma_device *iwdev, u16 port);
480 void irdma_del_apbvt(struct irdma_device *iwdev,
493 void irdma_port_ibevent(struct irdma_device *iwdev);
510 int irdma_hw_modify_qp(struct irdma_device *iwdev, struct irdma_qp *iwqp,
513 int irdma_manage_qhash(struct irdma_device *iwdev, struct irdma_cm_info *cminfo,
520 int irdma_setup_cm_core(struct irdma_device *iwdev, u8 ver);
[all …]
Dcm.h247 struct irdma_device *iwdev; member
277 struct irdma_device *iwdev; member
351 struct irdma_device *iwdev; member
400 void irdma_cm_teardown_connections(struct irdma_device *iwdev, u32 *ipaddr,
409 void irdma_if_notify(struct irdma_device *iwdev, struct net_device *netdev,
Dverbs.h14 struct irdma_device *iwdev; member
157 struct irdma_device *iwdev; member
293 int irdma_ib_register_device(struct irdma_device *iwdev);
294 void irdma_ib_unregister_device(struct irdma_device *iwdev);