Home
last modified time | relevance | path

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

/linux-6.3-rc2/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
1691 struct enic *enic = from_timer(enic, t, notify_timer); in enic_notify_timer() local
1771 enic->msix[intr].devid = enic; in enic_request_intr()
1778 enic->msix[intr].devid = enic; in enic_request_intr()
2309 struct enic *enic = container_of(work, struct enic, reset); in enic_reset() local
2672 struct enic *enic; in enic_probe() local
[all …]
A Denic_dev.c35 int enic_dev_add_station_addr(struct enic *enic) in enic_dev_add_station_addr() argument
49 int enic_dev_del_station_addr(struct enic *enic) in enic_dev_del_station_addr() argument
76 int enic_dev_add_addr(struct enic *enic, const u8 *addr) in enic_dev_add_addr() argument
87 int enic_dev_del_addr(struct enic *enic, const u8 *addr) in enic_dev_del_addr() argument
98 int enic_dev_notify_unset(struct enic *enic) in enic_dev_notify_unset() argument
109 int enic_dev_hang_notify(struct enic *enic) in enic_dev_hang_notify() argument
132 int enic_dev_enable(struct enic *enic) in enic_dev_enable() argument
143 int enic_dev_disable(struct enic *enic) in enic_dev_disable() argument
154 int enic_dev_intr_coal_timer_info(struct enic *enic) in enic_dev_intr_coal_timer_info() argument
168 struct enic *enic = netdev_priv(netdev); in enic_vlan_rx_add_vid() local
[all …]
A Denic_res.c29 int enic_get_vnic_config(struct enic *enic) in enic_get_vnic_config() argument
109 int enic_add_vlan(struct enic *enic, u16 vlanid) in enic_add_vlan() argument
122 int enic_del_vlan(struct enic *enic, u16 vlanid) in enic_del_vlan() argument
174 void enic_free_vnic_resources(struct enic *enic) in enic_free_vnic_resources() argument
188 void enic_get_res_counts(struct enic *enic) in enic_get_res_counts() argument
198 enic->wq_count, enic->rq_count, in enic_get_res_counts()
199 enic->cq_count, enic->intr_count); in enic_get_res_counts()
202 void enic_init_vnic_resources(struct enic *enic) in enic_init_vnic_resources() argument
304 int enic_alloc_vnic_resources(struct enic *enic) in enic_alloc_vnic_resources() argument
314 enic->wq_count, enic->rq_count, in enic_alloc_vnic_resources()
[all …]
A Denic_dev.h28 int enic_dev_stats_dump(struct enic *enic, struct vnic_stats **vstats);
29 int enic_dev_add_station_addr(struct enic *enic);
30 int enic_dev_del_station_addr(struct enic *enic);
33 int enic_dev_add_addr(struct enic *enic, const u8 *addr);
34 int enic_dev_del_addr(struct enic *enic, const u8 *addr);
37 int enic_dev_notify_unset(struct enic *enic);
38 int enic_dev_hang_notify(struct enic *enic);
39 int enic_dev_set_ig_vlan_rewrite_mode(struct enic *enic);
40 int enic_dev_enable(struct enic *enic);
41 int enic_dev_disable(struct enic *enic);
[all …]
A Denic.h132 struct enic { struct
193 struct enic *enic = vdev->priv; in vnic_get_netdev() argument
232 return enic->cq[enic_cq_rq(enic, rq)].interrupt_offset; in enic_msix_rq_intr()
238 return enic->cq[enic_cq_wq(enic, wq)].interrupt_offset; in enic_msix_wq_intr()
243 return enic->rq_count + enic->wq_count; in enic_msix_err_intr()
252 return enic->rq_count + enic->wq_count + 1; in enic_msix_notify_intr()
294 void enic_reset_addr_lists(struct enic *enic);
295 int enic_sriov_enabled(struct enic *enic);
296 int enic_is_valid_vf(struct enic *enic, int vf);
297 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_pp.c23 int enic_is_valid_pp_vf(struct enic *enic, int vf, int *err) in enic_is_valid_pp_vf() argument
54 static int enic_set_port_profile(struct enic *enic, int vf) in enic_set_port_profile() argument
130 static int enic_unset_port_profile(struct enic *enic, int vf) in enic_unset_port_profile() argument
153 static int enic_pp_preassociate(struct enic *enic, int vf,
155 static int enic_pp_disassociate(struct enic *enic, int vf,
159 static int enic_pp_associate(struct enic *enic, int vf,
162 static int (*enic_pp_handlers[])(struct enic *enic, int vf,
174 static int enic_pp_preassociate(struct enic *enic, int vf, in enic_pp_preassociate() argument
180 static int enic_pp_disassociate(struct enic *enic, int vf, in enic_pp_disassociate() argument
241 static int enic_pp_associate(struct enic *enic, int vf, in enic_pp_associate() argument
[all …]
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 …]
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.h28 #define ENIC_SETTING(enic, f) ((enic->config.flags & VENETF_##f) ? 1 : 0) argument
125 struct enic;
127 int enic_get_vnic_config(struct enic *);
128 int enic_add_vlan(struct enic *enic, u16 vlanid);
129 int enic_del_vlan(struct enic *enic, u16 vlanid);
130 int enic_set_nic_cfg(struct enic *enic, u8 rss_default_cpu, u8 rss_hash_type,
133 int enic_set_rss_key(struct enic *enic, dma_addr_t key_pa, u64 len);
134 int enic_set_rss_cpu(struct enic *enic, dma_addr_t cpu_pa, u64 len);
135 void enic_get_res_counts(struct enic *enic);
136 void enic_init_vnic_resources(struct enic *enic);
[all …]
A Denic_pp.h7 #define ENIC_PP_BY_INDEX(enic, vf, pp, err) \ argument
9 if (enic_is_valid_pp_vf(enic, vf, err)) \
10 pp = (vf == PORT_SELF_VF) ? enic->pp : enic->pp + vf; \
15 int enic_process_set_pp_request(struct enic *enic, int vf,
17 int enic_process_get_pp_request(struct enic *enic, int vf,
19 int enic_is_valid_pp_vf(struct enic *enic, int vf, int *err);
A Denic_api.c18 struct enic *enic = netdev_priv(netdev); in enic_api_devcmd_proxy_by_index() local
19 struct vnic_dev *vdev = enic->vdev; in enic_api_devcmd_proxy_by_index()
21 spin_lock(&enic->enic_api_lock); in enic_api_devcmd_proxy_by_index()
22 while (enic->enic_api_busy) { in enic_api_devcmd_proxy_by_index()
23 spin_unlock(&enic->enic_api_lock); in enic_api_devcmd_proxy_by_index()
25 spin_lock(&enic->enic_api_lock); in enic_api_devcmd_proxy_by_index()
28 spin_lock_bh(&enic->devcmd_lock); in enic_api_devcmd_proxy_by_index()
34 spin_unlock_bh(&enic->devcmd_lock); in enic_api_devcmd_proxy_by_index()
35 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-6.3-rc2/drivers/net/ethernet/cisco/
A DMakefile6 obj-$(CONFIG_ENIC) += enic/
A DKconfig20 source "drivers/net/ethernet/cisco/enic/Kconfig"
/linux-6.3-rc2/drivers/infiniband/hw/usnic/
A DMakefile2 ccflags-y := -I $(srctree)/drivers/net/ethernet/cisco/enic
/linux-6.3-rc2/
A DMAINTAINERS4992 F: drivers/net/ethernet/cisco/enic/

Completed in 71 milliseconds