/drivers/net/ethernet/cisco/enic/ |
D | enic.h | 144 struct enic { struct 155 struct enic_msix_entry msix[ENIC_INTR_MAX]; argument 164 struct enic_rx_coal rx_coalesce_setting; argument 170 spinlock_t enic_api_lock; argument 171 struct enic_port_profile *pp; argument 196 struct enic_rfs_flw_tbl rfs_h; argument 204 struct enic *enic = vdev->priv; in vnic_get_netdev() argument 225 static inline struct device *enic_get_dev(struct enic *enic) in enic_get_dev() 230 static inline unsigned int enic_cq_rq(struct enic *enic, unsigned int rq) in enic_cq_rq() 235 static inline unsigned int enic_cq_wq(struct enic *enic, unsigned int wq) in enic_cq_wq() [all …]
|
D | enic_main.c | 115 static void enic_init_affinity_hint(struct enic *enic) in enic_init_affinity_hint() 132 static void enic_free_affinity_hint(struct enic *enic) in enic_free_affinity_hint() 143 static void enic_set_affinity_hint(struct enic *enic) in enic_set_affinity_hint() 172 static void enic_unset_affinity_hint(struct enic *enic) in enic_unset_affinity_hint() 183 struct enic *enic = netdev_priv(netdev); in enic_udp_tunnel_add() local 236 struct enic *enic = netdev_priv(netdev); in enic_udp_tunnel_del() local 271 struct enic *enic = netdev_priv(dev); in enic_features_check() local 308 int enic_is_dynamic(struct enic *enic) in enic_is_dynamic() 313 int enic_sriov_enabled(struct enic *enic) in enic_sriov_enabled() 318 static int enic_is_sriov_vf(struct enic *enic) in enic_is_sriov_vf() [all …]
|
D | enic_dev.c | 28 int enic_dev_fw_info(struct enic *enic, struct vnic_devcmd_fw_info **fw_info) in enic_dev_fw_info() 39 int enic_dev_stats_dump(struct enic *enic, struct vnic_stats **vstats) in enic_dev_stats_dump() 50 int enic_dev_add_station_addr(struct enic *enic) in enic_dev_add_station_addr() 64 int enic_dev_del_station_addr(struct enic *enic) in enic_dev_del_station_addr() 78 int enic_dev_packet_filter(struct enic *enic, int directed, int multicast, in enic_dev_packet_filter() 91 int enic_dev_add_addr(struct enic *enic, const u8 *addr) in enic_dev_add_addr() 102 int enic_dev_del_addr(struct enic *enic, const u8 *addr) in enic_dev_del_addr() 113 int enic_dev_notify_unset(struct enic *enic) in enic_dev_notify_unset() 124 int enic_dev_hang_notify(struct enic *enic) in enic_dev_hang_notify() 135 int enic_dev_set_ig_vlan_rewrite_mode(struct enic *enic) in enic_dev_set_ig_vlan_rewrite_mode() [all …]
|
D | enic_ethtool.c | 95 static void enic_intr_coal_set_rx(struct enic *enic, u32 timer) in enic_intr_coal_set_rx() 109 struct enic *enic = netdev_priv(netdev); in enic_get_ksettings() local 136 struct enic *enic = netdev_priv(netdev); in enic_get_drvinfo() local 192 struct enic *enic = netdev_priv(netdev); in enic_get_ethtool_stats() local 215 struct enic *enic = netdev_priv(netdev); in enic_get_msglevel() local 221 struct enic *enic = netdev_priv(netdev); in enic_set_msglevel() local 228 struct enic *enic = netdev_priv(netdev); in enic_get_coalesce() local 242 static int enic_coalesce_valid(struct enic *enic, in enic_coalesce_valid() 292 struct enic *enic = netdev_priv(netdev); in enic_set_coalesce() local 339 static int enic_grxclsrlall(struct enic *enic, struct ethtool_rxnfc *cmd, in enic_grxclsrlall() [all …]
|
D | enic_res.c | 42 int enic_get_vnic_config(struct enic *enic) in enic_get_vnic_config() 122 int enic_add_vlan(struct enic *enic, u16 vlanid) in enic_add_vlan() 135 int enic_del_vlan(struct enic *enic, u16 vlanid) in enic_del_vlan() 148 int enic_set_nic_cfg(struct enic *enic, u8 rss_default_cpu, u8 rss_hash_type, in enic_set_nic_cfg() 166 int enic_set_rss_key(struct enic *enic, dma_addr_t key_pa, u64 len) in enic_set_rss_key() 174 int enic_set_rss_cpu(struct enic *enic, dma_addr_t cpu_pa, u64 len) in enic_set_rss_cpu() 182 void enic_free_vnic_resources(struct enic *enic) in enic_free_vnic_resources() 196 void enic_get_res_counts(struct enic *enic) in enic_get_res_counts() 210 void enic_init_vnic_resources(struct enic *enic) in enic_init_vnic_resources() 312 int enic_alloc_vnic_resources(struct enic *enic) in enic_alloc_vnic_resources()
|
D | enic_pp.c | 38 int enic_is_valid_pp_vf(struct enic *enic, int vf, int *err) in enic_is_valid_pp_vf() 69 static int enic_set_port_profile(struct enic *enic, int vf) in enic_set_port_profile() 145 static int enic_unset_port_profile(struct enic *enic, int vf) in enic_unset_port_profile() 189 static int enic_pp_preassociate(struct enic *enic, int vf, in enic_pp_preassociate() 195 static int enic_pp_disassociate(struct enic *enic, int vf, in enic_pp_disassociate() 217 static int enic_pp_preassociate_rr(struct enic *enic, int vf, in enic_pp_preassociate_rr() 256 static int enic_pp_associate(struct enic *enic, int vf, in enic_pp_associate() 304 int enic_process_set_pp_request(struct enic *enic, int vf, in enic_process_set_pp_request() 321 int enic_process_get_pp_request(struct enic *enic, int vf, in enic_process_get_pp_request()
|
D | enic_clsf.c | 21 int enic_addfltr_5t(struct enic *enic, struct flow_keys *keys, u16 rq) in enic_addfltr_5t() 58 int enic_delfltr(struct enic *enic, u16 filter_id) in enic_delfltr() 72 void enic_rfs_flw_tbl_init(struct enic *enic) in enic_rfs_flw_tbl_init() 84 void enic_rfs_flw_tbl_free(struct enic *enic) in enic_rfs_flw_tbl_free() 106 struct enic_rfs_fltr_node *htbl_fltr_search(struct enic *enic, u16 fltr_id) in htbl_fltr_search() 127 struct enic *enic = (struct enic *)data; in enic_flow_may_expire() local 175 struct enic *enic; in enic_rx_flow_steer() local
|
D | enic_clsf.h | 21 static inline void enic_rfs_timer_start(struct enic *enic) in enic_rfs_timer_start() 29 static inline void enic_rfs_timer_stop(struct enic *enic) in enic_rfs_timer_stop() 34 static inline void enic_rfs_timer_start(struct enic *enic) {} in enic_rfs_timer_start() 35 static inline void enic_rfs_timer_stop(struct enic *enic) {} in enic_rfs_timer_stop()
|
D | enic_pp.h | 22 #define ENIC_PP_BY_INDEX(enic, vf, pp, err) \ argument
|
D | enic_dev.h | 29 #define ENIC_DEVCMD_PROXY_BY_INDEX(vf, err, enic, vnicdevcmdfn, ...) \ argument
|
D | enic_api.c | 33 struct enic *enic = netdev_priv(netdev); in enic_api_devcmd_proxy_by_index() local
|
D | enic_res.h | 41 #define ENIC_SETTING(enic, f) ((enic->config.flags & VENETF_##f) ? 1 : 0) argument
|