Home
last modified time | relevance | path

Searched refs:ixgbe_adapter (Results 1 – 13 of 13) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h240 struct ixgbe_adapter *real_adapter;
383 struct ixgbe_adapter *adapter;
608 struct ixgbe_adapter { struct
797 static inline u8 ixgbe_max_rss_indices(struct ixgbe_adapter *adapter) in ixgbe_max_rss_indices() argument
866 void ixgbe_up(struct ixgbe_adapter *adapter);
867 void ixgbe_down(struct ixgbe_adapter *adapter);
868 void ixgbe_reinit_locked(struct ixgbe_adapter *adapter);
869 void ixgbe_reset(struct ixgbe_adapter *adapter);
875 void ixgbe_configure_rx_ring(struct ixgbe_adapter *, struct ixgbe_ring *);
876 void ixgbe_configure_tx_ring(struct ixgbe_adapter *, struct ixgbe_ring *);
[all …]
Dixgbe_sriov.h38 void ixgbe_restore_vf_multicasts(struct ixgbe_adapter *adapter);
40 void ixgbe_msg_task(struct ixgbe_adapter *adapter);
42 void ixgbe_disable_tx_rx(struct ixgbe_adapter *adapter);
43 void ixgbe_ping_all_vfs(struct ixgbe_adapter *adapter);
55 void ixgbe_check_vf_rate_limit(struct ixgbe_adapter *adapter);
56 int ixgbe_disable_sriov(struct ixgbe_adapter *adapter);
58 void ixgbe_enable_sriov(struct ixgbe_adapter *adapter);
62 static inline void ixgbe_set_vmvir(struct ixgbe_adapter *adapter, in ixgbe_set_vmvir()
Dixgbe_ptp.c119 static void ixgbe_ptp_setup_sdp(struct ixgbe_adapter *adapter) in ixgbe_ptp_setup_sdp()
194 struct ixgbe_adapter *adapter = in ixgbe_ptp_read()
195 container_of(cc, struct ixgbe_adapter, cc); in ixgbe_ptp_read()
215 struct ixgbe_adapter *adapter = in ixgbe_ptp_adjfreq()
216 container_of(ptp, struct ixgbe_adapter, ptp_caps); in ixgbe_ptp_adjfreq()
261 struct ixgbe_adapter *adapter = in ixgbe_ptp_adjtime()
262 container_of(ptp, struct ixgbe_adapter, ptp_caps); in ixgbe_ptp_adjtime()
284 struct ixgbe_adapter *adapter = in ixgbe_ptp_gettime()
285 container_of(ptp, struct ixgbe_adapter, ptp_caps); in ixgbe_ptp_gettime()
309 struct ixgbe_adapter *adapter = in ixgbe_ptp_settime()
[all …]
Dixgbe_dcb_nl.c48 static int ixgbe_copy_dcb_cfg(struct ixgbe_adapter *adapter, int tc_max) in ixgbe_copy_dcb_cfg()
148 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_get_state()
155 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_set_state()
172 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_get_perm_hw_addr()
196 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_set_pg_tc_cfg_tx()
213 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_set_pg_bwg_cfg_tx()
222 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_set_pg_tc_cfg_rx()
239 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_set_pg_bwg_cfg_rx()
248 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_get_pg_tc_cfg_tx()
259 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_get_pg_bwg_cfg_tx()
[all …]
Dixgbe_sriov.c49 static int __ixgbe_enable_sriov(struct ixgbe_adapter *adapter) in __ixgbe_enable_sriov()
136 void ixgbe_enable_sriov(struct ixgbe_adapter *adapter) in ixgbe_enable_sriov()
185 int ixgbe_disable_sriov(struct ixgbe_adapter *adapter) in ixgbe_disable_sriov()
254 struct ixgbe_adapter *adapter = pci_get_drvdata(dev); in ixgbe_pci_sriov_enable()
302 struct ixgbe_adapter *adapter = pci_get_drvdata(dev); in ixgbe_pci_sriov_disable()
327 static int ixgbe_set_vf_multicasts(struct ixgbe_adapter *adapter, in ixgbe_set_vf_multicasts()
373 void ixgbe_restore_vf_multicasts(struct ixgbe_adapter *adapter) in ixgbe_restore_vf_multicasts()
406 static int ixgbe_set_vf_vlan(struct ixgbe_adapter *adapter, int add, int vid, in ixgbe_set_vf_vlan()
416 static s32 ixgbe_set_vf_lpe(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) in ixgbe_set_vf_lpe()
513 static void ixgbe_clear_vmvir(struct ixgbe_adapter *adapter, u32 vf) in ixgbe_clear_vmvir()
[all …]
Dixgbe_main.c180 static int ixgbe_read_pci_cfg_word_parent(struct ixgbe_adapter *adapter, in ixgbe_read_pci_cfg_word_parent()
204 static s32 ixgbe_get_parent_bus_info(struct ixgbe_adapter *adapter) in ixgbe_get_parent_bus_info()
247 static void ixgbe_check_minimum_link(struct ixgbe_adapter *adapter, in ixgbe_check_minimum_link()
314 static void ixgbe_service_event_schedule(struct ixgbe_adapter *adapter) in ixgbe_service_event_schedule()
324 struct ixgbe_adapter *adapter = hw->back; in ixgbe_remove_adapter()
393 struct ixgbe_adapter *adapter = hw->back; in ixgbe_read_pci_cfg_word()
408 struct ixgbe_adapter *adapter = hw->back; in ixgbe_read_pci_cfg_dword()
423 struct ixgbe_adapter *adapter = hw->back; in ixgbe_write_pci_cfg_word()
430 static void ixgbe_service_event_complete(struct ixgbe_adapter *adapter) in ixgbe_service_event_complete()
562 static void ixgbe_dump(struct ixgbe_adapter *adapter) in ixgbe_dump()
[all …]
Dixgbe_debugfs.c47 struct ixgbe_adapter *adapter = filp->private_data; in ixgbe_dbg_reg_ops_read()
83 struct ixgbe_adapter *adapter = filp->private_data; in ixgbe_dbg_reg_ops_write()
152 struct ixgbe_adapter *adapter = filp->private_data; in ixgbe_dbg_netdev_ops_read()
188 struct ixgbe_adapter *adapter = filp->private_data; in ixgbe_dbg_netdev_ops_write()
229 void ixgbe_dbg_adapter_init(struct ixgbe_adapter *adapter) in ixgbe_dbg_adapter_init()
254 void ixgbe_dbg_adapter_exit(struct ixgbe_adapter *adapter) in ixgbe_dbg_adapter_exit()
Dixgbe_lib.c42 static bool ixgbe_cache_ring_dcb_sriov(struct ixgbe_adapter *adapter) in ixgbe_cache_ring_dcb_sriov()
111 static void ixgbe_get_first_reg_idx(struct ixgbe_adapter *adapter, u8 tc, in ixgbe_get_first_reg_idx()
168 static bool ixgbe_cache_ring_dcb(struct ixgbe_adapter *adapter) in ixgbe_cache_ring_dcb()
203 static bool ixgbe_cache_ring_sriov(struct ixgbe_adapter *adapter) in ixgbe_cache_ring_sriov()
267 static bool ixgbe_cache_ring_rss(struct ixgbe_adapter *adapter) in ixgbe_cache_ring_rss()
290 static void ixgbe_cache_ring_register(struct ixgbe_adapter *adapter) in ixgbe_cache_ring_register()
326 static bool ixgbe_set_dcb_sriov_queues(struct ixgbe_adapter *adapter) in ixgbe_set_dcb_sriov_queues()
422 static bool ixgbe_set_dcb_queues(struct ixgbe_adapter *adapter) in ixgbe_set_dcb_queues()
495 static bool ixgbe_set_sriov_queues(struct ixgbe_adapter *adapter) in ixgbe_set_sriov_queues()
603 static bool ixgbe_set_rss_queues(struct ixgbe_adapter *adapter) in ixgbe_set_rss_queues()
[all …]
Dixgbe_ethtool.c58 sizeof(((struct ixgbe_adapter *)0)->m), \
59 offsetof(struct ixgbe_adapter, m)
138 (sizeof(((struct ixgbe_adapter *)0)->stats.pxonrxc) + \
139 sizeof(((struct ixgbe_adapter *)0)->stats.pxontxc) + \
140 sizeof(((struct ixgbe_adapter *)0)->stats.pxoffrxc) + \
141 sizeof(((struct ixgbe_adapter *)0)->stats.pxofftxc)) \
157 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_get_settings()
317 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_set_settings()
378 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_get_pauseparam()
400 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_set_pauseparam()
[all …]
Dixgbe_sysfs.c109 static int ixgbe_add_hwmon_attr(struct ixgbe_adapter *adapter, in ixgbe_add_hwmon_attr()
160 static void ixgbe_sysfs_del_adapter(struct ixgbe_adapter *adapter) in ixgbe_sysfs_del_adapter()
165 void ixgbe_sysfs_exit(struct ixgbe_adapter *adapter) in ixgbe_sysfs_exit()
171 int ixgbe_sysfs_init(struct ixgbe_adapter *adapter) in ixgbe_sysfs_init()
Dixgbe_fcoe.c72 struct ixgbe_adapter *adapter; in ixgbe_fcoe_ddp_put()
160 struct ixgbe_adapter *adapter; in ixgbe_fcoe_ddp_setup()
406 int ixgbe_fcoe_ddp(struct ixgbe_adapter *adapter, in ixgbe_fcoe_ddp()
659 void ixgbe_configure_fcoe(struct ixgbe_adapter *adapter) in ixgbe_configure_fcoe()
734 void ixgbe_free_fcoe_ddp_resources(struct ixgbe_adapter *adapter) in ixgbe_free_fcoe_ddp_resources()
772 int ixgbe_setup_fcoe_ddp_resources(struct ixgbe_adapter *adapter) in ixgbe_setup_fcoe_ddp_resources()
813 static int ixgbe_fcoe_ddp_enable(struct ixgbe_adapter *adapter) in ixgbe_fcoe_ddp_enable()
835 static void ixgbe_fcoe_ddp_disable(struct ixgbe_adapter *adapter) in ixgbe_fcoe_ddp_disable()
858 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_fcoe_enable()
905 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_fcoe_disable()
[all …]
Dixgbe_common.h196 #define ixgbe_hw_to_netdev(hw) (((struct ixgbe_adapter *)(hw)->back)->netdev)
Dixgbe_phy.c1157 struct ixgbe_adapter *adapter = hw->back; in ixgbe_identify_sfp_module_generic()
1422 struct ixgbe_adapter *adapter = hw->back; in ixgbe_identify_qsfp_module_generic()