Home
last modified time | relevance | path

Searched defs:enic (Results 1 – 12 of 12) sorted by relevance

/drivers/net/ethernet/cisco/enic/
Denic.h139 struct enic { struct
150 struct enic_msix_entry msix[ENIC_INTR_MAX]; argument
159 struct enic_rx_coal rx_coalesce_setting; argument
165 spinlock_t enic_api_lock; argument
166 bool enic_api_busy; argument
167 struct enic_port_profile *pp; argument
191 struct enic_rfs_flw_tbl rfs_h; argument
199 struct enic *enic = vdev->priv; in vnic_get_netdev() argument
216 static inline struct device *enic_get_dev(struct enic *enic) in enic_get_dev()
221 static inline unsigned int enic_cq_rq(struct enic *enic, unsigned int rq) in enic_cq_rq()
[all …]
Denic_main.c116 static void enic_init_affinity_hint(struct enic *enic) in enic_init_affinity_hint()
133 static void enic_free_affinity_hint(struct enic *enic) in enic_free_affinity_hint()
144 static void enic_set_affinity_hint(struct enic *enic) in enic_set_affinity_hint()
173 static void enic_unset_affinity_hint(struct enic *enic) in enic_unset_affinity_hint()
181 int enic_is_dynamic(struct enic *enic) in enic_is_dynamic()
186 int enic_sriov_enabled(struct enic *enic) in enic_sriov_enabled()
191 static int enic_is_sriov_vf(struct enic *enic) in enic_is_sriov_vf()
196 int enic_is_valid_vf(struct enic *enic, int vf) in enic_is_valid_vf()
207 struct enic *enic = vnic_dev_priv(wq->vdev); in enic_free_wq_buf() local
229 struct enic *enic = vnic_dev_priv(vdev); in enic_wq_service() local
[all …]
Denic_dev.c28 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 …]
Denic_ethtool.c95 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_settings() local
132 struct enic *enic = netdev_priv(netdev); in enic_get_drvinfo() local
188 struct enic *enic = netdev_priv(netdev); in enic_get_ethtool_stats() local
211 struct enic *enic = netdev_priv(netdev); in enic_get_msglevel() local
217 struct enic *enic = netdev_priv(netdev); in enic_set_msglevel() local
224 struct enic *enic = netdev_priv(netdev); in enic_get_coalesce() local
238 static int enic_coalesce_valid(struct enic *enic, in enic_coalesce_valid()
288 struct enic *enic = netdev_priv(netdev); in enic_set_coalesce() local
335 static int enic_grxclsrlall(struct enic *enic, struct ethtool_rxnfc *cmd, in enic_grxclsrlall()
[all …]
Denic_res.c42 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()
Denic_pp.c38 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()
Denic_clsf.c20 int enic_addfltr_5t(struct enic *enic, struct flow_keys *keys, u16 rq) in enic_addfltr_5t()
57 int enic_delfltr(struct enic *enic, u16 filter_id) in enic_delfltr()
71 void enic_rfs_flw_tbl_init(struct enic *enic) in enic_rfs_flw_tbl_init()
83 void enic_rfs_flw_tbl_free(struct enic *enic) in enic_rfs_flw_tbl_free()
105 struct enic_rfs_fltr_node *htbl_fltr_search(struct enic *enic, u16 fltr_id) in htbl_fltr_search()
126 struct enic *enic = (struct enic *)data; in enic_flow_may_expire() local
174 struct enic *enic; in enic_rx_flow_steer() local
Denic_clsf.h20 static inline void enic_rfs_timer_start(struct enic *enic) in enic_rfs_timer_start()
28 static inline void enic_rfs_timer_stop(struct enic *enic) in enic_rfs_timer_stop()
33 static inline void enic_rfs_timer_start(struct enic *enic) {} in enic_rfs_timer_start()
34 static inline void enic_rfs_timer_stop(struct enic *enic) {} in enic_rfs_timer_stop()
Denic_pp.h22 #define ENIC_PP_BY_INDEX(enic, vf, pp, err) \ argument
Denic_dev.h29 #define ENIC_DEVCMD_PROXY_BY_INDEX(vf, err, enic, vnicdevcmdfn, ...) \ argument
Denic_api.c33 struct enic *enic = netdev_priv(netdev); in enic_api_devcmd_proxy_by_index() local
Denic_res.h41 #define ENIC_SETTING(enic, f) ((enic->config.flags & VENETF_##f) ? 1 : 0) argument