Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/cisco/enic/
H A Denic.h132 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()
229 static inline unsigned int enic_msix_rq_intr(struct enic *enic, in enic_msix_rq_intr()
[all …]
H A Denic_main.c183 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()
348 struct enic *enic = vnic_dev_priv(vdev); in enic_wq_service() local
450 struct enic *enic = netdev_priv(netdev); in enic_isr_legacy() local
487 struct enic *enic = data; in enic_isr_msi() local
521 struct enic *enic = data; in enic_isr_msix_err() local
535 struct enic *enic = data; in enic_isr_msix_notify() local
[all …]
H A Denic_dev.c35 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()
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()
132 int enic_dev_enable(struct enic *enic) in enic_dev_enable()
143 int enic_dev_disable(struct enic *enic) in enic_dev_disable()
154 int enic_dev_intr_coal_timer_info(struct enic *enic) in enic_dev_intr_coal_timer_info()
168 struct enic *enic = netdev_priv(netdev); in enic_vlan_rx_add_vid() local
[all …]
H A Denic_ethtool.c95 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
495 struct enic *enic = netdev_priv(dev); in enic_get_rxnfc() local
532 struct enic *enic = netdev_priv(dev); in enic_get_tunable() local
[all …]
H A Denic_res.c29 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()
H A Denic_pp.c23 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()
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_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 = 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
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.h28 #define ENIC_SETTING(enic, f) ((enic->config.flags & VENETF_##f) ? 1 : 0) argument