Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe.h503 struct ixgbe_adapter *adapter;
615 struct ixgbe_adapter { struct
805 void (*ptp_setup_sdp)(struct ixgbe_adapter *); argument
850 struct ixgbe_adapter *adapter; argument
853 static inline struct ixgbe_adapter *ixgbe_from_netdev(struct net_device *netdev) in ixgbe_from_netdev()
869 struct ixgbe_ring *ixgbe_determine_xdp_ring(struct ixgbe_adapter *adapter) in ixgbe_determine_xdp_ring()
876 static inline u8 ixgbe_max_rss_indices(struct ixgbe_adapter *adapter) in ixgbe_max_rss_indices()
958 void ixgbe_up(struct ixgbe_adapter *adapter);
959 void ixgbe_down(struct ixgbe_adapter *adapter);
960 void ixgbe_reinit_locked(struct ixgbe_adapter *adapter);
[all …]
H A Dixgbe_sriov.h16 void ixgbe_restore_vf_multicasts(struct ixgbe_adapter *adapter);
18 bool ixgbe_check_mdd_event(struct ixgbe_adapter *adapter);
19 void ixgbe_msg_task(struct ixgbe_adapter *adapter);
21 void ixgbe_ping_all_vfs(struct ixgbe_adapter *adapter);
22 void ixgbe_set_all_vfs(struct ixgbe_adapter *adapter);
26 int ixgbe_link_mbps(struct ixgbe_adapter *adapter);
36 void ixgbe_check_vf_rate_limit(struct ixgbe_adapter *adapter);
37 void ixgbe_set_vf_link_state(struct ixgbe_adapter *adapter, int vf, int state);
38 int ixgbe_disable_sriov(struct ixgbe_adapter *adapter);
40 void ixgbe_enable_sriov(struct ixgbe_adapter *adapter, unsigned int max_vfs);
[all …]
H A Dixgbe_ptp.c161 static void ixgbe_ptp_setup_sdp_X540(struct ixgbe_adapter *adapter) in ixgbe_ptp_setup_sdp_X540()
240 static void ixgbe_ptp_setup_sdp_X550(struct ixgbe_adapter *adapter) in ixgbe_ptp_setup_sdp_X550()
332 struct ixgbe_adapter *adapter = in ixgbe_ptp_read_X550()
333 container_of(cc, struct ixgbe_adapter, hw_cc); in ixgbe_ptp_read_X550()
369 struct ixgbe_adapter *adapter = in ixgbe_ptp_read_82599()
370 container_of(cc, struct ixgbe_adapter, hw_cc); in ixgbe_ptp_read_82599()
397 static void ixgbe_ptp_convert_to_hwtstamp(struct ixgbe_adapter *adapter, in ixgbe_ptp_convert_to_hwtstamp()
453 struct ixgbe_adapter *adapter = in ixgbe_ptp_adjfine_82599()
454 container_of(ptp, struct ixgbe_adapter, ptp_caps); in ixgbe_ptp_adjfine_82599()
494 struct ixgbe_adapter *adapter = in ixgbe_ptp_adjfine_X550()
[all …]
H A Dixgbe_sriov.c25 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()
277 struct ixgbe_adapter *adapter = pci_get_drvdata(dev); in ixgbe_pci_sriov_enable()
339 struct ixgbe_adapter *adapter = pci_get_drvdata(dev); in ixgbe_pci_sriov_disable()
366 static int ixgbe_set_vf_multicasts(struct ixgbe_adapter *adapter, in ixgbe_set_vf_multicasts()
411 void ixgbe_restore_vf_multicasts(struct ixgbe_adapter *adapter) in ixgbe_restore_vf_multicasts()
444 static int ixgbe_set_vf_vlan(struct ixgbe_adapter *adapter, int add, int vid, in ixgbe_set_vf_vlan()
[all …]
H A Dixgbe_dcb_nl.c21 static int ixgbe_copy_dcb_cfg(struct ixgbe_adapter *adapter, int tc_max) in ixgbe_copy_dcb_cfg()
121 struct ixgbe_adapter *adapter = ixgbe_from_netdev(netdev); in ixgbe_dcbnl_get_state()
128 struct ixgbe_adapter *adapter = ixgbe_from_netdev(netdev); in ixgbe_dcbnl_set_state()
145 struct ixgbe_adapter *adapter = ixgbe_from_netdev(netdev); in ixgbe_dcbnl_get_perm_hw_addr()
170 struct ixgbe_adapter *adapter = ixgbe_from_netdev(netdev); in ixgbe_dcbnl_set_pg_tc_cfg_tx()
187 struct ixgbe_adapter *adapter = ixgbe_from_netdev(netdev); in ixgbe_dcbnl_set_pg_bwg_cfg_tx()
196 struct ixgbe_adapter *adapter = ixgbe_from_netdev(netdev); in ixgbe_dcbnl_set_pg_tc_cfg_rx()
213 struct ixgbe_adapter *adapter = ixgbe_from_netdev(netdev); in ixgbe_dcbnl_set_pg_bwg_cfg_rx()
222 struct ixgbe_adapter *adapter = ixgbe_from_netdev(netdev); in ixgbe_dcbnl_get_pg_tc_cfg_tx()
233 struct ixgbe_adapter *adapter = ixgbe_from_netdev(netdev); in ixgbe_dcbnl_get_pg_bwg_cfg_tx()
[all …]
H A Dixgbe_fw_update.c14 struct ixgbe_adapter *adapter;
42 struct ixgbe_adapter *adapter = priv->adapter; in ixgbe_send_package_data()
72 static int ixgbe_check_component_response(struct ixgbe_adapter *adapter, in ixgbe_check_component_response()
164 struct ixgbe_adapter *adapter = priv->adapter; in ixgbe_send_component_table()
239 static int ixgbe_write_one_nvm_block(struct ixgbe_adapter *adapter, in ixgbe_write_one_nvm_block()
267 static int ixgbe_write_nvm_module(struct ixgbe_adapter *adapter, u16 module, in ixgbe_write_nvm_module()
337 static int ixgbe_erase_nvm_module(struct ixgbe_adapter *adapter, u16 module, in ixgbe_erase_nvm_module()
371 static int ixgbe_switch_flash_banks(struct ixgbe_adapter *adapter, in ixgbe_switch_flash_banks()
418 struct ixgbe_adapter *adapter = priv->adapter; in ixgbe_flash_component()
472 struct ixgbe_adapter *adapter = priv->adapter; in ixgbe_finalize_update()
[all …]
H A Dixgbe_main.c185 static void ixgbe_watchdog_link_is_down(struct ixgbe_adapter *);
186 static void ixgbe_watchdog_link_is_up(struct ixgbe_adapter *);
187 static void ixgbe_watchdog_update_link(struct ixgbe_adapter *);
196 static int ixgbe_read_pci_cfg_word_parent(struct ixgbe_adapter *adapter, in ixgbe_read_pci_cfg_word_parent()
220 static int ixgbe_get_parent_bus_info(struct ixgbe_adapter *adapter) in ixgbe_get_parent_bus_info()
266 static void ixgbe_check_minimum_link(struct ixgbe_adapter *adapter, in ixgbe_check_minimum_link()
288 static void ixgbe_service_event_schedule(struct ixgbe_adapter *adapter) in ixgbe_service_event_schedule()
298 struct ixgbe_adapter *adapter = hw->back; in ixgbe_remove_adapter()
358 struct ixgbe_adapter *adapter; in ixgbe_read_reg()
397 struct ixgbe_adapter *adapter = hw->back; in ixgbe_read_pci_cfg_word()
[all …]
H A Dixgbe_txrx_common.h28 void ixgbe_irq_rearm_queues(struct ixgbe_adapter *adapter, u64 qmask);
30 void ixgbe_txrx_ring_disable(struct ixgbe_adapter *adapter, int ring);
31 void ixgbe_txrx_ring_enable(struct ixgbe_adapter *adapter, int ring);
33 struct xsk_buff_pool *ixgbe_xsk_pool(struct ixgbe_adapter *adapter,
35 int ixgbe_xsk_pool_setup(struct ixgbe_adapter *adapter,
H A Dixgbe_ethtool.c31 sizeof(((struct ixgbe_adapter *)0)->m), \
32 offsetof(struct ixgbe_adapter, m)
118 (sizeof(((struct ixgbe_adapter *)0)->stats.pxonrxc) + \
119 sizeof(((struct ixgbe_adapter *)0)->stats.pxontxc) + \
120 sizeof(((struct ixgbe_adapter *)0)->stats.pxoffrxc) + \
121 sizeof(((struct ixgbe_adapter *)0)->stats.pxofftxc)) \
216 struct ixgbe_adapter *adapter = ixgbe_from_netdev(netdev); in ixgbe_get_link_ksettings()
463 struct ixgbe_adapter *adapter = ixgbe_from_netdev(netdev); in ixgbe_set_link_ksettings()
540 struct ixgbe_adapter *adapter = ixgbe_from_netdev(netdev); in ixgbe_get_pause_stats()
550 struct ixgbe_adapter *adapter = ixgbe_from_netdev(netdev); in ixgbe_get_pauseparam()
[all …]
H A 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()
149 static bool ixgbe_cache_ring_dcb(struct ixgbe_adapter *adapter) in ixgbe_cache_ring_dcb()
184 static bool ixgbe_cache_ring_sriov(struct ixgbe_adapter *adapter) in ixgbe_cache_ring_sriov()
254 static bool ixgbe_cache_ring_rss(struct ixgbe_adapter *adapter) in ixgbe_cache_ring_rss()
281 static void ixgbe_cache_ring_register(struct ixgbe_adapter *adapter) in ixgbe_cache_ring_register()
301 static int ixgbe_xdp_queues(struct ixgbe_adapter *adapter) in ixgbe_xdp_queues()
326 static bool ixgbe_set_dcb_sriov_queues(struct ixgbe_adapter *adapter) in ixgbe_set_dcb_sriov_queues()
426 static bool ixgbe_set_dcb_queues(struct ixgbe_adapter *adapter) in ixgbe_set_dcb_queues()
500 static bool ixgbe_set_sriov_queues(struct ixgbe_adapter *adapter) in ixgbe_set_sriov_queues()
[all …]
H A 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()
H A 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 = ixgbe_from_netdev(netdev); in ixgbe_fcoe_enable()
884 struct ixgbe_adapter *adapter = ixgbe_from_netdev(netdev); in ixgbe_fcoe_disable()
[all …]
H A 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()
H A 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()
483 struct ixgbe_adapter *adapter = ixgbe_from_netdev(dev); in ixgbe_ipsec_check_mgmt_ip()
569 struct ixgbe_adapter *adapter = ixgbe_from_netdev(dev); in ixgbe_ipsec_add_sa()
763 struct ixgbe_adapter *adapter = ixgbe_from_netdev(dev); in ixgbe_ipsec_del_sa()
833 void ixgbe_ipsec_vf_clear(struct ixgbe_adapter *adapter, u32 vf) in ixgbe_ipsec_vf_clear()
874 int ixgbe_ipsec_vf_add_sa(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) in ixgbe_ipsec_vf_add_sa()
[all …]
H A 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()
252 struct ixgbe_adapter *adapter = q_vector->adapter; in ixgbe_clean_rx_irq_zc()
513 struct ixgbe_adapter *adapter = ixgbe_from_netdev(dev); in ixgbe_xsk_wakeup()
H A Dixgbe_fw_update.h10 int ixgbe_get_pending_updates(struct ixgbe_adapter *adapter, u8 *pending,
H A Dixgbe_phy.c826 struct ixgbe_adapter *adapter = bus->priv; in ixgbe_mii_bus_read_c22()
843 struct ixgbe_adapter *adapter = bus->priv; in ixgbe_mii_bus_read_c45()
860 struct ixgbe_adapter *adapter = bus->priv; in ixgbe_mii_bus_write_c22()
878 struct ixgbe_adapter *adapter = bus->priv; in ixgbe_mii_bus_write_c45()
895 struct ixgbe_adapter *adapter = bus->priv; in ixgbe_x550em_a_mii_bus_read_c22()
913 struct ixgbe_adapter *adapter = bus->priv; in ixgbe_x550em_a_mii_bus_read_c45()
931 struct ixgbe_adapter *adapter = bus->priv; in ixgbe_x550em_a_mii_bus_write_c22()
950 struct ixgbe_adapter *adapter = bus->priv; in ixgbe_x550em_a_mii_bus_write_c45()
992 struct ixgbe_adapter *adapter = hw->back; in ixgbe_x550em_a_has_mii()
1033 struct ixgbe_adapter *adapter = hw->back; in ixgbe_mii_bus_init()
[all …]
H A Dixgbe_e610.c2510 struct ixgbe_adapter *adapter = container_of(hw, struct ixgbe_adapter, in ixgbe_nvm_validate_checksum()
3763 struct ixgbe_adapter *adapter = container_of(hw, struct ixgbe_adapter, in ixgbe_reset_hw_e610()
3934 struct ixgbe_adapter *adapter = hw->back; in ixgbe_fwlog_init()
H A Dixgbe_common.h183 #define ixgbe_hw_to_netdev(hw) (((struct ixgbe_adapter *)(hw)->back)->netdev)
/linux/drivers/net/ethernet/intel/ixgbe/devlink/
H A Ddevlink.c21 static void ixgbe_info_get_dsn(struct ixgbe_adapter *adapter, in ixgbe_info_get_dsn()
32 static void ixgbe_info_orom_ver(struct ixgbe_adapter *adapter, in ixgbe_info_orom_ver()
68 static void ixgbe_info_eetrack(struct ixgbe_adapter *adapter, in ixgbe_info_eetrack()
98 static void ixgbe_info_fw_api(struct ixgbe_adapter *adapter, in ixgbe_info_fw_api()
107 static void ixgbe_info_fw_build(struct ixgbe_adapter *adapter, in ixgbe_info_fw_build()
115 static void ixgbe_info_fw_srev(struct ixgbe_adapter *adapter, in ixgbe_info_fw_srev()
128 static void ixgbe_info_orom_srev(struct ixgbe_adapter *adapter, in ixgbe_info_orom_srev()
141 static void ixgbe_info_nvm_ver(struct ixgbe_adapter *adapter, in ixgbe_info_nvm_ver()
154 static void ixgbe_info_netlist_ver(struct ixgbe_adapter *adapter, in ixgbe_info_netlist_ver()
171 static void ixgbe_info_netlist_build(struct ixgbe_adapter *adapter, in ixgbe_info_netlist_build()
[all …]
H A Ddevlink.h7 struct ixgbe_adapter *ixgbe_allocate_devlink(struct device *dev);
8 int ixgbe_devlink_register_port(struct ixgbe_adapter *adapter);
9 void ixgbe_devlink_init_regions(struct ixgbe_adapter *adapter);
10 void ixgbe_devlink_destroy_regions(struct ixgbe_adapter *adapter);
H A Dregion.c50 struct ixgbe_adapter *adapter = devlink_priv(devlink); in ixgbe_devlink_nvm_snapshot()
127 struct ixgbe_adapter *adapter = devlink_priv(devlink); in ixgbe_devlink_devcaps_snapshot()
172 struct ixgbe_adapter *adapter = devlink_priv(devlink); in ixgbe_devlink_nvm_read()
231 void ixgbe_devlink_init_regions(struct ixgbe_adapter *adapter) in ixgbe_devlink_init_regions()
277 void ixgbe_devlink_destroy_regions(struct ixgbe_adapter *adapter) in ixgbe_devlink_destroy_regions()