| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe.h | 504 struct ixgbe_adapter *adapter; 616 struct ixgbe_adapter { struct 806 void (*ptp_setup_sdp)(struct ixgbe_adapter *); argument 851 struct ixgbe_adapter *adapter; argument 854 static inline struct ixgbe_adapter *ixgbe_from_netdev(struct net_device *netdev) in ixgbe_from_netdev() 870 struct ixgbe_ring *ixgbe_determine_xdp_ring(struct ixgbe_adapter *adapter) in ixgbe_determine_xdp_ring() 877 static inline u8 ixgbe_max_rss_indices(struct ixgbe_adapter *adapter) in ixgbe_max_rss_indices() 959 void ixgbe_up(struct ixgbe_adapter *adapter); 960 void ixgbe_down(struct ixgbe_adapter *adapter); 961 void ixgbe_reinit_locked(struct ixgbe_adapter *adapter); [all …]
|
| H A D | ixgbe_sriov.h | 16 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 D | ixgbe_ptp.c | 161 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 D | ixgbe_dcb_nl.c | 21 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 D | ixgbe_sriov.c | 25 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 D | ixgbe_txrx_common.h | 28 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 D | ixgbe_fw_update.c | 14 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 D | ixgbe_main.c | 185 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 D | ixgbe_ethtool.c | 31 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 D | ixgbe_debugfs.c | 17 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 D | ixgbe_fcoe.c | 48 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 D | ixgbe_sysfs.c | 84 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 D | ixgbe_ipsec.c | 120 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 D | ixgbe_common.h | 183 #define ixgbe_hw_to_netdev(hw) (((struct ixgbe_adapter *)(hw)->back)->netdev)
|
| H A D | ixgbe_e610.c | 2510 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()
|
| /linux/drivers/net/ethernet/intel/ixgbe/devlink/ |
| H A D | devlink.c | 21 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 D | region.c | 50 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()
|