Home
last modified time | relevance | path

Searched refs:enic (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/net/ethernet/cisco/enic/
A Denic_main.c248 struct enic *enic = netdev_priv(dev); in enic_features_check() local
300 int enic_is_dynamic(struct enic *enic) in enic_is_dynamic() argument
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
1692 struct enic *enic = from_timer(enic, t, notify_timer); in enic_notify_timer() local
1772 enic->msix[intr].devid = enic; in enic_request_intr()
1779 enic->msix[intr].devid = enic; in enic_request_intr()
2311 struct enic *enic = container_of(work, struct enic, reset); in enic_reset() local
2673 struct enic *enic; in enic_probe() local
[all …]
A Denic_dev.c50 int enic_dev_add_station_addr(struct enic *enic) in enic_dev_add_station_addr() argument
64 int enic_dev_del_station_addr(struct enic *enic) in enic_dev_del_station_addr() argument
91 int enic_dev_add_addr(struct enic *enic, const u8 *addr) in enic_dev_add_addr() argument
102 int enic_dev_del_addr(struct enic *enic, const u8 *addr) in enic_dev_del_addr() argument
113 int enic_dev_notify_unset(struct enic *enic) in enic_dev_notify_unset() argument
124 int enic_dev_hang_notify(struct enic *enic) in enic_dev_hang_notify() argument
147 int enic_dev_enable(struct enic *enic) in enic_dev_enable() argument
158 int enic_dev_disable(struct enic *enic) in enic_dev_disable() argument
169 int enic_dev_intr_coal_timer_info(struct enic *enic) in enic_dev_intr_coal_timer_info() argument
183 struct enic *enic = netdev_priv(netdev); in enic_vlan_rx_add_vid() local
[all …]
A Denic_res.c42 int enic_get_vnic_config(struct enic *enic) in enic_get_vnic_config() argument
122 int enic_add_vlan(struct enic *enic, u16 vlanid) in enic_add_vlan() argument
135 int enic_del_vlan(struct enic *enic, u16 vlanid) in enic_del_vlan() argument
187 void enic_free_vnic_resources(struct enic *enic) in enic_free_vnic_resources() argument
201 void enic_get_res_counts(struct enic *enic) in enic_get_res_counts() argument
211 enic->wq_count, enic->rq_count, in enic_get_res_counts()
212 enic->cq_count, enic->intr_count); in enic_get_res_counts()
215 void enic_init_vnic_resources(struct enic *enic) in enic_init_vnic_resources() argument
317 int enic_alloc_vnic_resources(struct enic *enic) in enic_alloc_vnic_resources() argument
327 enic->wq_count, enic->rq_count, in enic_alloc_vnic_resources()
[all …]
A Denic_dev.h43 int enic_dev_stats_dump(struct enic *enic, struct vnic_stats **vstats);
44 int enic_dev_add_station_addr(struct enic *enic);
45 int enic_dev_del_station_addr(struct enic *enic);
48 int enic_dev_add_addr(struct enic *enic, const u8 *addr);
49 int enic_dev_del_addr(struct enic *enic, const u8 *addr);
52 int enic_dev_notify_unset(struct enic *enic);
53 int enic_dev_hang_notify(struct enic *enic);
54 int enic_dev_set_ig_vlan_rewrite_mode(struct enic *enic);
55 int enic_dev_enable(struct enic *enic);
56 int enic_dev_disable(struct enic *enic);
[all …]
A Denic.h145 struct enic { struct
206 struct enic *enic = vdev->priv; in vnic_get_netdev() argument
260 return enic->cq[enic_cq_rq(enic, rq)].interrupt_offset; in enic_msix_rq_intr()
266 return enic->cq[enic_cq_wq(enic, wq)].interrupt_offset; in enic_msix_wq_intr()
271 return enic->rq_count + enic->wq_count; in enic_msix_err_intr()
276 return enic->rq_count + enic->wq_count + 1; in enic_msix_notify_intr()
318 void enic_reset_addr_lists(struct enic *enic);
319 int enic_sriov_enabled(struct enic *enic);
320 int enic_is_valid_vf(struct enic *enic, int vf);
321 int enic_is_dynamic(struct enic *enic);
[all …]
A Denic_clsf.c21 int enic_addfltr_5t(struct enic *enic, struct flow_keys *keys, u16 rq) in enic_addfltr_5t() argument
59 int enic_delfltr(struct enic *enic, u16 filter_id) in enic_delfltr() argument
73 void enic_rfs_flw_tbl_init(struct enic *enic) in enic_rfs_flw_tbl_init() argument
80 enic->rfs_h.max = enic->config.num_arfs; in enic_rfs_flw_tbl_init()
81 enic->rfs_h.free = enic->rfs_h.max; in enic_rfs_flw_tbl_init()
85 void enic_rfs_flw_tbl_free(struct enic *enic) in enic_rfs_flw_tbl_free() argument
101 enic->rfs_h.free++; 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() argument
128 struct enic *enic = from_timer(enic, t, rfs_h.rfs_may_expire); in enic_flow_may_expire() local
138 hhead = &enic->rfs_h.ht_head[enic->rfs_h.toclean++]; in enic_flow_may_expire()
[all …]
A Denic_ethtool.c110 struct enic *enic = netdev_priv(netdev); in enic_get_ksettings() local
137 struct enic *enic = netdev_priv(netdev); in enic_get_drvinfo() local
182 struct enic *enic = netdev_priv(netdev); in enic_get_ringparam() local
194 struct enic *enic = netdev_priv(netdev); in enic_set_ringparam() local
267 struct enic *enic = netdev_priv(netdev); in enic_get_ethtool_stats() local
290 struct enic *enic = netdev_priv(netdev); in enic_get_msglevel() local
296 struct enic *enic = netdev_priv(netdev); in enic_set_msglevel() local
305 struct enic *enic = netdev_priv(netdev); in enic_get_coalesce() local
506 struct enic *enic = netdev_priv(dev); in enic_get_rxnfc() local
543 struct enic *enic = netdev_priv(dev); in enic_get_tunable() local
[all …]
A Denic_pp.c38 int enic_is_valid_pp_vf(struct enic *enic, int vf, int *err) in enic_is_valid_pp_vf() argument
69 static int enic_set_port_profile(struct enic *enic, int vf) in enic_set_port_profile() argument
168 static int enic_pp_preassociate(struct enic *enic, int vf,
170 static int enic_pp_disassociate(struct enic *enic, int vf,
174 static int enic_pp_associate(struct enic *enic, int vf,
177 static int (*enic_pp_handlers[])(struct enic *enic, int vf,
189 static int enic_pp_preassociate(struct enic *enic, int vf, in enic_pp_preassociate() argument
195 static int enic_pp_disassociate(struct enic *enic, int vf, in enic_pp_disassociate() argument
256 static int enic_pp_associate(struct enic *enic, int vf, in enic_pp_associate() argument
304 int enic_process_set_pp_request(struct enic *enic, int vf, in enic_process_set_pp_request() argument
[all …]
A Denic_clsf.h10 int enic_addfltr_5t(struct enic *enic, struct flow_keys *keys, u16 rq);
11 int enic_delfltr(struct enic *enic, u16 filter_id);
12 void enic_rfs_flw_tbl_init(struct enic *enic);
13 void enic_rfs_flw_tbl_free(struct enic *enic);
14 struct enic_rfs_fltr_node *htbl_fltr_search(struct enic *enic, u16 fltr_id);
21 static inline void enic_rfs_timer_start(struct enic *enic) in enic_rfs_timer_start() argument
24 mod_timer(&enic->rfs_h.rfs_may_expire, jiffies + HZ/4); in enic_rfs_timer_start()
27 static inline void enic_rfs_timer_stop(struct enic *enic) in enic_rfs_timer_stop() argument
29 del_timer_sync(&enic->rfs_h.rfs_may_expire); in enic_rfs_timer_stop()
32 static inline void enic_rfs_timer_start(struct enic *enic) {} in enic_rfs_timer_start() argument
[all …]
A Denic_res.h41 #define ENIC_SETTING(enic, f) ((enic->config.flags & VENETF_##f) ? 1 : 0) argument
138 struct enic;
140 int enic_get_vnic_config(struct enic *);
141 int enic_add_vlan(struct enic *enic, u16 vlanid);
142 int enic_del_vlan(struct enic *enic, u16 vlanid);
143 int enic_set_nic_cfg(struct enic *enic, u8 rss_default_cpu, u8 rss_hash_type,
146 int enic_set_rss_key(struct enic *enic, dma_addr_t key_pa, u64 len);
147 int enic_set_rss_cpu(struct enic *enic, dma_addr_t cpu_pa, u64 len);
148 void enic_get_res_counts(struct enic *enic);
149 void enic_init_vnic_resources(struct enic *enic);
[all …]
A Denic_pp.h22 #define ENIC_PP_BY_INDEX(enic, vf, pp, err) \ argument
24 if (enic_is_valid_pp_vf(enic, vf, err)) \
25 pp = (vf == PORT_SELF_VF) ? enic->pp : enic->pp + vf; \
30 int enic_process_set_pp_request(struct enic *enic, int vf,
32 int enic_process_get_pp_request(struct enic *enic, int vf,
34 int enic_is_valid_pp_vf(struct enic *enic, int vf, int *err);
A Denic_api.c33 struct enic *enic = netdev_priv(netdev); in enic_api_devcmd_proxy_by_index() local
34 struct vnic_dev *vdev = enic->vdev; in enic_api_devcmd_proxy_by_index()
36 spin_lock(&enic->enic_api_lock); in enic_api_devcmd_proxy_by_index()
37 while (enic->enic_api_busy) { in enic_api_devcmd_proxy_by_index()
38 spin_unlock(&enic->enic_api_lock); in enic_api_devcmd_proxy_by_index()
40 spin_lock(&enic->enic_api_lock); in enic_api_devcmd_proxy_by_index()
43 spin_lock_bh(&enic->devcmd_lock); in enic_api_devcmd_proxy_by_index()
49 spin_unlock_bh(&enic->devcmd_lock); in enic_api_devcmd_proxy_by_index()
50 spin_unlock(&enic->enic_api_lock); in enic_api_devcmd_proxy_by_index()
A DMakefile2 obj-$(CONFIG_ENIC) := enic.o
4 enic-y := enic_main.o vnic_cq.o vnic_intr.o vnic_wq.o \
/linux/drivers/net/ethernet/cisco/
A DMakefile6 obj-$(CONFIG_ENIC) += enic/
A DKconfig20 source "drivers/net/ethernet/cisco/enic/Kconfig"
/linux/drivers/infiniband/hw/usnic/
A DMakefile2 ccflags-y := -I $(srctree)/drivers/net/ethernet/cisco/enic
/linux/include/config/
A Dauto.conf.cmd1059 drivers/net/ethernet/cisco/enic/Kconfig \
/linux/
A DMAINTAINERS4611 F: drivers/net/ethernet/cisco/enic/

Completed in 52 milliseconds