Home
last modified time | relevance | path

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

12345

/openbmc/linux/drivers/net/ethernet/sfc/
H A Dmae.h22 int efx_mae_free_mport(struct efx_nic *efx, u32 id);
50 int efx_mae_enumerate_mports(struct efx_nic *efx);
61 struct efx_nic *efx;
69 int efx_mae_get_tables(struct efx_nic *efx);
70 void efx_mae_free_tables(struct efx_nic *efx);
84 int efx_mae_match_check_caps(struct efx_nic *efx,
101 int efx_mae_update_encap_md(struct efx_nic *efx,
103 int efx_mae_free_encap_md(struct efx_nic *efx,
108 void efx_mae_free_pedit_mac(struct efx_nic *efx,
134 int efx_init_mae(struct efx_nic *efx);
[all …]
H A Defx_common.h16 void efx_fini_io(struct efx_nic *efx);
18 void efx_fini_struct(struct efx_nic *efx);
30 void efx_start_all(struct efx_nic *efx);
31 void efx_stop_all(struct efx_nic *efx);
36 void efx_queue_reset_work(struct efx_nic *efx);
40 void efx_start_monitor(struct efx_nic *efx);
42 int __efx_reconfigure_port(struct efx_nic *efx);
43 int efx_reconfigure_port(struct efx_nic *efx);
52 int efx_try_recovery(struct efx_nic *efx);
115 void efx_detach_reps(struct efx_nic *efx);
[all …]
H A Dmcdi_port_common.h32 void efx_link_set_advertising(struct efx_nic *efx,
39 u32 efx_get_mcdi_phy_flags(struct efx_nic *efx);
41 void efx_mcdi_phy_decode_link(struct efx_nic *efx,
47 bool efx_mcdi_phy_poll(struct efx_nic *efx);
48 int efx_mcdi_phy_probe(struct efx_nic *efx);
49 void efx_mcdi_phy_remove(struct efx_nic *efx);
54 int efx_mcdi_phy_test_alive(struct efx_nic *efx);
60 int efx_mcdi_set_mac(struct efx_nic *efx);
61 int efx_mcdi_set_mtu(struct efx_nic *efx);
62 int efx_mcdi_mac_init_stats(struct efx_nic *efx);
[all …]
H A Def10_sriov.h22 struct efx_nic *efx;
37 int efx_ef10_sriov_init(struct efx_nic *efx);
38 void efx_ef10_sriov_fini(struct efx_nic *efx);
54 int efx_ef10_vswitching_probe_pf(struct efx_nic *efx);
55 int efx_ef10_vswitching_probe_vf(struct efx_nic *efx);
56 int efx_ef10_vswitching_restore_pf(struct efx_nic *efx);
57 int efx_ef10_vswitching_restore_vf(struct efx_nic *efx);
58 void efx_ef10_vswitching_remove_pf(struct efx_nic *efx);
59 void efx_ef10_vswitching_remove_vf(struct efx_nic *efx);
60 int efx_ef10_vport_add_mac(struct efx_nic *efx,
[all …]
H A Dmcdi_filters.h97 void efx_mcdi_filter_table_down(struct efx_nic *efx);
98 void efx_mcdi_filter_table_remove(struct efx_nic *efx);
99 void efx_mcdi_filter_table_restore(struct efx_nic *efx);
122 void efx_mcdi_filter_sync_rx_mode(struct efx_nic *efx);
125 int efx_mcdi_filter_remove_safe(struct efx_nic *efx,
128 int efx_mcdi_filter_get_safe(struct efx_nic *efx,
132 u32 efx_mcdi_filter_count_rx_used(struct efx_nic *efx,
134 int efx_mcdi_filter_clear_rx(struct efx_nic *efx,
137 s32 efx_mcdi_filter_get_rx_ids(struct efx_nic *efx,
146 void efx_mcdi_rx_free_indir_table(struct efx_nic *efx);
[all …]
H A Defx_channels.h17 int efx_probe_interrupts(struct efx_nic *efx);
18 void efx_remove_interrupts(struct efx_nic *efx);
21 int efx_enable_interrupts(struct efx_nic *efx);
36 int efx_init_channels(struct efx_nic *efx);
37 int efx_probe_channels(struct efx_nic *efx);
38 int efx_set_channels(struct efx_nic *efx);
41 void efx_fini_channels(struct efx_nic *efx);
43 void efx_start_channels(struct efx_nic *efx);
44 void efx_stop_channels(struct efx_nic *efx);
47 void efx_init_napi(struct efx_nic *efx);
[all …]
H A Dptp.h17 void efx_ptp_defer_probe_with_channel(struct efx_nic *efx);
18 struct efx_channel *efx_ptp_channel(struct efx_nic *efx);
20 void efx_ptp_remove(struct efx_nic *efx);
25 int efx_ptp_get_mode(struct efx_nic *efx);
26 int efx_ptp_change_mode(struct efx_nic *efx, bool enable_wanted,
28 int efx_ptp_tx(struct efx_nic *efx, struct sk_buff *skb);
29 void efx_ptp_event(struct efx_nic *efx, efx_qword_t *ev);
31 size_t efx_ptp_update_stats(struct efx_nic *efx, u64 *stats);
41 void efx_ptp_start_datapath(struct efx_nic *efx);
42 void efx_ptp_stop_datapath(struct efx_nic *efx);
[all …]
H A Dnet_driver.h377 struct efx_nic *efx;
484 struct efx_nic *efx;
559 struct efx_nic *efx;
673 struct efx_nic;
978 struct efx_nic { struct
983 struct efx_nic *primary; argument
1170 struct efx_nic efx; argument
1357 int (*probe)(struct efx_nic *efx);
1358 void (*remove)(struct efx_nic *efx);
1359 int (*init)(struct efx_nic *efx);
[all …]
H A Defx.h71 static inline bool efx_rss_enabled(struct efx_nic *efx) in efx_rss_enabled()
103 static inline s32 efx_filter_insert_filter(struct efx_nic *efx, in efx_filter_insert_filter()
137 efx_filter_get_filter_safe(struct efx_nic *efx, in efx_filter_get_filter_safe()
153 static inline s32 efx_filter_get_rx_ids(struct efx_nic *efx, in efx_filter_get_rx_ids()
179 void efx_update_sw_stats(struct efx_nic *efx, u64 *stats);
185 static inline int efx_mtd_probe(struct efx_nic *efx) in efx_mtd_probe()
189 void efx_mtd_rename(struct efx_nic *efx);
190 void efx_mtd_remove(struct efx_nic *efx);
193 static inline void efx_mtd_rename(struct efx_nic *efx) {} in efx_mtd_rename()
194 static inline void efx_mtd_remove(struct efx_nic *efx) {} in efx_mtd_remove()
[all …]
H A Dmcdi.h68 struct efx_nic *efx;
141 int efx_mcdi_init(struct efx_nic *efx);
142 void efx_mcdi_detach(struct efx_nic *efx);
143 void efx_mcdi_fini(struct efx_nic *efx);
180 int efx_mcdi_poll_reboot(struct efx_nic *efx);
181 void efx_mcdi_mode_poll(struct efx_nic *efx);
182 void efx_mcdi_mode_event(struct efx_nic *efx);
183 void efx_mcdi_flush_async(struct efx_nic *efx);
416 int efx_mcdi_flush_rxqs(struct efx_nic *efx);
430 int efx_mcdi_mon_probe(struct efx_nic *efx);
[all …]
H A Dtc_encap_actions.h64 struct efx_nic *efx;
87 int efx_tc_init_encap_actions(struct efx_nic *efx);
88 void efx_tc_destroy_encap_actions(struct efx_nic *efx);
89 void efx_tc_fini_encap_actions(struct efx_nic *efx);
92 bool efx_tc_check_ready(struct efx_nic *efx, struct efx_tc_flow_rule *rule);
95 struct efx_nic *efx, const struct ip_tunnel_info *info,
97 void efx_tc_flower_release_encap_md(struct efx_nic *efx,
100 void efx_tc_unregister_egdev(struct efx_nic *efx, struct net_device *net_dev);
101 int efx_tc_netevent_event(struct efx_nic *efx, unsigned long event,
106 static inline int efx_tc_netevent_event(struct efx_nic *efx, in efx_tc_netevent_event()
H A Drx_common.h32 static inline u32 efx_rx_buf_hash(struct efx_nic *efx, const u8 *eh) in efx_rx_buf_hash()
65 void efx_unmap_rx_buffer(struct efx_nic *efx, struct efx_rx_buffer *rx_buf);
67 static inline void efx_sync_rx_buffer(struct efx_nic *efx, in efx_sync_rx_buffer()
80 void efx_rx_config_page_split(struct efx_nic *efx);
87 struct efx_rss_context *efx_alloc_rss_context_entry(struct efx_nic *efx);
90 void efx_set_default_rx_indir_table(struct efx_nic *efx,
101 struct efx_arfs_rule *efx_rps_hash_find(struct efx_nic *efx,
103 struct efx_arfs_rule *efx_rps_hash_add(struct efx_nic *efx,
106 void efx_rps_hash_del(struct efx_nic *efx, const struct efx_filter_spec *spec);
113 int efx_probe_filters(struct efx_nic *efx);
[all …]
H A Dtc_counters.h48 int efx_tc_init_counters(struct efx_nic *efx);
49 void efx_tc_destroy_counters(struct efx_nic *efx);
50 void efx_tc_fini_counters(struct efx_nic *efx);
52 struct efx_tc_counter *efx_tc_flower_allocate_counter(struct efx_nic *efx,
54 void efx_tc_flower_release_counter(struct efx_nic *efx,
57 struct efx_nic *efx, unsigned long cookie,
59 void efx_tc_flower_put_counter_index(struct efx_nic *efx,
62 struct efx_nic *efx, unsigned long cookie);
H A Def100_rep.h47 struct efx_nic *parent;
63 int efx_ef100_vfrep_create(struct efx_nic *efx, unsigned int i);
64 void efx_ef100_vfrep_destroy(struct efx_nic *efx, struct efx_rep *efv);
65 void efx_ef100_fini_vfreps(struct efx_nic *efx);
72 struct efx_rep *efx_ef100_find_rep_by_mport(struct efx_nic *efx, u16 mport);
74 void efx_ef100_init_reps(struct efx_nic *efx);
75 void efx_ef100_fini_reps(struct efx_nic *efx);
77 bool ef100_mport_on_local_intf(struct efx_nic *efx,
H A Def100_nic.h20 int ef100_probe_netdev_pf(struct efx_nic *efx);
21 int ef100_probe_vf(struct efx_nic *efx);
22 void ef100_remove(struct efx_nic *efx);
65 struct efx_nic *efx;
91 int efx_ef100_init_datapath_caps(struct efx_nic *efx);
92 int ef100_phy_probe(struct efx_nic *efx);
93 int ef100_filter_table_probe(struct efx_nic *efx);
95 int ef100_get_mac_address(struct efx_nic *efx, u8 *mac_address,
97 int efx_ef100_lookup_client_id(struct efx_nic *efx, efx_qword_t pciefn, u32 *id);
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Defx_common.h16 void efx_siena_fini_io(struct efx_nic *efx);
19 void efx_siena_fini_struct(struct efx_nic *efx);
31 void efx_siena_start_all(struct efx_nic *efx);
32 void efx_siena_stop_all(struct efx_nic *efx);
38 void efx_siena_queue_reset_work(struct efx_nic *efx);
42 void efx_siena_start_monitor(struct efx_nic *efx);
44 int __efx_siena_reconfigure_port(struct efx_nic *efx);
45 int efx_siena_reconfigure_port(struct efx_nic *efx);
55 int efx_siena_try_recovery(struct efx_nic *efx);
63 int efx_siena_port_dummy_op_int(struct efx_nic *efx);
[all …]
H A Dnic.h14 u32 efx_farch_fpga_ver(struct efx_nic *efx);
104 struct efx_nic *efx;
155 int efx_farch_filter_get_safe(struct efx_nic *efx,
182 int efx_farch_fini_dmaq(struct efx_nic *efx);
183 void efx_farch_finish_flr(struct efx_nic *efx);
184 void siena_finish_flush(struct efx_nic *efx);
185 void falcon_start_nic_stats(struct efx_nic *efx);
186 void falcon_stop_nic_stats(struct efx_nic *efx);
187 int falcon_reset_xaui(struct efx_nic *efx);
189 void efx_farch_init_common(struct efx_nic *efx);
[all …]
H A Defx_channels.h17 int efx_siena_probe_interrupts(struct efx_nic *efx);
18 void efx_siena_remove_interrupts(struct efx_nic *efx);
19 int efx_siena_enable_interrupts(struct efx_nic *efx);
31 int efx_siena_init_channels(struct efx_nic *efx);
32 int efx_siena_probe_channels(struct efx_nic *efx);
33 int efx_siena_set_channels(struct efx_nic *efx);
36 void efx_siena_fini_channels(struct efx_nic *efx);
37 void efx_siena_start_channels(struct efx_nic *efx);
38 void efx_siena_stop_channels(struct efx_nic *efx);
40 void efx_siena_init_napi(struct efx_nic *efx);
[all …]
H A Dnet_driver.h390 struct efx_nic *efx;
492 struct efx_nic *efx;
566 struct efx_nic *efx;
631 struct efx_nic;
944 struct efx_nic { struct
949 struct efx_nic *primary; argument
1306 int (*probe)(struct efx_nic *efx);
1307 void (*remove)(struct efx_nic *efx);
1308 int (*init)(struct efx_nic *efx);
1310 void (*fini)(struct efx_nic *efx);
[all …]
H A Dmcdi_port_common.h31 void efx_siena_link_set_advertising(struct efx_nic *efx,
33 bool efx_siena_mcdi_phy_poll(struct efx_nic *efx);
34 int efx_siena_mcdi_phy_probe(struct efx_nic *efx);
35 void efx_siena_mcdi_phy_remove(struct efx_nic *efx);
40 int efx_siena_mcdi_phy_get_fecparam(struct efx_nic *efx,
42 int efx_siena_mcdi_phy_set_fecparam(struct efx_nic *efx,
44 int efx_siena_mcdi_phy_test_alive(struct efx_nic *efx);
45 int efx_siena_mcdi_port_reconfigure(struct efx_nic *efx);
54 int efx_siena_mcdi_set_mac(struct efx_nic *efx);
55 int efx_siena_mcdi_mac_init_stats(struct efx_nic *efx);
[all …]
H A Dsiena_sriov.h41 int efx_siena_sriov_configure(struct efx_nic *efx, int num_vfs);
42 int efx_siena_sriov_init(struct efx_nic *efx);
43 void efx_siena_sriov_fini(struct efx_nic *efx);
44 int efx_siena_sriov_mac_address_changed(struct efx_nic *efx);
45 bool efx_siena_sriov_wanted(struct efx_nic *efx);
46 void efx_siena_sriov_reset(struct efx_nic *efx);
47 void efx_siena_sriov_flr(struct efx_nic *efx, unsigned flr);
50 int efx_siena_sriov_set_vf_vlan(struct efx_nic *efx, int vf,
54 int efx_siena_sriov_get_vf_config(struct efx_nic *efx, int vf,
59 static inline bool efx_siena_sriov_enabled(struct efx_nic *efx) in efx_siena_sriov_enabled()
[all …]
H A Dptp.h16 void efx_siena_ptp_defer_probe_with_channel(struct efx_nic *efx);
17 struct efx_channel *efx_siena_ptp_channel(struct efx_nic *efx);
20 void efx_siena_ptp_get_ts_info(struct efx_nic *efx,
23 int efx_siena_ptp_get_mode(struct efx_nic *efx);
24 int efx_siena_ptp_change_mode(struct efx_nic *efx, bool enable_wanted,
26 int efx_siena_ptp_tx(struct efx_nic *efx, struct sk_buff *skb);
27 void efx_siena_ptp_event(struct efx_nic *efx, efx_qword_t *ev);
29 size_t efx_siena_ptp_update_stats(struct efx_nic *efx, u64 *stats);
40 void efx_siena_ptp_start_datapath(struct efx_nic *efx);
41 void efx_siena_ptp_stop_datapath(struct efx_nic *efx);
[all …]
H A Defx.h55 static inline bool efx_rss_enabled(struct efx_nic *efx) in efx_rss_enabled()
87 static inline s32 efx_filter_insert_filter(struct efx_nic *efx, in efx_filter_insert_filter()
121 efx_filter_get_filter_safe(struct efx_nic *efx, in efx_filter_get_filter_safe()
128 static inline u32 efx_filter_count_rx_used(struct efx_nic *efx, in efx_filter_count_rx_used()
137 static inline s32 efx_filter_get_rx_ids(struct efx_nic *efx, in efx_filter_get_rx_ids()
168 static inline int efx_mtd_probe(struct efx_nic *efx) in efx_mtd_probe()
172 void efx_siena_mtd_rename(struct efx_nic *efx);
173 void efx_siena_mtd_remove(struct efx_nic *efx);
181 static inline unsigned int efx_vf_size(struct efx_nic *efx) in efx_vf_size()
187 static inline void efx_device_detach_sync(struct efx_nic *efx) in efx_device_detach_sync()
[all …]
H A Dmcdi.h68 struct efx_nic *efx;
141 int efx_siena_mcdi_init(struct efx_nic *efx);
142 void efx_siena_mcdi_detach(struct efx_nic *efx);
143 void efx_siena_mcdi_fini(struct efx_nic *efx);
182 int efx_siena_mcdi_poll_reboot(struct efx_nic *efx);
183 void efx_siena_mcdi_mode_poll(struct efx_nic *efx);
184 void efx_siena_mcdi_mode_event(struct efx_nic *efx);
185 void efx_siena_mcdi_flush_async(struct efx_nic *efx);
360 int efx_siena_mcdi_flush_rxqs(struct efx_nic *efx);
369 int efx_siena_mcdi_mon_probe(struct efx_nic *efx);
[all …]
H A Drx_common.h32 static inline u32 efx_rx_buf_hash(struct efx_nic *efx, const u8 *eh) in efx_rx_buf_hash()
60 static inline void efx_sync_rx_buffer(struct efx_nic *efx, in efx_sync_rx_buffer()
72 void efx_siena_rx_config_page_split(struct efx_nic *efx);
81 struct efx_rss_context *efx_siena_alloc_rss_context_entry(struct efx_nic *efx);
82 struct efx_rss_context *efx_siena_find_rss_context_entry(struct efx_nic *efx,
85 void efx_siena_set_default_rx_indir_table(struct efx_nic *efx,
96 struct efx_arfs_rule *efx_siena_rps_hash_find(struct efx_nic *efx,
98 void efx_siena_rps_hash_del(struct efx_nic *efx,
107 int efx_siena_probe_filters(struct efx_nic *efx);
108 void efx_siena_remove_filters(struct efx_nic *efx);

12345