Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/cisco/enic/
Denic.h73 struct enic { struct
83 struct enic_msix_entry msix[ENIC_INTR_MAX]; argument
99 struct enic_port_profile *pp; argument
125 static inline struct device *enic_get_dev(struct enic *enic) in enic_get_dev()
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, u8 *addr) in enic_dev_add_addr()
102 int enic_dev_del_addr(struct enic *enic, 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_main.c127 int enic_is_dynamic(struct enic *enic) in enic_is_dynamic()
132 int enic_sriov_enabled(struct enic *enic) in enic_sriov_enabled()
137 static int enic_is_sriov_vf(struct enic *enic) in enic_is_sriov_vf()
142 int enic_is_valid_vf(struct enic *enic, int vf) in enic_is_valid_vf()
151 static inline unsigned int enic_cq_rq(struct enic *enic, unsigned int rq) in enic_cq_rq()
156 static inline unsigned int enic_cq_wq(struct enic *enic, unsigned int wq) in enic_cq_wq()
176 static inline unsigned int enic_msix_rq_intr(struct enic *enic, unsigned int rq) in enic_msix_rq_intr()
181 static inline unsigned int enic_msix_wq_intr(struct enic *enic, unsigned int wq) in enic_msix_wq_intr()
186 static inline unsigned int enic_msix_err_intr(struct enic *enic) in enic_msix_err_intr()
191 static inline unsigned int enic_msix_notify_intr(struct enic *enic) in enic_msix_notify_intr()
[all …]
Denic_res.c42 int enic_get_vnic_config(struct enic *enic) in enic_get_vnic_config()
121 int enic_add_vlan(struct enic *enic, u16 vlanid) in enic_add_vlan()
134 int enic_del_vlan(struct enic *enic, u16 vlanid) in enic_del_vlan()
147 int enic_set_nic_cfg(struct enic *enic, u8 rss_default_cpu, u8 rss_hash_type, in enic_set_nic_cfg()
165 int enic_set_rss_key(struct enic *enic, dma_addr_t key_pa, u64 len) in enic_set_rss_key()
173 int enic_set_rss_cpu(struct enic *enic, dma_addr_t cpu_pa, u64 len) in enic_set_rss_cpu()
181 void enic_free_vnic_resources(struct enic *enic) in enic_free_vnic_resources()
195 void enic_get_res_counts(struct enic *enic) in enic_get_res_counts()
209 void enic_init_vnic_resources(struct enic *enic) in enic_init_vnic_resources()
311 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_pp.h22 #define ENIC_PP_BY_INDEX(enic, vf, pp, err) \ argument
Denic_dev.h28 #define ENIC_DEVCMD_PROXY_BY_INDEX(vf, err, enic, vnicdevcmdfn, ...) \ argument
Denic_res.h41 #define ENIC_SETTING(enic, f) ((enic->config.flags & VENETF_##f) ? 1 : 0) argument