Home
last modified time | relevance | path

Searched refs:func (Results 1 – 25 of 165) sorted by relevance

1234567

/dpdk/drivers/net/fm10k/base/
H A Dfm10k_pf.h118 #define FM10K_PF_MSG_LPORT_MAP_HANDLER(func) \ argument
120 fm10k_lport_map_msg_attr, func)
122 #define FM10K_PF_MSG_UPDATE_PVID_HANDLER(func) \ argument
124 fm10k_update_pvid_msg_attr, func)
128 #define FM10K_PF_MSG_ERR_HANDLER(msg, func) \ argument
132 #define FM10K_PF_MSG_1588_TIMESTAMP_HANDLER(func) \ argument
134 fm10k_1588_timestamp_msg_attr, func)
139 #define FM10K_PF_MSG_1588_CLOCK_OWNER_HANDLER(func) \ argument
141 fm10k_1588_clock_owner_attr, func)
144 #define FM10K_PF_MSG_MASTER_CLK_OFFSET_HANDLER(func) \ argument
[all …]
H A Dfm10k_vf.h42 #define FM10K_VF_MSG_MSIX_HANDLER(func) \ argument
43 FM10K_MSG_HANDLER(FM10K_VF_MSG_ID_MSIX, NULL, func)
47 #define FM10K_VF_MSG_MAC_VLAN_HANDLER(func) \ argument
49 fm10k_mac_vlan_msg_attr, func)
54 #define FM10K_VF_MSG_LPORT_STATE_HANDLER(func) \ argument
56 fm10k_lport_state_msg_attr, func)
59 #define FM10K_VF_MSG_1588_HANDLER(func) \ argument
60 FM10K_MSG_HANDLER(FM10K_VF_MSG_ID_1588, fm10k_1588_msg_attr, func)
H A Dfm10k_tlv.h86 s32 (*func)(struct fm10k_hw *, u32 **, member
90 #define FM10K_MSG_HANDLER(id, attr, func) { id, attr, func } argument
161 #define FM10K_TLV_MSG_TEST_HANDLER(func) \ argument
162 FM10K_MSG_HANDLER(FM10K_TLV_MSG_ID_TEST, fm10k_tlv_msg_test_attr, func)
163 #define FM10K_TLV_MSG_ERROR_HANDLER(func) \ argument
164 FM10K_MSG_HANDLER(FM10K_TLV_ERROR, NULL, func)
H A Dfm10k_api.c90 #define fm10k_call_func(hw, func, params, error) \ argument
91 ((func) ? (func params) : (error))
/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_port_db.c157 if (!func->func_valid) { in ulp_port_db_dev_port_intf_update()
161 func->func_parif = in ulp_port_db_dev_port_intf_update()
163 func->func_vnic = in ulp_port_db_dev_port_intf_update()
166 func->func_valid = true; in ulp_port_db_dev_port_intf_update()
167 func->ifindex = ifindex; in ulp_port_db_dev_port_intf_update()
175 func->func_svif = in ulp_port_db_dev_port_intf_update()
177 func->func_spif = in ulp_port_db_dev_port_intf_update()
179 func->func_parif = in ulp_port_db_dev_port_intf_update()
181 func->func_vnic = in ulp_port_db_dev_port_intf_update()
184 func->ifindex = ifindex; in ulp_port_db_dev_port_intf_update()
[all …]
/dpdk/lib/eal/include/
H A Drte_memory.h214 rte_memseg_walk(rte_memseg_walk_t func, void *arg);
235 rte_memseg_contig_walk(rte_memseg_contig_walk_t func, void *arg);
256 rte_memseg_list_walk(rte_memseg_list_walk_t func, void *arg);
274 rte_memseg_walk_thread_unsafe(rte_memseg_walk_t func, void *arg);
292 rte_memseg_contig_walk_thread_unsafe(rte_memseg_contig_walk_t func, void *arg);
310 rte_memseg_list_walk_thread_unsafe(rte_memseg_list_walk_t func, void *arg);
H A Drte_common.h185 #define RTE_INIT_PRIO(func, prio) \ argument
186 static void __attribute__((constructor(RTE_PRIO(prio)), used)) func(void)
197 #define RTE_INIT(func) \ argument
198 RTE_INIT_PRIO(func, LAST)
210 #define RTE_FINI_PRIO(func, prio) \ argument
211 static void __attribute__((destructor(RTE_PRIO(prio)), used)) func(void)
222 #define RTE_FINI(func) \ argument
223 RTE_FINI_PRIO(func, LAST)
H A Drte_dev.h40 #define RTE_FUNC_PTR_OR_ERR_RET(func, retval) do { \ argument
41 if ((func) == NULL) \
45 #define RTE_FUNC_PTR_OR_RET(func) do { \ argument
46 if ((func) == NULL) \
H A Drte_debug.h44 #define rte_panic_(func, format, ...) __rte_panic(func, format "%.0s", __VA_ARGS__) argument
/dpdk/drivers/net/igc/base/
H A Digc_base.c23 if (hw->bus.func == IGC_FUNC_1) in igc_acquire_phy_base()
25 else if (hw->bus.func == IGC_FUNC_2) in igc_acquire_phy_base()
27 else if (hw->bus.func == IGC_FUNC_3) in igc_acquire_phy_base()
45 if (hw->bus.func == IGC_FUNC_1) in igc_release_phy_base()
47 else if (hw->bus.func == IGC_FUNC_2) in igc_release_phy_base()
49 else if (hw->bus.func == IGC_FUNC_3) in igc_release_phy_base()
/dpdk/drivers/net/e1000/base/
H A De1000_base.c23 if (hw->bus.func == E1000_FUNC_1) in e1000_acquire_phy_base()
25 else if (hw->bus.func == E1000_FUNC_2) in e1000_acquire_phy_base()
27 else if (hw->bus.func == E1000_FUNC_3) in e1000_acquire_phy_base()
45 if (hw->bus.func == E1000_FUNC_1) in e1000_release_phy_base()
47 else if (hw->bus.func == E1000_FUNC_2) in e1000_release_phy_base()
49 else if (hw->bus.func == E1000_FUNC_3) in e1000_release_phy_base()
/dpdk/lib/bpf/
H A Dbpf_load.c62 if (xsym->func.nb_args > EBPF_FUNC_MAX_ARGS) in bpf_check_xsym()
66 for (i = 0; i != xsym->func.nb_args; i++) { in bpf_check_xsym()
67 if (xsym->func.args[i].type == RTE_BPF_ARG_UNDEF) in bpf_check_xsym()
72 if (xsym->func.ret.type != RTE_BPF_ARG_UNDEF && in bpf_check_xsym()
73 xsym->func.ret.size == 0) in bpf_check_xsym()
H A Dbpf.c17 if (bpf->jit.func != NULL) in rte_bpf_destroy()
18 munmap(bpf->jit.func, bpf->jit.sz); in rte_bpf_destroy()
H A Drte_bpf.h79 } func; member
103 uint64_t (*func)(void *); /**< JIT-ed native code */ member
/dpdk/lib/eal/freebsd/
H A Deal_debug.c25 void *func[BACKTRACE_SIZE]; in rte_dump_stack() local
29 size = backtrace(func, BACKTRACE_SIZE); in rte_dump_stack()
30 symb = backtrace_symbols(func, size); in rte_dump_stack()
/dpdk/lib/eal/linux/
H A Deal_debug.c20 void *func[BACKTRACE_SIZE]; in rte_dump_stack() local
24 size = backtrace(func, BACKTRACE_SIZE); in rte_dump_stack()
25 symb = backtrace_symbols(func, size); in rte_dump_stack()
/dpdk/drivers/common/sfc_efx/base/
H A Dsiena_sram.c55 __in efx_sram_pattern_fn_t func) in siena_sram_test() argument
88 func(wptr, B_FALSE, &qword); in siena_sram_test()
97 func(rptr, B_FALSE, &qword); in siena_sram_test()
110 func(wptr, B_TRUE, &qword); in siena_sram_test()
119 func(rptr, B_TRUE, &qword); in siena_sram_test()
/dpdk/lib/eal/windows/
H A Deal_alarm.c34 static int intr_thread_exec_sync(void (*func)(void *arg), void *arg);
221 void (*func)(void *arg); member
230 task->func(task->arg); in intr_thread_entry()
235 intr_thread_exec_sync(void (*func)(void *arg), void *arg) in intr_thread_exec_sync()
240 task.func = func; in intr_thread_exec_sync()
/dpdk/app/test/
H A Dtest_trace_perf.c85 #define WORKER_DEFINE(func) \ argument
87 __worker_##func(struct lcore_data *ldata) \
94 CENT_OPS(func); \
100 worker_fn_##func(void *arg) \
104 __worker_##func(ldata); \
H A Dtest_func_reentrancy.c407 case_func_t func; member
439 if (pt_case->func == NULL) in launch_test()
450 rte_eal_remote_launch(pt_case->func, pt_case->arg, lcore_id); in launch_test()
455 if (pt_case->func(pt_case->arg) < 0) in launch_test()
499 if (pt_case->func == NULL) in test_func_reentrancy()
/dpdk/lib/eventdev/
H A Drte_event_timer_adapter.h537 #define FUNC_PTR_OR_ERR_RET(func, errval) do { \ argument
538 if ((func) == NULL) \
542 #define FUNC_PTR_OR_NULL_RET_WITH_ERRNO(func, errval) do { \ argument
543 if ((func) == NULL) { \
/dpdk/drivers/net/ixgbe/
H A Dixgbe_bypass.c15 #define FUNC_PTR_OR_ERR_RET(func, retval) do { \ argument
16 if ((func) == NULL) { \
23 #define FUNC_PTR_OR_RET(func) do { \ argument
24 if ((func) == NULL) { \
88 hw->bus.func != 0) { in ixgbe_bypass_init()
/dpdk/lib/eal/common/
H A Deal_common_memory.c693 ret = func(msl, ms, len, arg); in rte_memseg_contig_walk_thread_unsafe()
704 rte_memseg_contig_walk(rte_memseg_contig_walk_t func, void *arg) in rte_memseg_contig_walk() argument
710 ret = rte_memseg_contig_walk_thread_unsafe(func, arg); in rte_memseg_contig_walk()
717 rte_memseg_walk_thread_unsafe(rte_memseg_walk_t func, void *arg) in rte_memseg_walk_thread_unsafe() argument
735 ret = func(msl, ms, arg); in rte_memseg_walk_thread_unsafe()
745 rte_memseg_walk(rte_memseg_walk_t func, void *arg) in rte_memseg_walk() argument
751 ret = rte_memseg_walk_thread_unsafe(func, arg); in rte_memseg_walk()
758 rte_memseg_list_walk_thread_unsafe(rte_memseg_list_walk_t func, void *arg) in rte_memseg_list_walk_thread_unsafe() argument
769 ret = func(msl, arg); in rte_memseg_list_walk_thread_unsafe()
777 rte_memseg_list_walk(rte_memseg_list_walk_t func, void *arg) in rte_memseg_list_walk() argument
[all …]
/dpdk/drivers/net/i40e/
H A Di40e_hash.c621 if (func == RTE_ETH_HASH_FUNCTION_SIMPLE_XOR) { in i40e_hash_config_func()
627 if (func == RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ) in i40e_hash_config_func()
643 PMD_DRV_LOG(INFO, "NIC hash function is setting to %d", func); in i40e_hash_config_func()
810 if (rss_info->func != RTE_ETH_HASH_FUNCTION_DEFAULT) { in i40e_hash_config()
811 ret = i40e_hash_config_func(hw, rss_info->func); in i40e_hash_config()
815 if (rss_info->func != RTE_ETH_HASH_FUNCTION_TOEPLITZ) in i40e_hash_config()
1049 if (rss_act->func == RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ) in i40e_hash_parse_global_conf()
1055 rss_conf->conf.func = rss_act->func; in i40e_hash_parse_global_conf()
1073 if (rss_act->func == RTE_ETH_HASH_FUNCTION_DEFAULT) in i40e_hash_parse_global_conf()
1119 switch (rss_act->func) { in i40e_hash_parse_pattern_act()
[all …]
/dpdk/drivers/common/cnxk/hw/
H A Ddpi.h75 uint64_t func : 16; member
113 uint64_t func : 16; member

1234567