Home
last modified time | relevance | path

Searched refs:efx_nic (Results 1 - 25 of 154) sorted by relevance

1234567

/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Dmae.h21 int efx_mae_allocate_mport(struct efx_nic *efx, u32 *id, u32 *label);
22 int efx_mae_free_mport(struct efx_nic *efx, u32 id);
24 void efx_mae_mport_wire(struct efx_nic *efx, u32 *out);
25 void efx_mae_mport_uplink(struct efx_nic *efx, u32 *out);
26 void efx_mae_mport_vf(struct efx_nic *efx, u32 vf_id, u32 *out);
27 void efx_mae_mport_mport(struct efx_nic *efx, u32 mport_id, u32 *out);
29 int efx_mae_lookup_mport(struct efx_nic *efx, u32 selector, u32 *id);
50 int efx_mae_enumerate_mports(struct efx_nic *efx);
51 struct mae_mport_desc *efx_mae_get_mport(struct efx_nic *efx, u32 mport_id);
52 void efx_mae_put_mport(struct efx_nic *ef
[all...]
H A Defx_common.h14 int efx_init_io(struct efx_nic *efx, int bar, dma_addr_t dma_mask,
16 void efx_fini_io(struct efx_nic *efx);
17 int efx_init_struct(struct efx_nic *efx, struct pci_dev *pci_dev);
18 void efx_fini_struct(struct efx_nic *efx);
27 void efx_link_clear_advertising(struct efx_nic *efx);
28 void efx_link_set_wanted_fc(struct efx_nic *efx, u8);
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);
37 void efx_flush_reset_workqueue(struct efx_nic *ef
[all...]
H A Def10_sriov.h14 * @efx: efx_nic struct for the current VF
22 struct efx_nic *efx;
31 static inline bool efx_ef10_sriov_wanted(struct efx_nic *efx) in efx_ef10_sriov_wanted()
36 int efx_ef10_sriov_configure(struct efx_nic *efx, int num_vfs);
37 int efx_ef10_sriov_init(struct efx_nic *efx);
38 void efx_ef10_sriov_fini(struct efx_nic *efx);
40 int efx_ef10_sriov_set_vf_mac(struct efx_nic *efx, int vf, const u8 *mac);
42 int efx_ef10_sriov_set_vf_vlan(struct efx_nic *efx, int vf_i,
45 int efx_ef10_sriov_set_vf_spoofchk(struct efx_nic *efx, int vf,
48 int efx_ef10_sriov_get_vf_config(struct efx_nic *ef
[all...]
H A Dmcdi_filters.h96 int efx_mcdi_filter_table_probe(struct efx_nic *efx, bool multicast_chaining);
97 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);
101 void efx_mcdi_filter_table_reset_mc_allocations(struct efx_nic *efx);
122 void efx_mcdi_filter_sync_rx_mode(struct efx_nic *efx);
123 s32 efx_mcdi_filter_insert(struct efx_nic *efx, struct efx_filter_spec *spec,
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 *ef
[all...]
H A Defx_channels.h17 int efx_probe_interrupts(struct efx_nic *efx);
18 void efx_remove_interrupts(struct efx_nic *efx);
19 int efx_soft_enable_interrupts(struct efx_nic *efx);
20 void efx_soft_disable_interrupts(struct efx_nic *efx);
21 int efx_enable_interrupts(struct efx_nic *efx);
22 void efx_disable_interrupts(struct efx_nic *efx);
24 void efx_set_interrupt_affinity(struct efx_nic *efx);
25 void efx_clear_interrupt_affinity(struct efx_nic *efx);
34 int efx_realloc_channels(struct efx_nic *efx, u32 rxq_entries, u32 txq_entries);
35 void efx_set_channel_names(struct efx_nic *ef
[all...]
H A Dmcdi_port_common.h31 int efx_mcdi_get_phy_cfg(struct efx_nic *efx, struct efx_mcdi_phy_data *cfg);
32 void efx_link_set_advertising(struct efx_nic *efx,
34 int efx_mcdi_set_link(struct efx_nic *efx, u32 capabilities,
36 int efx_mcdi_loopback_modes(struct efx_nic *efx, u64 *loopback_modes);
39 u32 efx_get_mcdi_phy_flags(struct efx_nic *efx);
41 void efx_mcdi_phy_decode_link(struct efx_nic *efx,
46 void efx_mcdi_phy_check_fcntl(struct efx_nic *efx, u32 lpa);
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 *ef
[all...]
H A Dptp.h16 int efx_ptp_probe(struct efx_nic *efx, struct efx_channel *channel);
17 void efx_ptp_defer_probe_with_channel(struct efx_nic *efx);
18 struct efx_channel *efx_ptp_channel(struct efx_nic *efx);
19 void efx_ptp_update_channel(struct efx_nic *efx, struct efx_channel *channel);
20 void efx_ptp_remove(struct efx_nic *efx);
21 int efx_ptp_set_ts_config(struct efx_nic *efx, struct ifreq *ifr);
22 int efx_ptp_get_ts_config(struct efx_nic *efx, struct ifreq *ifr);
23 void efx_ptp_get_ts_info(struct efx_nic *efx, struct ethtool_ts_info *ts_info);
24 bool efx_ptp_is_ptp_tx(struct efx_nic *efx, struct sk_buff *skb);
25 int efx_ptp_get_mode(struct efx_nic *ef
[all...]
H A Dnet_driver.h241 struct efx_nic *efx ____cacheline_aligned_in_smp;
377 struct efx_nic *efx;
484 struct efx_nic *efx;
559 struct efx_nic *efx;
585 void (*handle_no_channel)(struct efx_nic *);
673 struct efx_nic;
805 /* Maximum number of ARFS workitems that may be in flight on an efx_nic */
818 * struct efx_nic - an Efx NIC
822 * @primary: &struct efx_nic instance for the primary function of this
825 * @secondary_list: List of &struct efx_nic instance
978 struct efx_nic { global() struct
[all...]
H A Defx.h46 static inline bool efx_rx_buf_hash_valid(struct efx_nic *efx, const u8 *prefix) in efx_rx_buf_hash_valid()
71 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()
119 static inline int efx_filter_remove_id_safe(struct efx_nic *efx, in efx_filter_remove_id_safe()
137 efx_filter_get_filter_safe(struct efx_nic *efx, in efx_filter_get_filter_safe()
144 static inline u32 efx_filter_count_rx_used(struct efx_nic *efx, in efx_filter_count_rx_used()
149 static inline u32 efx_filter_get_rx_id_limit(struct efx_nic *efx) in efx_filter_get_rx_id_limit()
153 static inline s32 efx_filter_get_rx_ids(struct efx_nic *efx, in efx_filter_get_rx_ids()
170 unsigned int efx_usecs_to_ticks(struct efx_nic *efx, unsigned int usecs);
171 unsigned int efx_ticks_to_usecs(struct efx_nic *ef
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
H A Def10_sriov.h14 * @efx: efx_nic struct for the current VF
22 struct efx_nic *efx;
31 static inline bool efx_ef10_sriov_wanted(struct efx_nic *efx) in efx_ef10_sriov_wanted()
36 int efx_ef10_sriov_configure(struct efx_nic *efx, int num_vfs);
37 int efx_ef10_sriov_init(struct efx_nic *efx);
38 static inline void efx_ef10_sriov_reset(struct efx_nic *efx) {} in efx_ef10_sriov_reset()
39 void efx_ef10_sriov_fini(struct efx_nic *efx);
40 static inline void efx_ef10_sriov_flr(struct efx_nic *efx, unsigned vf_i) {} in efx_ef10_sriov_flr()
42 int efx_ef10_sriov_set_vf_mac(struct efx_nic *efx, int vf, u8 *mac);
44 int efx_ef10_sriov_set_vf_vlan(struct efx_nic *ef
[all...]
H A Dmcdi_filters.h95 int efx_mcdi_filter_table_probe(struct efx_nic *efx, bool multicast_chaining);
96 void efx_mcdi_filter_table_down(struct efx_nic *efx);
97 void efx_mcdi_filter_table_remove(struct efx_nic *efx);
98 void efx_mcdi_filter_table_restore(struct efx_nic *efx);
100 void efx_mcdi_filter_table_reset_mc_allocations(struct efx_nic *efx);
121 void efx_mcdi_filter_sync_rx_mode(struct efx_nic *efx);
122 s32 efx_mcdi_filter_insert(struct efx_nic *efx, struct efx_filter_spec *spec,
124 int efx_mcdi_filter_remove_safe(struct efx_nic *efx,
127 int efx_mcdi_filter_get_safe(struct efx_nic *efx,
131 u32 efx_mcdi_filter_count_rx_used(struct efx_nic *ef
[all...]
H A Defx_common.h14 int efx_init_io(struct efx_nic *efx, int bar, dma_addr_t dma_mask,
16 void efx_fini_io(struct efx_nic *efx);
17 int efx_init_struct(struct efx_nic *efx, struct pci_dev *pci_dev,
19 void efx_fini_struct(struct efx_nic *efx);
28 void efx_link_clear_advertising(struct efx_nic *efx);
29 void efx_link_set_wanted_fc(struct efx_nic *efx, u8);
31 void efx_start_all(struct efx_nic *efx);
32 void efx_stop_all(struct efx_nic *efx);
37 void efx_queue_reset_work(struct efx_nic *efx);
38 void efx_flush_reset_workqueue(struct efx_nic *ef
[all...]
H A Defx_channels.h17 int efx_probe_interrupts(struct efx_nic *efx);
18 void efx_remove_interrupts(struct efx_nic *efx);
19 int efx_soft_enable_interrupts(struct efx_nic *efx);
20 void efx_soft_disable_interrupts(struct efx_nic *efx);
21 int efx_enable_interrupts(struct efx_nic *efx);
22 void efx_disable_interrupts(struct efx_nic *efx);
24 void efx_set_interrupt_affinity(struct efx_nic *efx);
25 void efx_clear_interrupt_affinity(struct efx_nic *efx);
34 int efx_realloc_channels(struct efx_nic *efx, u32 rxq_entries, u32 txq_entries);
36 void efx_set_channel_names(struct efx_nic *ef
[all...]
H A Dmcdi_port_common.h31 int efx_mcdi_get_phy_cfg(struct efx_nic *efx, struct efx_mcdi_phy_data *cfg);
32 void efx_link_set_advertising(struct efx_nic *efx,
34 int efx_mcdi_set_link(struct efx_nic *efx, u32 capabilities,
36 int efx_mcdi_loopback_modes(struct efx_nic *efx, u64 *loopback_modes);
39 u32 efx_get_mcdi_phy_flags(struct efx_nic *efx);
41 void efx_mcdi_phy_decode_link(struct efx_nic *efx,
46 void efx_mcdi_phy_check_fcntl(struct efx_nic *efx, u32 lpa);
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 *ef
[all...]
H A Dptp.h16 int efx_ptp_probe(struct efx_nic *efx, struct efx_channel *channel);
17 void efx_ptp_defer_probe_with_channel(struct efx_nic *efx);
18 struct efx_channel *efx_ptp_channel(struct efx_nic *efx);
19 void efx_ptp_update_channel(struct efx_nic *efx, struct efx_channel *channel);
20 void efx_ptp_remove(struct efx_nic *efx);
21 int efx_ptp_set_ts_config(struct efx_nic *efx, struct ifreq *ifr);
22 int efx_ptp_get_ts_config(struct efx_nic *efx, struct ifreq *ifr);
23 void efx_ptp_get_ts_info(struct efx_nic *efx, struct ethtool_ts_info *ts_info);
24 bool efx_ptp_is_ptp_tx(struct efx_nic *efx, struct sk_buff *skb);
25 int efx_ptp_get_mode(struct efx_nic *ef
[all...]
H A Dnet_driver.h260 struct efx_nic *efx ____cacheline_aligned_in_smp;
391 struct efx_nic *efx;
493 struct efx_nic *efx;
567 struct efx_nic *efx;
590 void (*handle_no_channel)(struct efx_nic *);
679 struct efx_nic;
823 /* Maximum number of ARFS workitems that may be in flight on an efx_nic */
828 * struct efx_nic - an Efx NIC
832 * @primary: &struct efx_nic instance for the primary function of this
835 * @secondary_list: List of &struct efx_nic instance
985 struct efx_nic { global() struct
[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);
49 int efx_siena_sriov_set_vf_mac(struct efx_nic *efx, int vf, u8 *mac);
50 int efx_siena_sriov_set_vf_vlan(struct efx_nic *efx, int vf,
52 int efx_siena_sriov_set_vf_spoofchk(struct efx_nic *ef
[all...]
H A Defx.h48 static inline bool efx_rx_buf_hash_valid(struct efx_nic *efx, const u8 *prefix) in efx_rx_buf_hash_valid()
73 static inline bool efx_rss_enabled(struct efx_nic *efx) in efx_rss_enabled()
105 static inline s32 efx_filter_insert_filter(struct efx_nic *efx, in efx_filter_insert_filter()
121 static inline int efx_filter_remove_id_safe(struct efx_nic *efx, in efx_filter_remove_id_safe()
139 efx_filter_get_filter_safe(struct efx_nic *efx, in efx_filter_get_filter_safe()
146 static inline u32 efx_filter_count_rx_used(struct efx_nic *efx, in efx_filter_count_rx_used()
151 static inline u32 efx_filter_get_rx_id_limit(struct efx_nic *efx) in efx_filter_get_rx_id_limit()
155 static inline s32 efx_filter_get_rx_ids(struct efx_nic *efx, in efx_filter_get_rx_ids()
172 unsigned int efx_usecs_to_ticks(struct efx_nic *efx, unsigned int usecs);
173 unsigned int efx_ticks_to_usecs(struct efx_nic *ef
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/
H A Dnic.h14 u32 efx_farch_fpga_ver(struct efx_nic *efx);
104 struct efx_nic *efx;
121 int falcon_probe_board(struct efx_nic *efx, u16 revision_info);
146 int efx_farch_filter_table_probe(struct efx_nic *efx);
147 void efx_farch_filter_table_restore(struct efx_nic *efx);
148 void efx_farch_filter_table_remove(struct efx_nic *efx);
149 void efx_farch_filter_update_rx_scatter(struct efx_nic *efx);
150 s32 efx_farch_filter_insert(struct efx_nic *efx, struct efx_filter_spec *spec,
152 int efx_farch_filter_remove_safe(struct efx_nic *efx,
155 int efx_farch_filter_get_safe(struct efx_nic *ef
[all...]
H A Defx_common.h14 int efx_siena_init_io(struct efx_nic *efx, int bar, dma_addr_t dma_mask,
16 void efx_siena_fini_io(struct efx_nic *efx);
17 int efx_siena_init_struct(struct efx_nic *efx, struct pci_dev *pci_dev,
19 void efx_siena_fini_struct(struct efx_nic *efx);
28 void efx_siena_link_clear_advertising(struct efx_nic *efx);
29 void efx_siena_link_set_wanted_fc(struct efx_nic *efx, u8 wanted_fc);
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);
39 void efx_siena_flush_reset_workqueue(struct efx_nic *ef
[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);
20 void efx_siena_disable_interrupts(struct efx_nic *efx);
22 void efx_siena_set_interrupt_affinity(struct efx_nic *efx);
23 void efx_siena_clear_interrupt_affinity(struct efx_nic *efx);
28 int efx_siena_realloc_channels(struct efx_nic *efx, u32 rxq_entries,
30 void efx_siena_set_channel_names(struct efx_nic *efx);
31 int efx_siena_init_channels(struct efx_nic *efx);
32 int efx_siena_probe_channels(struct efx_nic *ef
[all...]
H A Dnet_driver.h259 struct efx_nic *efx ____cacheline_aligned_in_smp;
390 struct efx_nic *efx;
492 struct efx_nic *efx;
566 struct efx_nic *efx;
589 void (*handle_no_channel)(struct efx_nic *);
631 struct efx_nic;
775 /* Maximum number of ARFS workitems that may be in flight on an efx_nic */
786 * struct efx_nic - an Efx NIC
790 * @primary: &struct efx_nic instance for the primary function of this
793 * @secondary_list: List of &struct efx_nic instance
944 struct efx_nic { global() struct
[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);
36 void efx_siena_mcdi_phy_get_link_ksettings(struct efx_nic *efx,
38 int efx_siena_mcdi_phy_set_link_ksettings(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 *ef
[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);
49 int efx_siena_sriov_set_vf_mac(struct efx_nic *efx, int vf, const u8 *mac);
50 int efx_siena_sriov_set_vf_vlan(struct efx_nic *efx, int vf,
52 int efx_siena_sriov_set_vf_spoofchk(struct efx_nic *ef
[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);
18 int efx_siena_ptp_set_ts_config(struct efx_nic *efx, struct ifreq *ifr);
19 int efx_siena_ptp_get_ts_config(struct efx_nic *efx, struct ifreq *ifr);
20 void efx_siena_ptp_get_ts_info(struct efx_nic *efx,
22 bool efx_siena_ptp_is_ptp_tx(struct efx_nic *efx, struct sk_buff *skb);
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 *ef
[all...]

Completed in 22 milliseconds

1234567