Lines Matching defs:adapter
168 #define VMDQ_P(p) ((p) + adapter->ring_feature[RING_F_VMDQ].offset)
444 #define MAX_RX_PACKET_BUFFERS ((adapter->flags & IXGBE_FLAG_DCB_ENABLED) \
452 struct ixgbe_adapter *adapter;
783 static inline u8 ixgbe_max_rss_indices(struct ixgbe_adapter *adapter)
785 switch (adapter->hw.mac.type) {
861 void ixgbe_up(struct ixgbe_adapter *adapter);
862 void ixgbe_down(struct ixgbe_adapter *adapter);
863 void ixgbe_reinit_locked(struct ixgbe_adapter *adapter);
864 void ixgbe_reset(struct ixgbe_adapter *adapter);
872 void ixgbe_disable_rx(struct ixgbe_adapter *adapter);
873 void ixgbe_disable_tx(struct ixgbe_adapter *adapter);
874 void ixgbe_update_stats(struct ixgbe_adapter *adapter);
875 int ixgbe_init_interrupt_scheme(struct ixgbe_adapter *adapter);
876 bool ixgbe_wol_supported(struct ixgbe_adapter *adapter, u16 device_id,
879 void ixgbe_full_sync_mac_table(struct ixgbe_adapter *adapter);
881 int ixgbe_add_mac_filter(struct ixgbe_adapter *adapter,
883 int ixgbe_del_mac_filter(struct ixgbe_adapter *adapter,
885 void ixgbe_update_pf_promisc_vlvf(struct ixgbe_adapter *adapter, u32 vid);
886 void ixgbe_clear_interrupt_scheme(struct ixgbe_adapter *adapter);
912 int ixgbe_update_ethtool_fdir_entry(struct ixgbe_adapter *adapter,
917 void ixgbe_set_rx_drop_en(struct ixgbe_adapter *adapter);
923 void ixgbe_sysfs_exit(struct ixgbe_adapter *adapter);
924 int ixgbe_sysfs_init(struct ixgbe_adapter *adapter);
927 void ixgbe_configure_fcoe(struct ixgbe_adapter *adapter);
930 int ixgbe_fcoe_ddp(struct ixgbe_adapter *adapter,
937 int ixgbe_setup_fcoe_ddp_resources(struct ixgbe_adapter *adapter);
938 void ixgbe_free_fcoe_ddp_resources(struct ixgbe_adapter *adapter);
942 u8 ixgbe_fcoe_getapp(struct ixgbe_adapter *adapter);
943 u8 ixgbe_fcoe_setapp(struct ixgbe_adapter *adapter, u8 up);
948 u8 ixgbe_fcoe_get_tc(struct ixgbe_adapter *adapter);
951 void ixgbe_dbg_adapter_init(struct ixgbe_adapter *adapter);
952 void ixgbe_dbg_adapter_exit(struct ixgbe_adapter *adapter);
956 static inline void ixgbe_dbg_adapter_init(struct ixgbe_adapter *adapter) {}
957 static inline void ixgbe_dbg_adapter_exit(struct ixgbe_adapter *adapter) {}
966 void ixgbe_ptp_init(struct ixgbe_adapter *adapter);
967 void ixgbe_ptp_suspend(struct ixgbe_adapter *adapter);
968 void ixgbe_ptp_stop(struct ixgbe_adapter *adapter);
969 void ixgbe_ptp_overflow_check(struct ixgbe_adapter *adapter);
970 void ixgbe_ptp_rx_hang(struct ixgbe_adapter *adapter);
971 void ixgbe_ptp_tx_hang(struct ixgbe_adapter *adapter);
994 int ixgbe_ptp_set_ts_config(struct ixgbe_adapter *adapter, struct ifreq *ifr);
995 int ixgbe_ptp_get_ts_config(struct ixgbe_adapter *adapter, struct ifreq *ifr);
996 void ixgbe_ptp_start_cyclecounter(struct ixgbe_adapter *adapter);
997 void ixgbe_ptp_reset(struct ixgbe_adapter *adapter);
998 void ixgbe_ptp_check_pps_event(struct ixgbe_adapter *adapter);
1000 void ixgbe_sriov_reinit(struct ixgbe_adapter *adapter);
1004 struct ixgbe_adapter *adapter,
1006 u32 ixgbe_rss_indir_tbl_entries(struct ixgbe_adapter *adapter);
1007 void ixgbe_store_key(struct ixgbe_adapter *adapter);
1008 void ixgbe_store_reta(struct ixgbe_adapter *adapter);
1012 void ixgbe_init_ipsec_offload(struct ixgbe_adapter *adapter);
1013 void ixgbe_stop_ipsec_offload(struct ixgbe_adapter *adapter);
1014 void ixgbe_ipsec_restore(struct ixgbe_adapter *adapter);
1020 void ixgbe_ipsec_vf_clear(struct ixgbe_adapter *adapter, u32 vf);
1021 int ixgbe_ipsec_vf_add_sa(struct ixgbe_adapter *adapter, u32 *mbuf, u32 vf);
1022 int ixgbe_ipsec_vf_del_sa(struct ixgbe_adapter *adapter, u32 *mbuf, u32 vf);
1024 static inline void ixgbe_init_ipsec_offload(struct ixgbe_adapter *adapter) { }
1025 static inline void ixgbe_stop_ipsec_offload(struct ixgbe_adapter *adapter) { }
1026 static inline void ixgbe_ipsec_restore(struct ixgbe_adapter *adapter) { }
1033 static inline void ixgbe_ipsec_vf_clear(struct ixgbe_adapter *adapter,
1035 static inline int ixgbe_ipsec_vf_add_sa(struct ixgbe_adapter *adapter,
1037 static inline int ixgbe_ipsec_vf_del_sa(struct ixgbe_adapter *adapter,
1041 static inline bool ixgbe_enabled_xdp_adapter(struct ixgbe_adapter *adapter)
1043 return !!adapter->xdp_prog;