| /dpdk/drivers/net/sfc/ |
| H A D | sfc.h | 210 struct sfc_adapter { struct 315 static inline struct sfc_adapter * argument 326 sfc_sa2shared(struct sfc_adapter *sa) in sfc_sa2shared() 349 sfc_adapter_lock(struct sfc_adapter *sa) in sfc_adapter_lock() 409 int sfc_probe(struct sfc_adapter *sa); 410 void sfc_unprobe(struct sfc_adapter *sa); 411 int sfc_attach(struct sfc_adapter *sa); 413 void sfc_detach(struct sfc_adapter *sa); 414 int sfc_start(struct sfc_adapter *sa); 415 void sfc_stop(struct sfc_adapter *sa); [all …]
|
| H A D | sfc_rx.h | 25 struct sfc_adapter; 127 int sfc_rx_configure(struct sfc_adapter *sa); 128 void sfc_rx_close(struct sfc_adapter *sa); 129 int sfc_rx_start(struct sfc_adapter *sa); 130 void sfc_rx_stop(struct sfc_adapter *sa); 142 uint64_t sfc_rx_get_dev_offload_caps(struct sfc_adapter *sa); 143 uint64_t sfc_rx_get_queue_offload_caps(struct sfc_adapter *sa); 148 unsigned int sfc_rx_get_pushed(struct sfc_adapter *sa, 151 int sfc_rx_hash_init(struct sfc_adapter *sa); 152 void sfc_rx_hash_fini(struct sfc_adapter *sa); [all …]
|
| H A D | sfc_mae_counter.h | 33 bool sfc_mae_counter_rxq_required(struct sfc_adapter *sa); 35 int sfc_mae_counter_rxq_attach(struct sfc_adapter *sa); 36 void sfc_mae_counter_rxq_detach(struct sfc_adapter *sa); 38 int sfc_mae_counter_rxq_init(struct sfc_adapter *sa); 39 void sfc_mae_counter_rxq_fini(struct sfc_adapter *sa); 44 int sfc_mae_counter_enable(struct sfc_adapter *sa, 46 int sfc_mae_counter_disable(struct sfc_adapter *sa, 52 int sfc_mae_counter_start(struct sfc_adapter *sa); 53 void sfc_mae_counter_stop(struct sfc_adapter *sa); 56 bool sfc_mae_counter_stream_enabled(struct sfc_adapter *sa);
|
| H A D | sfc_sw_stats.h | 16 void sfc_sw_xstats_get_vals(struct sfc_adapter *sa, 21 int sfc_sw_xstats_get_names(struct sfc_adapter *sa, 26 void sfc_sw_xstats_get_vals_by_id(struct sfc_adapter *sa, const uint64_t *ids, 30 int sfc_sw_xstats_get_names_by_id(struct sfc_adapter *sa, const uint64_t *ids, 35 unsigned int sfc_sw_xstats_get_nb_supported(struct sfc_adapter *sa); 37 int sfc_sw_xstats_configure(struct sfc_adapter *sa); 39 void sfc_sw_xstats_reset(struct sfc_adapter *sa); 41 int sfc_sw_xstats_init(struct sfc_adapter *sa); 43 void sfc_sw_xstats_close(struct sfc_adapter *sa);
|
| H A D | sfc_tx.h | 24 struct sfc_adapter; 108 int sfc_tx_configure(struct sfc_adapter *sa); 109 void sfc_tx_close(struct sfc_adapter *sa); 112 int sfc_tx_qinit(struct sfc_adapter *sa, sfc_sw_index_t sw_index, 115 void sfc_tx_qfini(struct sfc_adapter *sa, sfc_sw_index_t sw_index); 118 int sfc_tx_qstart(struct sfc_adapter *sa, sfc_sw_index_t sw_index); 119 void sfc_tx_qstop(struct sfc_adapter *sa, sfc_sw_index_t sw_index); 120 int sfc_tx_start(struct sfc_adapter *sa); 121 void sfc_tx_stop(struct sfc_adapter *sa); 123 uint64_t sfc_tx_get_dev_offload_caps(struct sfc_adapter *sa); [all …]
|
| H A D | sfc_flow_rss.h | 55 struct sfc_adapter; 57 int sfc_flow_rss_attach(struct sfc_adapter *sa); 59 void sfc_flow_rss_detach(struct sfc_adapter *sa); 61 int sfc_flow_rss_parse_conf(struct sfc_adapter *sa, 66 struct sfc_flow_rss_ctx *sfc_flow_rss_ctx_reuse(struct sfc_adapter *sa, 70 int sfc_flow_rss_ctx_add(struct sfc_adapter *sa, 75 void sfc_flow_rss_ctx_del(struct sfc_adapter *sa, struct sfc_flow_rss_ctx *ctx); 77 int sfc_flow_rss_ctx_program(struct sfc_adapter *sa, 80 void sfc_flow_rss_ctx_terminate(struct sfc_adapter *sa,
|
| H A D | sfc_flow.h | 149 struct sfc_adapter; 151 int sfc_flow_parse_pattern(struct sfc_adapter *sa, 166 void sfc_flow_init(struct sfc_adapter *sa); 167 void sfc_flow_fini(struct sfc_adapter *sa); 168 int sfc_flow_start(struct sfc_adapter *sa); 169 void sfc_flow_stop(struct sfc_adapter *sa); 177 typedef int (sfc_flow_verify_cb_t)(struct sfc_adapter *sa, 180 typedef void (sfc_flow_cleanup_cb_t)(struct sfc_adapter *sa, 183 typedef int (sfc_flow_insert_cb_t)(struct sfc_adapter *sa, 186 typedef int (sfc_flow_remove_cb_t)(struct sfc_adapter *sa,
|
| H A D | sfc_ev.h | 23 struct sfc_adapter; 56 struct sfc_adapter *sa; 161 sfc_evq_sw_index_by_rxq_sw_index(struct sfc_adapter *sa, in sfc_evq_sw_index_by_rxq_sw_index() 194 sfc_evq_sw_index_by_txq_sw_index(struct sfc_adapter *sa, in sfc_evq_sw_index_by_txq_sw_index() 210 int sfc_ev_attach(struct sfc_adapter *sa); 211 void sfc_ev_detach(struct sfc_adapter *sa); 212 int sfc_ev_start(struct sfc_adapter *sa); 213 void sfc_ev_stop(struct sfc_adapter *sa); 215 int sfc_ev_qinit(struct sfc_adapter *sa, 225 void sfc_ev_mgmt_qpoll(struct sfc_adapter *sa);
|
| H A D | sfc_repr_proxy.h | 134 struct sfc_adapter; 136 int sfc_repr_proxy_attach(struct sfc_adapter *sa); 137 void sfc_repr_proxy_pre_detach(struct sfc_adapter *sa); 138 void sfc_repr_proxy_detach(struct sfc_adapter *sa); 139 int sfc_repr_proxy_txq_init(struct sfc_adapter *sa); 140 void sfc_repr_proxy_txq_fini(struct sfc_adapter *sa); 141 int sfc_repr_proxy_start(struct sfc_adapter *sa); 142 void sfc_repr_proxy_stop(struct sfc_adapter *sa);
|
| H A D | sfc_sriov.h | 28 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 D | sfc_mcdi.c | 22 struct sfc_adapter *sa = cookie; in sfc_mcdi_dma_alloc() 32 const struct sfc_adapter *sa = cookie; in sfc_mcdi_dma_free() 41 struct sfc_adapter *sa = cookie; in sfc_mcdi_sched_restart() 50 struct sfc_adapter *sa = cookie; in sfc_mcdi_mgmt_evq_poll() 63 sfc_mcdi_init(struct sfc_adapter *sa) in sfc_mcdi_init() 79 sfc_mcdi_fini(struct sfc_adapter *sa) in sfc_mcdi_fini()
|
| H A D | sfc_mae.h | 247 struct sfc_adapter; 348 struct sfc_adapter *sa; 374 int sfc_mae_attach(struct sfc_adapter *sa); 375 void sfc_mae_detach(struct sfc_adapter *sa); 377 int sfc_mae_rule_parse_pattern(struct sfc_adapter *sa, 381 int sfc_mae_rule_parse_actions(struct sfc_adapter *sa, 403 int sfc_mae_rule_add_mport_match_deliver(struct sfc_adapter *sa, 407 void sfc_mae_rule_del(struct sfc_adapter *sa, struct sfc_mae_rule *rule); 408 int sfc_mae_switchdev_init(struct sfc_adapter *sa); 409 void sfc_mae_switchdev_fini(struct sfc_adapter *sa);
|
| H A D | sfc_log.h | 46 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); \ 86 const struct sfc_adapter *_sa = (sa); \
|
| H A D | sfc_sw_stats.c | 165 sfc_sw_stat_get_name(struct sfc_adapter *sa, in sfc_sw_stat_get_name() 244 sfc_sw_stat_get_names(struct sfc_adapter *sa, in sfc_sw_stat_get_names() 328 sfc_sw_stat_get_val(struct sfc_adapter *sa, in sfc_sw_stat_get_val() 371 sfc_sw_xstat_get_values(struct sfc_adapter *sa, in sfc_sw_xstat_get_values() 501 sfc_sw_xstats_get_vals(struct sfc_adapter *sa, in sfc_sw_xstats_get_vals() 530 sfc_sw_xstats_get_names(struct sfc_adapter *sa, in sfc_sw_xstats_get_names() 618 sfc_sw_xstat_reset(struct sfc_adapter *sa, in sfc_sw_xstat_reset() 651 sfc_sw_xstats_reset(struct sfc_adapter *sa) in sfc_sw_xstats_reset() 741 sfc_sw_xstats_configure(struct sfc_adapter *sa) in sfc_sw_xstats_configure() 855 sfc_sw_xstats_init(struct sfc_adapter *sa) in sfc_sw_xstats_init() [all …]
|
| H A D | sfc_intr.c | 30 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 D | sfc_flow_tunnel.h | 71 struct sfc_adapter; 73 bool sfc_flow_tunnel_is_supported(struct sfc_adapter *sa); 75 bool sfc_flow_tunnel_is_active(struct sfc_adapter *sa); 77 struct sfc_flow_tunnel *sfc_flow_tunnel_pick(struct sfc_adapter *sa, 80 int sfc_flow_tunnel_detect_jump_rule(struct sfc_adapter *sa, 112 void sfc_flow_tunnel_reset_hit_counters(struct sfc_adapter *sa);
|
| H A D | sfc_repr_proxy.c | 43 static struct sfc_adapter * 47 struct sfc_adapter *sa; in sfc_get_adapter_by_pf_port_id() 60 sfc_put_adapter(struct sfc_adapter *sa) in sfc_put_adapter() 1287 struct sfc_adapter *sa; in sfc_repr_proxy_add_port() 1355 struct sfc_adapter *sa; in sfc_repr_proxy_del_port() 1406 struct sfc_adapter *sa; in sfc_repr_proxy_add_rxq() 1445 struct sfc_adapter *sa; in sfc_repr_proxy_del_rxq() 1479 struct sfc_adapter *sa; in sfc_repr_proxy_add_txq() 1512 struct sfc_adapter *sa; in sfc_repr_proxy_del_txq() 1540 struct sfc_adapter *sa; in sfc_repr_proxy_start_repr() [all …]
|
| H A D | sfc_filter.h | 38 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 D | sfc_nic_dma.c | 39 struct sfc_adapter *sa; 50 struct sfc_adapter *sa = register_data->sa; in sfc_nic_dma_register_mempool_chunk() 95 sfc_nic_dma_register_mempool(struct sfc_adapter *sa, struct rte_mempool *mp) in sfc_nic_dma_register_mempool() 155 struct sfc_adapter *sa = user_data; in sfc_mempool_event_cb() 168 struct sfc_adapter *sa; 184 sfc_nic_dma_attach_regioned(struct sfc_adapter *sa) in sfc_nic_dma_attach_regioned() 216 sfc_nic_dma_detach_regioned(struct sfc_adapter *sa) in sfc_nic_dma_detach_regioned() 225 sfc_nic_dma_attach(struct sfc_adapter *sa) in sfc_nic_dma_attach() 250 sfc_nic_dma_detach(struct sfc_adapter *sa) in sfc_nic_dma_detach() 271 sfc_nic_dma_mz_map(struct sfc_adapter *sa, const struct rte_memzone *mz, in sfc_nic_dma_mz_map()
|
| H A D | sfc_flow_tunnel.c | 19 sfc_flow_tunnel_is_supported(struct sfc_adapter *sa) in sfc_flow_tunnel_is_supported() 28 sfc_flow_tunnel_is_active(struct sfc_adapter *sa) in sfc_flow_tunnel_is_active() 37 sfc_flow_tunnel_pick(struct sfc_adapter *sa, uint32_t ft_mark) in sfc_flow_tunnel_pick() 56 sfc_flow_tunnel_detect_jump_rule(struct sfc_adapter *sa, in sfc_flow_tunnel_detect_jump_rule() 154 sfc_flow_tunnel_attach(struct sfc_adapter *sa, in sfc_flow_tunnel_attach() 230 sfc_flow_tunnel_detach(struct sfc_adapter *sa, in sfc_flow_tunnel_detach() 260 struct sfc_adapter *sa = sfc_adapter_by_eth_dev(dev); in sfc_flow_tunnel_decap_set() 297 struct sfc_adapter *sa = sfc_adapter_by_eth_dev(dev); in sfc_flow_tunnel_match() 333 struct sfc_adapter *sa = sfc_adapter_by_eth_dev(dev); in sfc_flow_tunnel_item_release() 376 struct sfc_adapter *sa = sfc_adapter_by_eth_dev(dev); in sfc_flow_tunnel_action_decap_release() [all …]
|
| H A D | sfc_mae_counter.c | 68 sfc_mae_counter_rxq_required(struct sfc_adapter *sa) in sfc_mae_counter_rxq_required() 79 sfc_mae_counter_enable(struct sfc_adapter *sa, in sfc_mae_counter_enable() 150 sfc_mae_counter_disable(struct sfc_adapter *sa, in sfc_mae_counter_disable() 191 sfc_mae_counter_increment(struct sfc_adapter *sa, in sfc_mae_counter_increment() 431 struct sfc_adapter *sa = arg; in sfc_mae_counter_service_routine() 445 struct sfc_adapter *sa = data; in sfc_mae_counter_thread() 507 sfc_counter_rxq_info_get(struct sfc_adapter *sa) in sfc_counter_rxq_info_get() 514 struct sfc_adapter *sa, in sfc_mae_counter_registry_prepare() 795 sfc_mae_counter_rxq_init(struct sfc_adapter *sa) in sfc_mae_counter_rxq_init() 868 sfc_mae_counter_stop(struct sfc_adapter *sa) in sfc_mae_counter_stop() [all …]
|
| H A D | sfc.c | 153 sfc_check_conf(struct sfc_adapter *sa) in sfc_check_conf() 442 sfc_try_start(struct sfc_adapter *sa) in sfc_try_start() 553 sfc_start(struct sfc_adapter *sa) in sfc_start() 609 sfc_stop(struct sfc_adapter *sa) in sfc_stop() 643 sfc_restart(struct sfc_adapter *sa) in sfc_restart() 664 struct sfc_adapter *sa = arg; in sfc_restart_if_required() 755 sfc_close(struct sfc_adapter *sa) in sfc_close() 879 sfc_attach(struct sfc_adapter *sa) in sfc_attach() 1084 sfc_detach(struct sfc_adapter *sa) in sfc_detach() 1269 sfc_probe(struct sfc_adapter *sa) in sfc_probe() [all …]
|
| H A D | sfc_kvargs.h | 79 struct sfc_adapter; 81 int sfc_kvargs_parse(struct sfc_adapter *sa); 82 void sfc_kvargs_cleanup(struct sfc_adapter *sa); 84 int sfc_kvargs_process(struct sfc_adapter *sa, const char *key_match,
|
| H A D | sfc_port.c | 95 sfc_port_reset_sw_stats(struct sfc_adapter *sa) in sfc_port_reset_sw_stats() 107 sfc_port_reset_mac_stats(struct sfc_adapter *sa) in sfc_port_reset_mac_stats() 121 sfc_port_init_dev_link(struct sfc_adapter *sa) in sfc_port_init_dev_link() 185 sfc_port_start(struct sfc_adapter *sa) in sfc_port_start() 364 sfc_port_stop(struct sfc_adapter *sa) in sfc_port_stop() 382 sfc_port_configure(struct sfc_adapter *sa) in sfc_port_configure() 395 sfc_port_close(struct sfc_adapter *sa) in sfc_port_close() 401 sfc_port_attach(struct sfc_adapter *sa) in sfc_port_attach() 489 sfc_port_detach(struct sfc_adapter *sa) in sfc_port_detach() 516 sfc_set_rx_mode_unchecked(struct sfc_adapter *sa) in sfc_set_rx_mode_unchecked() [all …]
|
| H A D | sfc_nic_dma.h | 18 int sfc_nic_dma_attach(struct sfc_adapter *sa); 19 void sfc_nic_dma_detach(struct sfc_adapter *sa); 21 int sfc_nic_dma_mz_map(struct sfc_adapter *sa, const struct rte_memzone *mz,
|