Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/cisco/enic/
H A Denic.h236 struct enic { struct
247 struct enic_msix_entry *msix; argument
256 struct enic_rx_coal rx_coalesce_setting; argument
260 enum enic_vf_type vf_type; argument
264 spinlock_t enic_api_lock; argument
265 bool enic_api_busy; argument
266 struct enic_port_profile *pp; argument
268 struct enic_wq *wq; argument
274 struct enic_rq *rq; argument
288 struct enic_rfs_flw_tbl rfs_h; argument
[all …]
H A Denic_main.c117 static void enic_init_affinity_hint(struct enic *enic) in enic_init_affinity_hint()
134 static void enic_free_affinity_hint(struct enic *enic) in enic_free_affinity_hint()
145 static void enic_set_affinity_hint(struct enic *enic) in enic_set_affinity_hint()
174 static void enic_unset_affinity_hint(struct enic *enic) in enic_unset_affinity_hint()
186 struct enic *enic = netdev_priv(netdev); in enic_udp_tunnel_set_port() local
213 struct enic *enic = netdev_priv(netdev); in enic_udp_tunnel_unset_port() local
251 struct enic *enic = netdev_priv(dev); in enic_features_check() local
303 int enic_is_dynamic(struct enic *enic) in enic_is_dynamic()
308 int enic_sriov_enabled(struct enic *enic) in enic_sriov_enabled()
313 static int enic_is_sriov_vf(struct enic *enic) in enic_is_sriov_vf()
[all …]
H A Denic_admin.c36 struct enic *enic = vnic_dev_priv(wq->vdev); in enic_admin_wq_buf_clean() local
49 struct enic *enic = vnic_dev_priv(rq->vdev); in enic_admin_rq_buf_clean() local
60 static int enic_admin_rq_post_one(struct enic *enic, gfp_t gfp) in enic_admin_rq_post_one()
86 static int enic_admin_rq_fill(struct enic *enic, gfp_t gfp) in enic_admin_rq_fill()
100 static void enic_admin_rq_drain(struct enic *enic) in enic_admin_rq_drain()
112 unsigned int enic_admin_wq_cq_service(struct enic *enic) in enic_admin_wq_cq_service()
135 static void enic_admin_msg_enqueue(struct enic *enic, void *buf, in enic_admin_msg_enqueue()
162 unsigned int enic_admin_rq_cq_service(struct enic *enic) in enic_admin_rq_cq_service()
271 struct enic *enic = data; in enic_admin_isr_msix() local
280 struct enic *enic = container_of(work, struct enic, admin_msg_work); in enic_admin_msg_work_handler() local
[all …]
H A Denic_mbox.c21 static void enic_mbox_fill_hdr(struct enic *enic, struct enic_mbox_hdr *hdr, in enic_mbox_fill_hdr()
31 int enic_mbox_send_msg(struct enic *enic, u8 msg_type, u16 dst_vnic_id, in enic_mbox_send_msg()
146 static int enic_mbox_wait_reply(struct enic *enic, unsigned long timeout_ms) in enic_mbox_wait_reply()
156 int enic_mbox_send_link_state(struct enic *enic, u16 vf_id, u32 link_state) in enic_mbox_send_link_state()
173 static int enic_mbox_pf_handle_capability(struct enic *enic, void *msg, in enic_mbox_pf_handle_capability()
185 static int enic_mbox_pf_handle_register(struct enic *enic, void *msg, in enic_mbox_pf_handle_register()
235 static int enic_mbox_pf_handle_unregister(struct enic *enic, void *msg, in enic_mbox_pf_handle_unregister()
266 static void enic_mbox_pf_process_msg(struct enic *enic, in enic_mbox_pf_process_msg()
327 static void enic_mbox_vf_handle_capability_reply(struct enic *enic, in enic_mbox_vf_handle_capability_reply()
349 static void enic_mbox_vf_handle_register_reply(struct enic *enic, in enic_mbox_vf_handle_register_reply()
[all …]
H A Denic_res.c29 int enic_get_vnic_config(struct enic *enic) in enic_get_vnic_config()
117 int enic_add_vlan(struct enic *enic, u16 vlanid) in enic_add_vlan()
130 int enic_del_vlan(struct enic *enic, u16 vlanid) in enic_del_vlan()
143 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()
224 void enic_init_vnic_resources(struct enic *enic) in enic_init_vnic_resources()
329 int enic_alloc_vnic_resources(struct enic *enic) in enic_alloc_vnic_resources()
[all …]
H A Denic_pp.c23 int enic_is_valid_pp_vf(struct enic *enic, int vf, int *err) in enic_is_valid_pp_vf()
59 static int enic_set_port_profile(struct enic *enic, int vf) in enic_set_port_profile()
135 static int enic_unset_port_profile(struct enic *enic, int vf) in enic_unset_port_profile()
179 static int enic_pp_preassociate(struct enic *enic, int vf, in enic_pp_preassociate()
185 static int enic_pp_disassociate(struct enic *enic, int vf, in enic_pp_disassociate()
207 static int enic_pp_preassociate_rr(struct enic *enic, int vf, in enic_pp_preassociate_rr()
246 static int enic_pp_associate(struct enic *enic, int vf, in enic_pp_associate()
294 int enic_process_set_pp_request(struct enic *enic, int vf, in enic_process_set_pp_request()
311 int enic_process_get_pp_request(struct enic *enic, int vf, in enic_process_get_pp_request()
H A Denic_clsf.c21 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 = timer_container_of(enic, t, rfs_h.rfs_may_expire); in enic_flow_may_expire() local
176 struct enic *enic; in enic_rx_flow_steer() local
H A Denic_clsf.h21 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()
H A Denic_wq.c43 struct enic *enic = vnic_dev_priv(wq->vdev); in enic_free_wq_buf() local
59 struct enic *enic = vnic_dev_priv(wq->vdev); in enic_wq_free_buf() local
69 struct enic *enic = vnic_dev_priv(vdev); in enic_wq_service() local
86 unsigned int enic_wq_cq_service(struct enic *enic, unsigned int cq_index, in enic_wq_cq_service()
H A Denic_rq.c104 struct enic *enic = vnic_dev_priv(vrq->vdev); in enic_rq_set_skb_flags() local
255 struct enic *enic = vnic_dev_priv(vrq->vdev); in enic_rq_pkt_error() local
272 struct enic *enic = vnic_dev_priv(rq->vdev); in enic_rq_alloc_buf() local
306 struct enic *enic = vnic_dev_priv(rq->vdev); in enic_free_rq_buf() local
316 static void enic_rq_indicate_buf(struct enic *enic, struct vnic_rq *rq, in enic_rq_indicate_buf()
387 static void enic_rq_service(struct enic *enic, void *cq_desc, u8 type, in enic_rq_service()
411 unsigned int enic_rq_cq_service(struct enic *enic, unsigned int cq_index, in enic_rq_cq_service()
H A Denic_pp.h7 #define ENIC_PP_BY_INDEX(enic, vf, pp, err) \ argument
H A Denic_dev.h14 #define ENIC_DEVCMD_PROXY_BY_INDEX(vf, err, enic, vnicdevcmdfn, ...) \ argument
H A Denic_api.c18 struct enic *enic = netdev_priv(netdev); in enic_api_devcmd_proxy_by_index() local
H A Denic_res.h31 #define ENIC_SETTING(enic, f) ((enic->config.flags & VENETF_##f) ? 1 : 0) argument