Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/sfc/
H A Dsfc.h205 struct sfc_adapter { struct
299 static inline struct sfc_adapter * argument
310 sfc_sa2shared(struct sfc_adapter *sa) in sfc_sa2shared()
333 sfc_adapter_lock(struct sfc_adapter *sa) in sfc_adapter_lock()
371 int sfc_probe(struct sfc_adapter *sa);
372 void sfc_unprobe(struct sfc_adapter *sa);
373 int sfc_attach(struct sfc_adapter *sa);
374 void sfc_detach(struct sfc_adapter *sa);
375 int sfc_start(struct sfc_adapter *sa);
376 void sfc_stop(struct sfc_adapter *sa);
[all …]
H A Dsfc_rx.h25 struct sfc_adapter;
123 int sfc_rx_configure(struct sfc_adapter *sa);
124 void sfc_rx_close(struct sfc_adapter *sa);
125 int sfc_rx_start(struct sfc_adapter *sa);
126 void sfc_rx_stop(struct sfc_adapter *sa);
132 void sfc_rx_qfini(struct sfc_adapter *sa, unsigned int sw_index);
136 uint64_t sfc_rx_get_dev_offload_caps(struct sfc_adapter *sa);
137 uint64_t sfc_rx_get_queue_offload_caps(struct sfc_adapter *sa);
142 int sfc_rx_hash_init(struct sfc_adapter *sa);
143 void sfc_rx_hash_fini(struct sfc_adapter *sa);
[all …]
H A Dsfc_ev.h23 struct sfc_adapter;
56 struct sfc_adapter *sa;
73 sfc_evq_index_by_rxq_sw_index(__rte_unused struct sfc_adapter *sa, in sfc_evq_index_by_rxq_sw_index()
80 sfc_evq_index_by_txq_sw_index(struct sfc_adapter *sa, unsigned int txq_sw_index) in sfc_evq_index_by_txq_sw_index()
85 int sfc_ev_attach(struct sfc_adapter *sa);
86 void sfc_ev_detach(struct sfc_adapter *sa);
87 int sfc_ev_start(struct sfc_adapter *sa);
88 void sfc_ev_stop(struct sfc_adapter *sa);
90 int sfc_ev_qinit(struct sfc_adapter *sa,
100 void sfc_ev_mgmt_qpoll(struct sfc_adapter *sa);
H A Dsfc_tx.h24 struct sfc_adapter;
107 int sfc_tx_configure(struct sfc_adapter *sa);
108 void sfc_tx_close(struct sfc_adapter *sa);
110 int sfc_tx_qinit(struct sfc_adapter *sa, unsigned int sw_index,
113 void sfc_tx_qfini(struct sfc_adapter *sa, unsigned int sw_index);
116 int sfc_tx_qstart(struct sfc_adapter *sa, unsigned int sw_index);
117 void sfc_tx_qstop(struct sfc_adapter *sa, unsigned int sw_index);
118 int sfc_tx_start(struct sfc_adapter *sa);
119 void sfc_tx_stop(struct sfc_adapter *sa);
121 uint64_t sfc_tx_get_dev_offload_caps(struct sfc_adapter *sa);
[all …]
H A Dsfc_flow.h159 struct sfc_adapter;
161 void sfc_flow_init(struct sfc_adapter *sa);
162 void sfc_flow_fini(struct sfc_adapter *sa);
163 int sfc_flow_start(struct sfc_adapter *sa);
164 void sfc_flow_stop(struct sfc_adapter *sa);
172 typedef int (sfc_flow_verify_cb_t)(struct sfc_adapter *sa,
175 typedef void (sfc_flow_cleanup_cb_t)(struct sfc_adapter *sa,
178 typedef int (sfc_flow_insert_cb_t)(struct sfc_adapter *sa,
181 typedef int (sfc_flow_remove_cb_t)(struct sfc_adapter *sa,
H A Dsfc_sriov.h28 struct sfc_adapter;
30 int sfc_sriov_attach(struct sfc_adapter *sa);
31 void sfc_sriov_detach(struct sfc_adapter *sa);
33 int sfc_sriov_vswitch_create(struct sfc_adapter *sa);
34 void sfc_sriov_vswitch_destroy(struct sfc_adapter *sa);
H A Dsfc_mcdi.c22 const struct sfc_adapter *sa = cookie; in sfc_mcdi_dma_alloc()
31 const struct sfc_adapter *sa = cookie; in sfc_mcdi_dma_free()
40 struct sfc_adapter *sa = cookie; in sfc_mcdi_sched_restart()
49 struct sfc_adapter *sa = cookie; in sfc_mcdi_mgmt_evq_poll()
62 sfc_mcdi_init(struct sfc_adapter *sa) in sfc_mcdi_init()
78 sfc_mcdi_fini(struct sfc_adapter *sa) in sfc_mcdi_fini()
H A Dsfc_mae.h80 struct sfc_adapter;
168 struct sfc_adapter *sa;
190 int sfc_mae_attach(struct sfc_adapter *sa);
191 void sfc_mae_detach(struct sfc_adapter *sa);
193 int sfc_mae_rule_parse_pattern(struct sfc_adapter *sa,
197 int sfc_mae_rule_parse_actions(struct sfc_adapter *sa,
H A Dsfc_filter.h38 struct sfc_adapter;
40 int sfc_filter_attach(struct sfc_adapter *sa);
41 void sfc_filter_detach(struct sfc_adapter *sa);
43 boolean_t sfc_filter_is_match_supported(struct sfc_adapter *sa, uint32_t match);
H A Dsfc_intr.c30 sfc_intr_handle_mgmt_evq(struct sfc_adapter *sa) in sfc_intr_handle_mgmt_evq()
54 struct sfc_adapter *sa = (struct sfc_adapter *)cb_arg; in sfc_intr_line_handler()
101 struct sfc_adapter *sa = (struct sfc_adapter *)cb_arg; in sfc_intr_message_handler()
141 sfc_intr_start(struct sfc_adapter *sa) in sfc_intr_start()
240 sfc_intr_stop(struct sfc_adapter *sa) in sfc_intr_stop()
276 sfc_intr_configure(struct sfc_adapter *sa) in sfc_intr_configure()
310 sfc_intr_close(struct sfc_adapter *sa) in sfc_intr_close()
318 sfc_intr_attach(struct sfc_adapter *sa) in sfc_intr_attach()
347 sfc_intr_detach(struct sfc_adapter *sa) in sfc_intr_detach()
H A Dsfc_log.h46 const struct sfc_adapter *_sa = (sa); \
54 const struct sfc_adapter *_sa = (sa); \
62 const struct sfc_adapter *_sa = (sa); \
70 const struct sfc_adapter *_sa = (sa); \
78 const struct sfc_adapter *_sa = (sa); \
H A Dsfc_kvargs.h69 struct sfc_adapter;
71 int sfc_kvargs_parse(struct sfc_adapter *sa);
72 void sfc_kvargs_cleanup(struct sfc_adapter *sa);
74 int sfc_kvargs_process(struct sfc_adapter *sa, const char *key_match,
H A Dsfc.c119 sfc_check_conf(struct sfc_adapter *sa) in sfc_check_conf()
326 sfc_try_start(struct sfc_adapter *sa) in sfc_try_start()
422 sfc_start(struct sfc_adapter *sa) in sfc_start()
478 sfc_stop(struct sfc_adapter *sa) in sfc_stop()
511 sfc_restart(struct sfc_adapter *sa) in sfc_restart()
532 struct sfc_adapter *sa = arg; in sfc_restart_if_required()
616 sfc_close(struct sfc_adapter *sa) in sfc_close()
760 sfc_attach(struct sfc_adapter *sa) in sfc_attach()
918 sfc_detach(struct sfc_adapter *sa) in sfc_detach()
1132 sfc_probe(struct sfc_adapter *sa) in sfc_probe()
[all …]
H A Dsfc_port.c37 sfc_port_update_mac_stats(struct sfc_adapter *sa) in sfc_port_update_mac_stats()
92 sfc_port_reset_sw_stats(struct sfc_adapter *sa) in sfc_port_reset_sw_stats()
104 sfc_port_reset_mac_stats(struct sfc_adapter *sa) in sfc_port_reset_mac_stats()
119 sfc_port_init_dev_link(struct sfc_adapter *sa) in sfc_port_init_dev_link()
162 sfc_port_start(struct sfc_adapter *sa) in sfc_port_start()
347 sfc_port_stop(struct sfc_adapter *sa) in sfc_port_stop()
363 sfc_port_configure(struct sfc_adapter *sa) in sfc_port_configure()
380 sfc_port_close(struct sfc_adapter *sa) in sfc_port_close()
386 sfc_port_attach(struct sfc_adapter *sa) in sfc_port_attach()
475 sfc_port_detach(struct sfc_adapter *sa) in sfc_port_detach()
[all …]
H A Dsfc_filter.c19 sfc_filter_is_match_supported(struct sfc_adapter *sa, uint32_t match) in sfc_filter_is_match_supported()
33 sfc_filter_cache_match_supported(struct sfc_adapter *sa) in sfc_filter_cache_match_supported()
76 sfc_filter_attach(struct sfc_adapter *sa) in sfc_filter_attach()
119 sfc_filter_detach(struct sfc_adapter *sa) in sfc_filter_detach()
H A Dsfc_ethdev.c44 struct sfc_adapter *sa = sfc_adapter_by_eth_dev(dev); in sfc_fw_version_get()
94 struct sfc_adapter *sa = sfc_adapter_by_eth_dev(dev); in sfc_dev_infos_get()
212 struct sfc_adapter *sa = sfc_adapter_by_eth_dev(dev); in sfc_dev_configure()
241 struct sfc_adapter *sa = sfc_adapter_by_eth_dev(dev); in sfc_dev_start()
258 struct sfc_adapter *sa = sfc_adapter_by_eth_dev(dev); in sfc_dev_link_update()
289 struct sfc_adapter *sa = sfc_adapter_by_eth_dev(dev); in sfc_dev_stop()
305 struct sfc_adapter *sa = sfc_adapter_by_eth_dev(dev); in sfc_dev_set_link_up()
321 struct sfc_adapter *sa = sfc_adapter_by_eth_dev(dev); in sfc_dev_set_link_down()
510 struct sfc_adapter *sa; in sfc_rx_queue_release()
564 struct sfc_adapter *sa; in sfc_tx_queue_release()
[all …]
H A Dsfc_sriov.c45 sfc_sriov_attach(struct sfc_adapter *sa) in sfc_sriov_attach()
91 sfc_sriov_detach(struct sfc_adapter *sa) in sfc_sriov_detach()
105 sfc_sriov_vswitch_create(struct sfc_adapter *sa) in sfc_sriov_vswitch_create()
148 sfc_sriov_vswitch_destroy(struct sfc_adapter *sa) in sfc_sriov_vswitch_destroy()
H A Dsfc_kvargs.c20 sfc_kvargs_parse(struct sfc_adapter *sa) in sfc_kvargs_parse()
45 sfc_kvargs_cleanup(struct sfc_adapter *sa) in sfc_kvargs_cleanup()
64 sfc_kvargs_process(struct sfc_adapter *sa, const char *key_match, in sfc_kvargs_process()
H A Dsfc_mae.c21 sfc_mae_assign_entity_mport(struct sfc_adapter *sa, in sfc_mae_assign_entity_mport()
31 sfc_mae_attach(struct sfc_adapter *sa) in sfc_mae_attach()
107 sfc_mae_detach(struct sfc_adapter *sa) in sfc_mae_detach()
147 sfc_mae_outer_rule_add(struct sfc_adapter *sa, in sfc_mae_outer_rule_add()
175 sfc_mae_outer_rule_del(struct sfc_adapter *sa, in sfc_mae_outer_rule_del()
277 sfc_mae_action_set_add(struct sfc_adapter *sa, in sfc_mae_action_set_add()
303 sfc_mae_action_set_del(struct sfc_adapter *sa, in sfc_mae_action_set_del()
373 sfc_mae_flow_cleanup(struct sfc_adapter *sa, in sfc_mae_flow_cleanup()
2249 sfc_mae_flow_verify(struct sfc_adapter *sa, in sfc_mae_flow_verify()
2272 sfc_mae_flow_insert(struct sfc_adapter *sa, in sfc_mae_flow_insert()
[all …]
H A Dsfc_rx.c438 struct sfc_adapter *sa; in sfc_rxq_by_dp_rxq()
902 sfc_rx_get_offload_mask(struct sfc_adapter *sa) in sfc_rx_get_offload_mask()
914 sfc_rx_get_dev_offload_caps(struct sfc_adapter *sa) in sfc_rx_get_dev_offload_caps()
1315 sfc_rx_hash_init(struct sfc_adapter *sa) in sfc_rx_hash_init()
1371 sfc_rx_hash_fini(struct sfc_adapter *sa) in sfc_rx_hash_fini()
1422 sfc_rx_process_adv_conf_rss(struct sfc_adapter *sa, in sfc_rx_process_adv_conf_rss()
1457 sfc_rx_rss_config(struct sfc_adapter *sa) in sfc_rx_rss_config()
1483 sfc_rx_start(struct sfc_adapter *sa) in sfc_rx_start()
1524 sfc_rx_stop(struct sfc_adapter *sa) in sfc_rx_stop()
1631 sfc_rx_configure(struct sfc_adapter *sa) in sfc_rx_configure()
[all …]
H A Dsfc_tx.c38 sfc_tx_get_offload_mask(struct sfc_adapter *sa) in sfc_tx_get_offload_mask()
60 sfc_tx_get_dev_offload_caps(struct sfc_adapter *sa) in sfc_tx_get_dev_offload_caps()
66 sfc_tx_get_queue_offload_caps(struct sfc_adapter *sa) in sfc_tx_get_queue_offload_caps()
115 sfc_tx_qinit(struct sfc_adapter *sa, unsigned int sw_index, in sfc_tx_qinit()
233 sfc_tx_qfini(struct sfc_adapter *sa, unsigned int sw_index) in sfc_tx_qfini()
327 sfc_tx_configure(struct sfc_adapter *sa) in sfc_tx_configure()
425 sfc_tx_close(struct sfc_adapter *sa) in sfc_tx_close()
522 sfc_tx_qstop(struct sfc_adapter *sa, unsigned int sw_index) in sfc_tx_qstop()
596 sfc_tx_start(struct sfc_adapter *sa) in sfc_tx_start()
648 sfc_tx_stop(struct sfc_adapter *sa) in sfc_tx_stop()
[all …]
H A Dsfc_ev.c469 struct sfc_adapter *sa = evq->sa; in sfc_ev_link_change()
581 struct sfc_adapter *sa = evq->sa; in sfc_ev_qpoll()
627 sfc_ev_mgmt_qpoll(struct sfc_adapter *sa) in sfc_ev_mgmt_qpoll()
648 struct sfc_adapter *sa = evq->sa; in sfc_ev_qstart()
768 struct sfc_adapter *sa = arg; in sfc_ev_mgmt_periodic_qpoll()
798 sfc_ev_start(struct sfc_adapter *sa) in sfc_ev_start()
856 sfc_ev_stop(struct sfc_adapter *sa) in sfc_ev_stop()
872 sfc_ev_qinit(struct sfc_adapter *sa, in sfc_ev_qinit()
921 struct sfc_adapter *sa = evq->sa; in sfc_ev_qfini()
952 sfc_ev_attach(struct sfc_adapter *sa) in sfc_ev_attach()
[all …]
H A Dsfc_flow.c1143 sfc_flow_parse_attr(struct sfc_adapter *sa, in sfc_flow_parse_attr()
1322 sfc_flow_parse_queue(struct sfc_adapter *sa, in sfc_flow_parse_queue()
1345 sfc_flow_parse_rss(struct sfc_adapter *sa, in sfc_flow_parse_rss()
1498 sfc_flow_filter_insert(struct sfc_adapter *sa, in sfc_flow_filter_insert()
1617 sfc_flow_filter_remove(struct sfc_adapter *sa, in sfc_flow_filter_remove()
1642 sfc_flow_parse_mark(struct sfc_adapter *sa, in sfc_flow_parse_mark()
1660 sfc_flow_parse_actions(struct sfc_adapter *sa, in sfc_flow_parse_actions()
2748 sfc_flow_init(struct sfc_adapter *sa) in sfc_flow_init()
2756 sfc_flow_fini(struct sfc_adapter *sa) in sfc_flow_fini()
2769 sfc_flow_stop(struct sfc_adapter *sa) in sfc_flow_stop()
[all …]
H A Dsfc_switch.h39 int sfc_mae_assign_switch_domain(struct sfc_adapter *sa,
H A Dsfc_switch.c165 sfc_mae_assign_switch_domain(struct sfc_adapter *sa, in sfc_mae_assign_switch_domain()