Home
last modified time | relevance | path

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

/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h449 struct ixgbe_adapter *adapter;
558 struct ixgbe_adapter { struct
733 void (*ptp_setup_sdp)(struct ixgbe_adapter *); argument
777 static inline u8 ixgbe_max_rss_indices(struct ixgbe_adapter *adapter) in ixgbe_max_rss_indices() argument
855 void ixgbe_up(struct ixgbe_adapter *adapter);
856 void ixgbe_down(struct ixgbe_adapter *adapter);
857 void ixgbe_reinit_locked(struct ixgbe_adapter *adapter);
858 void ixgbe_reset(struct ixgbe_adapter *adapter);
860 int ixgbe_setup_rx_resources(struct ixgbe_adapter *, struct ixgbe_ring *);
864 void ixgbe_configure_rx_ring(struct ixgbe_adapter *, struct ixgbe_ring *);
[all …]
Dixgbe_sriov.h16 void ixgbe_restore_vf_multicasts(struct ixgbe_adapter *adapter);
18 void ixgbe_msg_task(struct ixgbe_adapter *adapter);
20 void ixgbe_disable_tx_rx(struct ixgbe_adapter *adapter);
21 void ixgbe_ping_all_vfs(struct ixgbe_adapter *adapter);
25 int ixgbe_link_mbps(struct ixgbe_adapter *adapter);
34 void ixgbe_check_vf_rate_limit(struct ixgbe_adapter *adapter);
35 int ixgbe_disable_sriov(struct ixgbe_adapter *adapter);
37 void ixgbe_enable_sriov(struct ixgbe_adapter *adapter, unsigned int max_vfs);
41 static inline void ixgbe_set_vmvir(struct ixgbe_adapter *adapter, in ixgbe_set_vmvir()
Dixgbe_ptp.c157 static void ixgbe_ptp_setup_sdp_X540(struct ixgbe_adapter *adapter) in ixgbe_ptp_setup_sdp_X540()
236 static void ixgbe_ptp_setup_sdp_X550(struct ixgbe_adapter *adapter) in ixgbe_ptp_setup_sdp_X550()
328 struct ixgbe_adapter *adapter = in ixgbe_ptp_read_X550()
329 container_of(cc, struct ixgbe_adapter, hw_cc); in ixgbe_ptp_read_X550()
365 struct ixgbe_adapter *adapter = in ixgbe_ptp_read_82599()
366 container_of(cc, struct ixgbe_adapter, hw_cc); in ixgbe_ptp_read_82599()
393 static void ixgbe_ptp_convert_to_hwtstamp(struct ixgbe_adapter *adapter, in ixgbe_ptp_convert_to_hwtstamp()
446 struct ixgbe_adapter *adapter = in ixgbe_ptp_adjfreq_82599()
447 container_of(ptp, struct ixgbe_adapter, ptp_caps); in ixgbe_ptp_adjfreq_82599()
497 struct ixgbe_adapter *adapter = in ixgbe_ptp_adjfreq_X550()
[all …]
Dixgbe_dcb_nl.c23 static int ixgbe_copy_dcb_cfg(struct ixgbe_adapter *adapter, int tc_max) in ixgbe_copy_dcb_cfg()
123 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_get_state()
130 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_set_state()
147 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_get_perm_hw_addr()
171 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_set_pg_tc_cfg_tx()
188 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_set_pg_bwg_cfg_tx()
197 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_set_pg_tc_cfg_rx()
214 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_set_pg_bwg_cfg_rx()
223 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_get_pg_tc_cfg_tx()
234 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_dcbnl_get_pg_bwg_cfg_tx()
[all …]
Dixgbe_sriov.c24 static inline void ixgbe_alloc_vf_macvlans(struct ixgbe_adapter *adapter, in ixgbe_alloc_vf_macvlans()
51 static int __ixgbe_enable_sriov(struct ixgbe_adapter *adapter, in __ixgbe_enable_sriov()
123 static void ixgbe_get_vfs(struct ixgbe_adapter *adapter) in ixgbe_get_vfs()
154 void ixgbe_enable_sriov(struct ixgbe_adapter *adapter, unsigned int max_vfs) in ixgbe_enable_sriov()
205 int ixgbe_disable_sriov(struct ixgbe_adapter *adapter) in ixgbe_disable_sriov()
273 struct ixgbe_adapter *adapter = pci_get_drvdata(dev); in ixgbe_pci_sriov_enable()
335 struct ixgbe_adapter *adapter = pci_get_drvdata(dev); in ixgbe_pci_sriov_disable()
362 static int ixgbe_set_vf_multicasts(struct ixgbe_adapter *adapter, in ixgbe_set_vf_multicasts()
408 void ixgbe_restore_vf_multicasts(struct ixgbe_adapter *adapter) in ixgbe_restore_vf_multicasts()
441 static int ixgbe_set_vf_vlan(struct ixgbe_adapter *adapter, int add, int vid, in ixgbe_set_vf_vlan()
[all …]
Dixgbe_txrx_common.h15 int ixgbe_xmit_xdp_ring(struct ixgbe_adapter *adapter,
26 void ixgbe_irq_rearm_queues(struct ixgbe_adapter *adapter, u64 qmask);
28 void ixgbe_txrx_ring_disable(struct ixgbe_adapter *adapter, int ring);
29 void ixgbe_txrx_ring_enable(struct ixgbe_adapter *adapter, int ring);
31 struct xsk_buff_pool *ixgbe_xsk_pool(struct ixgbe_adapter *adapter,
33 int ixgbe_xsk_pool_setup(struct ixgbe_adapter *adapter,
Dixgbe_main.c171 static void ixgbe_watchdog_link_is_down(struct ixgbe_adapter *);
180 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()
269 static void ixgbe_service_event_schedule(struct ixgbe_adapter *adapter) in ixgbe_service_event_schedule()
279 struct ixgbe_adapter *adapter = hw->back; in ixgbe_remove_adapter()
339 struct ixgbe_adapter *adapter; in ixgbe_read_reg()
378 struct ixgbe_adapter *adapter = hw->back; in ixgbe_read_pci_cfg_word()
393 struct ixgbe_adapter *adapter = hw->back; in ixgbe_read_pci_cfg_dword()
408 struct ixgbe_adapter *adapter = hw->back; in ixgbe_write_pci_cfg_word()
[all …]
Dixgbe_lib.c17 static bool ixgbe_cache_ring_dcb_sriov(struct ixgbe_adapter *adapter) in ixgbe_cache_ring_dcb_sriov()
90 static void ixgbe_get_first_reg_idx(struct ixgbe_adapter *adapter, u8 tc, in ixgbe_get_first_reg_idx()
147 static bool ixgbe_cache_ring_dcb(struct ixgbe_adapter *adapter) in ixgbe_cache_ring_dcb()
182 static bool ixgbe_cache_ring_sriov(struct ixgbe_adapter *adapter) in ixgbe_cache_ring_sriov()
252 static bool ixgbe_cache_ring_rss(struct ixgbe_adapter *adapter) in ixgbe_cache_ring_rss()
279 static void ixgbe_cache_ring_register(struct ixgbe_adapter *adapter) in ixgbe_cache_ring_register()
299 static int ixgbe_xdp_queues(struct ixgbe_adapter *adapter) in ixgbe_xdp_queues()
321 static bool ixgbe_set_dcb_sriov_queues(struct ixgbe_adapter *adapter) in ixgbe_set_dcb_sriov_queues()
421 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()
[all …]
Dixgbe_ethtool.c33 sizeof(((struct ixgbe_adapter *)0)->m), \
34 offsetof(struct ixgbe_adapter, m)
120 (sizeof(((struct ixgbe_adapter *)0)->stats.pxonrxc) + \
121 sizeof(((struct ixgbe_adapter *)0)->stats.pxontxc) + \
122 sizeof(((struct ixgbe_adapter *)0)->stats.pxoffrxc) + \
123 sizeof(((struct ixgbe_adapter *)0)->stats.pxofftxc)) \
216 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_get_link_ksettings()
459 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_set_link_ksettings()
537 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_get_pause_stats()
547 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_get_pauseparam()
[all …]
Dixgbe_debugfs.c17 struct ixgbe_adapter *adapter = filp->private_data; in ixgbe_dbg_common_ops_read()
66 struct ixgbe_adapter *adapter = filp->private_data; in ixgbe_dbg_reg_ops_write()
149 struct ixgbe_adapter *adapter = filp->private_data; in ixgbe_dbg_netdev_ops_write()
192 void ixgbe_dbg_adapter_init(struct ixgbe_adapter *adapter) in ixgbe_dbg_adapter_init()
207 void ixgbe_dbg_adapter_exit(struct ixgbe_adapter *adapter) in ixgbe_dbg_adapter_exit()
Dixgbe_fcoe.c48 struct ixgbe_adapter *adapter; in ixgbe_fcoe_ddp_put()
137 struct ixgbe_adapter *adapter; in ixgbe_fcoe_ddp_setup()
383 int ixgbe_fcoe_ddp(struct ixgbe_adapter *adapter, in ixgbe_fcoe_ddp()
638 void ixgbe_configure_fcoe(struct ixgbe_adapter *adapter) in ixgbe_configure_fcoe()
713 void ixgbe_free_fcoe_ddp_resources(struct ixgbe_adapter *adapter) in ixgbe_free_fcoe_ddp_resources()
751 int ixgbe_setup_fcoe_ddp_resources(struct ixgbe_adapter *adapter) in ixgbe_setup_fcoe_ddp_resources()
792 static int ixgbe_fcoe_ddp_enable(struct ixgbe_adapter *adapter) in ixgbe_fcoe_ddp_enable()
814 static void ixgbe_fcoe_ddp_disable(struct ixgbe_adapter *adapter) in ixgbe_fcoe_ddp_disable()
837 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_fcoe_enable()
884 struct ixgbe_adapter *adapter = netdev_priv(netdev); in ixgbe_fcoe_disable()
[all …]
Dixgbe_sysfs.c84 static int ixgbe_add_hwmon_attr(struct ixgbe_adapter *adapter, in ixgbe_add_hwmon_attr()
135 static void ixgbe_sysfs_del_adapter(struct ixgbe_adapter *adapter) in ixgbe_sysfs_del_adapter()
140 void ixgbe_sysfs_exit(struct ixgbe_adapter *adapter) in ixgbe_sysfs_exit()
146 int ixgbe_sysfs_init(struct ixgbe_adapter *adapter) in ixgbe_sysfs_init()
Dixgbe_ipsec.c120 static void ixgbe_ipsec_clear_hw_tables(struct ixgbe_adapter *adapter) in ixgbe_ipsec_clear_hw_tables()
146 static void ixgbe_ipsec_stop_data(struct ixgbe_adapter *adapter) in ixgbe_ipsec_stop_data()
219 static void ixgbe_ipsec_stop_engine(struct ixgbe_adapter *adapter) in ixgbe_ipsec_stop_engine()
261 static void ixgbe_ipsec_start_engine(struct ixgbe_adapter *adapter) in ixgbe_ipsec_start_engine()
303 void ixgbe_ipsec_restore(struct ixgbe_adapter *adapter) in ixgbe_ipsec_restore()
481 struct ixgbe_adapter *adapter = netdev_priv(dev); in ixgbe_ipsec_check_mgmt_ip()
564 struct ixgbe_adapter *adapter = netdev_priv(dev); in ixgbe_ipsec_add_sa()
754 struct ixgbe_adapter *adapter = netdev_priv(dev); in ixgbe_ipsec_del_sa()
845 void ixgbe_ipsec_vf_clear(struct ixgbe_adapter *adapter, u32 vf) in ixgbe_ipsec_vf_clear()
884 int ixgbe_ipsec_vf_add_sa(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) in ixgbe_ipsec_vf_add_sa()
[all …]
Dixgbe_xsk.c11 struct xsk_buff_pool *ixgbe_xsk_pool(struct ixgbe_adapter *adapter, in ixgbe_xsk_pool()
23 static int ixgbe_xsk_pool_enable(struct ixgbe_adapter *adapter, in ixgbe_xsk_pool_enable()
65 static int ixgbe_xsk_pool_disable(struct ixgbe_adapter *adapter, u16 qid) in ixgbe_xsk_pool_disable()
89 int ixgbe_xsk_pool_setup(struct ixgbe_adapter *adapter, in ixgbe_xsk_pool_setup()
97 static int ixgbe_run_xdp_zc(struct ixgbe_adapter *adapter, in ixgbe_run_xdp_zc()
244 struct ixgbe_adapter *adapter = q_vector->adapter; in ixgbe_clean_rx_irq_zc()
508 struct ixgbe_adapter *adapter = netdev_priv(dev); in ixgbe_xsk_wakeup()
Dixgbe_phy.c779 struct ixgbe_adapter *adapter = bus->priv; in ixgbe_mii_bus_read()
796 struct ixgbe_adapter *adapter = bus->priv; in ixgbe_mii_bus_write()
812 struct ixgbe_adapter *adapter = bus->priv; in ixgbe_x550em_a_mii_bus_read()
830 struct ixgbe_adapter *adapter = bus->priv; in ixgbe_x550em_a_mii_bus_write()
871 struct ixgbe_adapter *adapter = hw->back; in ixgbe_x550em_a_has_mii()
909 struct ixgbe_adapter *adapter = hw->back; in ixgbe_mii_bus_init()
1403 struct ixgbe_adapter *adapter = hw->back; in ixgbe_identify_sfp_module_generic()
1668 struct ixgbe_adapter *adapter = hw->back; in ixgbe_identify_qsfp_module_generic()
Dixgbe_common.h184 #define ixgbe_hw_to_netdev(hw) (((struct ixgbe_adapter *)(hw)->back)->netdev)