Searched refs:trap_data (Results 1 – 5 of 5) sorted by relevance
64 struct __opa_veswport_trap trap_data; in opa_vnic_vema_report_event() local66 trap_data.fabric_id = info->vesw.fabric_id; in opa_vnic_vema_report_event()67 trap_data.veswid = info->vesw.vesw_id; in opa_vnic_vema_report_event()68 trap_data.veswportnum = info->vport.port_num; in opa_vnic_vema_report_event()69 trap_data.opaportnum = adapter->port_num; in opa_vnic_vema_report_event()70 trap_data.veswportindex = adapter->vport_num; in opa_vnic_vema_report_event()71 trap_data.opcode = event; in opa_vnic_vema_report_event()73 opa_vnic_vema_send_trap(adapter, &trap_data, info->vport.encap_slid); in opa_vnic_vema_report_event()
57 struct dpaa2_eth_trap_data *dpaa2_eth_trap_data = priv->trap_data; in dpaa2_eth_dl_trap_item_lookup()263 priv->trap_data = dpaa2_eth_trap_data; in dpaa2_eth_dl_traps_register()296 priv->trap_data = NULL; in dpaa2_eth_dl_traps_register()307 kfree(priv->trap_data->trap_items_arr); in dpaa2_eth_dl_traps_unregister()308 kfree(priv->trap_data); in dpaa2_eth_dl_traps_unregister()
568 struct dpaa2_eth_trap_data *trap_data; member
545 nsim_trap_data = nsim_dev->trap_data; in nsim_dev_trap_report()606 schedule_delayed_work(&nsim_dev->trap_data->trap_report_dw, in nsim_dev_trap_report_work()643 nsim_dev->trap_data = nsim_trap_data; in nsim_dev_traps_init()660 INIT_DELAYED_WORK(&nsim_dev->trap_data->trap_report_dw, in nsim_dev_traps_init()662 schedule_delayed_work(&nsim_dev->trap_data->trap_report_dw, in nsim_dev_traps_init()686 cancel_delayed_work_sync(&nsim_dev->trap_data->trap_report_dw); in nsim_dev_traps_exit()693 kfree(nsim_dev->trap_data->trap_policers_cnt_arr); in nsim_dev_traps_exit()694 kfree(nsim_dev->trap_data->trap_items_arr); in nsim_dev_traps_exit()695 kfree(nsim_dev->trap_data); in nsim_dev_traps_exit()793 struct nsim_trap_data *nsim_trap_data = nsim_dev->trap_data; in nsim_dev_trap_item_lookup()[all …]
186 struct nsim_trap_data *trap_data; member