/linux-6.6.21/drivers/net/ethernet/cisco/enic/ |
D | enic.h | 132 struct enic { struct 143 struct enic_msix_entry msix[ENIC_INTR_MAX]; argument 152 struct enic_rx_coal rx_coalesce_setting; argument 158 spinlock_t enic_api_lock; argument 159 bool enic_api_busy; argument 160 struct enic_port_profile *pp; argument 185 struct enic_rfs_flw_tbl rfs_h; argument 193 struct enic *enic = vdev->priv; in vnic_get_netdev() argument 214 static inline struct device *enic_get_dev(struct enic *enic) in enic_get_dev() 219 static inline unsigned int enic_cq_rq(struct enic *enic, unsigned int rq) in enic_cq_rq() [all …]
|
D | enic_main.c | 114 static void enic_init_affinity_hint(struct enic *enic) in enic_init_affinity_hint() 131 static void enic_free_affinity_hint(struct enic *enic) in enic_free_affinity_hint() 142 static void enic_set_affinity_hint(struct enic *enic) in enic_set_affinity_hint() 171 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_set_port() local 210 struct enic *enic = netdev_priv(netdev); in enic_udp_tunnel_unset_port() local 248 struct enic *enic = netdev_priv(dev); in enic_features_check() local 300 int enic_is_dynamic(struct enic *enic) in enic_is_dynamic() 305 int enic_sriov_enabled(struct enic *enic) in enic_sriov_enabled() 310 static int enic_is_sriov_vf(struct enic *enic) in enic_is_sriov_vf() [all …]
|
D | enic_dev.c | 13 int enic_dev_fw_info(struct enic *enic, struct vnic_devcmd_fw_info **fw_info) in enic_dev_fw_info() 24 int enic_dev_stats_dump(struct enic *enic, struct vnic_stats **vstats) in enic_dev_stats_dump() 35 int enic_dev_add_station_addr(struct enic *enic) in enic_dev_add_station_addr() 49 int enic_dev_del_station_addr(struct enic *enic) in enic_dev_del_station_addr() 63 int enic_dev_packet_filter(struct enic *enic, int directed, int multicast, in enic_dev_packet_filter() 76 int enic_dev_add_addr(struct enic *enic, const u8 *addr) in enic_dev_add_addr() 87 int enic_dev_del_addr(struct enic *enic, const u8 *addr) in enic_dev_del_addr() 98 int enic_dev_notify_unset(struct enic *enic) in enic_dev_notify_unset() 109 int enic_dev_hang_notify(struct enic *enic) in enic_dev_hang_notify() 120 int enic_dev_set_ig_vlan_rewrite_mode(struct enic *enic) in enic_dev_set_ig_vlan_rewrite_mode() [all …]
|
D | enic_ethtool.c | 81 static void enic_intr_coal_set_rx(struct enic *enic, u32 timer) in enic_intr_coal_set_rx() 95 struct enic *enic = netdev_priv(netdev); in enic_get_ksettings() local 122 struct enic *enic = netdev_priv(netdev); in enic_get_drvinfo() local 169 struct enic *enic = netdev_priv(netdev); in enic_get_ringparam() local 183 struct enic *enic = netdev_priv(netdev); in enic_set_ringparam() local 256 struct enic *enic = netdev_priv(netdev); in enic_get_ethtool_stats() local 279 struct enic *enic = netdev_priv(netdev); in enic_get_msglevel() local 285 struct enic *enic = netdev_priv(netdev); in enic_set_msglevel() local 294 struct enic *enic = netdev_priv(netdev); in enic_get_coalesce() local 308 static int enic_coalesce_valid(struct enic *enic, in enic_coalesce_valid() [all …]
|
D | enic_res.c | 29 int enic_get_vnic_config(struct enic *enic) in enic_get_vnic_config() 109 int enic_add_vlan(struct enic *enic, u16 vlanid) in enic_add_vlan() 122 int enic_del_vlan(struct enic *enic, u16 vlanid) in enic_del_vlan() 135 int enic_set_nic_cfg(struct enic *enic, u8 rss_default_cpu, u8 rss_hash_type, in enic_set_nic_cfg() 158 int enic_set_rss_key(struct enic *enic, dma_addr_t key_pa, u64 len) in enic_set_rss_key() 166 int enic_set_rss_cpu(struct enic *enic, dma_addr_t cpu_pa, u64 len) in enic_set_rss_cpu() 174 void enic_free_vnic_resources(struct enic *enic) in enic_free_vnic_resources() 188 void enic_get_res_counts(struct enic *enic) in enic_get_res_counts() 202 void enic_init_vnic_resources(struct enic *enic) in enic_init_vnic_resources() 304 int enic_alloc_vnic_resources(struct enic *enic) in enic_alloc_vnic_resources()
|
D | enic_pp.c | 23 int enic_is_valid_pp_vf(struct enic *enic, int vf, int *err) in enic_is_valid_pp_vf() 54 static int enic_set_port_profile(struct enic *enic, int vf) in enic_set_port_profile() 130 static int enic_unset_port_profile(struct enic *enic, int vf) in enic_unset_port_profile() 174 static int enic_pp_preassociate(struct enic *enic, int vf, in enic_pp_preassociate() 180 static int enic_pp_disassociate(struct enic *enic, int vf, in enic_pp_disassociate() 202 static int enic_pp_preassociate_rr(struct enic *enic, int vf, in enic_pp_preassociate_rr() 241 static int enic_pp_associate(struct enic *enic, int vf, in enic_pp_associate() 289 int enic_process_set_pp_request(struct enic *enic, int vf, in enic_process_set_pp_request() 306 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() 59 int enic_delfltr(struct enic *enic, u16 filter_id) in enic_delfltr() 73 void enic_rfs_flw_tbl_init(struct enic *enic) in enic_rfs_flw_tbl_init() 85 void enic_rfs_flw_tbl_free(struct enic *enic) in enic_rfs_flw_tbl_free() 107 struct enic_rfs_fltr_node *htbl_fltr_search(struct enic *enic, u16 fltr_id) in htbl_fltr_search() 128 struct enic *enic = from_timer(enic, t, rfs_h.rfs_may_expire); in enic_flow_may_expire() local 176 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() 27 static inline void enic_rfs_timer_stop(struct enic *enic) in enic_rfs_timer_stop() 32 static inline void enic_rfs_timer_start(struct enic *enic) {} in enic_rfs_timer_start() 33 static inline void enic_rfs_timer_stop(struct enic *enic) {} in enic_rfs_timer_stop()
|
D | enic_pp.h | 7 #define ENIC_PP_BY_INDEX(enic, vf, pp, err) \ argument
|
D | enic_dev.h | 14 #define ENIC_DEVCMD_PROXY_BY_INDEX(vf, err, enic, vnicdevcmdfn, ...) \ argument
|
D | enic_api.c | 18 struct enic *enic = netdev_priv(netdev); in enic_api_devcmd_proxy_by_index() local
|
D | enic_res.h | 28 #define ENIC_SETTING(enic, f) ((enic->config.flags & VENETF_##f) ? 1 : 0) argument
|