Home
last modified time | relevance | path

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

12

/f-stack/dpdk/drivers/net/enic/
H A Denic_main.c365 struct enic *enic = (struct enic *)priv; in enic_alloc_consistent() local
405 struct enic *enic = (struct enic *)priv; in enic_free_consistent() local
442 struct enic *enic = pmd_priv(dev); in enic_intr_handler() local
568 int enic_enable(struct enic *enic) in enic_enable() argument
700 struct enic *enic; in enic_free_rq() local
1014 struct enic *enic; in enic_free_wq() local
1450 enic->promisc, enic->allmulti); in enic_add_packet_filter()
1524 enic->cq_count = enic->rq_count + enic->wq_count; in enic_set_vnic_res()
1859 struct enic *enic = priv; in lock_devcmd() local
1866 struct enic *enic = priv; in unlock_devcmd() local
[all …]
H A Denic_res.c24 int enic_get_vnic_config(struct enic *enic) in enic_get_vnic_config() argument
29 err = vnic_dev_get_mac_addr(enic->vdev, enic->mac_addr); in enic_get_vnic_config()
71 enic->rte_dev->data->mtu = RTE_MIN(enic->max_mtu, in enic_get_vnic_config()
117 enic->mac_addr[0], enic->mac_addr[1], enic->mac_addr[2], in enic_get_vnic_config()
118 enic->mac_addr[3], enic->mac_addr[4], enic->mac_addr[5], in enic_get_vnic_config()
120 enic->rte_dev->data->mtu, enic->max_mtu); in enic_get_vnic_config()
179 enic->vxlan = ENIC_SETTING(enic, VXLAN) && in enic_get_vnic_config()
253 void enic_free_vnic_resources(struct enic *enic) in enic_free_vnic_resources() argument
268 void enic_get_res_counts(struct enic *enic) in enic_get_res_counts() argument
278 enic->conf_wq_count, enic->conf_rq_count, in enic_get_res_counts()
[all …]
H A Denic.h231 struct enic enic; argument
286 struct enic *enic) in enic_rte_rq_idx_to_data_idx() argument
412 int enic_set_rss_conf(struct enic *enic,
416 int enic_enable(struct enic *enic);
417 int enic_disable(struct enic *enic);
418 void enic_remove(struct enic *enic);
433 int enic_probe(struct enic *enic);
434 int enic_clsf_init(struct enic *enic);
436 int enic_fm_init(struct enic *enic);
437 void enic_fm_destroy(struct enic *enic);
[all …]
H A Denic_ethdev.c81 struct enic *enic = pmd_priv(dev); in enicpmd_dev_filter_ctrl() local
170 struct enic *enic = pmd_priv(eth_dev); in enicpmd_dev_tx_queue_setup() local
259 struct enic *enic = pmd_priv(dev); in enicpmd_dev_rx_queue_count() local
782 struct enic *enic = pmd_priv(dev); in enicpmd_dev_rss_reta_query() local
808 struct enic *enic = pmd_priv(dev); in enicpmd_dev_rss_reta_update() local
838 struct enic *enic = pmd_priv(dev); in enicpmd_dev_rss_hash_update() local
1060 struct enic *enic; in enicpmd_dev_fw_version_get() local
1135 struct enic *enic; in enic_parse_zero_one() local
1138 enic = (struct enic *)opaque; in enic_parse_zero_one()
1161 struct enic *enic; in enic_parse_ig_vlan_rewrite() local
[all …]
H A Denic_res.h56 #define ENIC_SETTING(enic, f) ((enic->config.flags & VENETF_##f) ? 1 : 0) argument
58 struct enic;
60 int enic_get_vnic_config(struct enic *);
61 int enic_set_nic_cfg(struct enic *enic, uint8_t rss_default_cpu,
65 int enic_set_rss_key(struct enic *enic, dma_addr_t key_pa, uint64_t len);
66 int enic_set_rss_cpu(struct enic *enic, dma_addr_t cpu_pa, uint64_t len);
67 void enic_get_res_counts(struct enic *enic);
68 void enic_init_vnic_resources(struct enic *enic);
69 int enic_alloc_vnic_resources(struct enic *);
70 void enic_free_vnic_resources(struct enic *);
H A Denic_clsf.c45 void enic_fdir_info(struct enic *enic) in enic_fdir_info() argument
50 if (enic->adv_filters) { in enic_fdir_info()
297 void enic_clsf_destroy(struct enic *enic) in enic_clsf_destroy() argument
303 key = enic->fdir.nodes[index]; in enic_clsf_destroy()
308 enic->fdir.nodes[index] = NULL; in enic_clsf_destroy()
312 if (enic->fdir.hash) { in enic_clsf_destroy()
313 rte_hash_free(enic->fdir.hash); in enic_clsf_destroy()
314 enic->fdir.hash = NULL; in enic_clsf_destroy()
318 int enic_clsf_init(struct enic *enic) in enic_clsf_init() argument
331 memset(&enic->fdir.stats, 0, sizeof(enic->fdir.stats)); in enic_clsf_init()
[all …]
H A Denic_rxtx.c52 struct enic *enic = vnic_dev_priv(sop_rq->vdev); in enic_recv_pkts() local
66 cq = &enic->cq[enic_cq_rq(enic, sop_rq->index)]; in enic_recv_pkts()
93 rq = &enic->rq[rq_num]; in enic_recv_pkts()
141 rxmb->port = enic->port_id; in enic_recv_pkts()
229 struct enic *enic; in enic_noscatter_recv_pkts() local
236 cq = &enic->cq[enic_cq_rq(enic, rq->index)]; in enic_noscatter_recv_pkts()
257 port_id = enic->port_id; in enic_noscatter_recv_pkts()
373 unsigned int enic_cleanup_wq(__rte_unused struct enic *enic, struct vnic_wq *wq) in enic_cleanup_wq() argument
442 struct enic *enic = vnic_dev_priv(wq->vdev); in enic_xmit_pkts() local
593 struct enic *enic) in enqueue_simple_pkts() argument
[all …]
H A Denic_flow.c35 struct enic *enic; member
64 typedef int (copy_action_fn)(struct enic *enic,
1060 struct enic *enic, in enic_copy_filter() argument
1079 args.enic = enic; in enic_copy_filter()
1182 enic_copy_action_v2(struct enic *enic, in enic_copy_action_v2() argument
1321 enic_get_filter_cap(struct enic *enic) in enic_get_filter_cap() argument
1331 enic_get_action_cap(struct enic *enic) in enic_get_action_cap() argument
1504 struct enic *enic = pmd_priv(dev); in enic_flow_parse() local
1724 struct enic *enic = pmd_priv(dev); in enic_flow_create() local
1751 struct enic *enic = pmd_priv(dev); in enic_flow_destroy() local
[all …]
H A Denic_vf_representor.c49 struct enic *pf; in enic_vf_dev_tx_queue_setup()
89 struct enic *pf; in enic_vf_dev_rx_queue_setup()
159 struct enic *pf; in enic_vf_dev_start()
249 struct enic *pf; in enic_vf_dev_stop()
273 enic_fm_destroy(&vf->enic); in enic_vf_dev_stop()
415 struct enic *pf; in enic_vf_link_update()
473 struct enic *pf; in enic_vf_dev_infos_get()
584 struct enic *pf; in get_vf_config()
622 struct enic *pf, *vf_enic; in enic_vf_representor_init()
691 vf->enic.vdev = vnic_vf_rep_register(&vf->enic, pf->vdev, vf->vf_id); in enic_vf_representor_init()
[all …]
H A Denic_rxtx_vec_avx2.c18 rx_one(struct cq_enet_rq_desc *cqd, struct rte_mbuf *mb, struct enic *enic) in rx_one() argument
49 struct enic *enic; in enic_noscatter_vec_recv_pkts() local
53 enic = vnic_dev_priv(rq->vdev); in enic_noscatter_vec_recv_pkts()
54 cq = &enic->cq[enic_cq_rq(enic, rq->index)]; in enic_noscatter_vec_recv_pkts()
86 *rx++ = rx_one(cqd, *rxmb++, enic); in enic_noscatter_vec_recv_pkts()
382 0, enic->mbuf_initializer); in enic_noscatter_vec_recv_pkts()
766 *rx++ = rx_one(cqd, *rxmb++, enic); in enic_noscatter_vec_recv_pkts()
812 struct enic *enic = pmd_priv(eth_dev); in enic_use_vector_rx_handler() local
816 if (!enic->enable_avx2_rx) in enic_use_vector_rx_handler()
819 if (!(enic->rq_count > 0 && enic->rq[0].data_queue_enable == 0)) in enic_use_vector_rx_handler()
[all …]
H A Denic_fm_flow.c195 static struct enic_flowman *begin_fm(struct enic *enic);
198 static void delete_rep_flows(struct enic *enic);
1264 struct enic *enic; in enic_fm_copy_action() local
2586 struct enic *enic; in enic_fm_flow_create() local
2646 struct enic *enic = pmd_priv(dev); in enic_fm_flow_destroy() local
2667 struct enic *enic = pmd_priv(dev); in enic_fm_flow_flush() local
2828 enic_fm_init(struct enic *enic) in enic_fm_init() argument
2850 enic->fm_vnic_uif = vnic_dev_uif(enic->vdev); in enic_fm_init()
2926 enic_fm_destroy(struct enic *enic) in enic_fm_destroy() argument
3201 delete_rep_flows(struct enic *enic) in delete_rep_flows() argument
[all …]
/f-stack/dpdk/doc/guides/nics/
H A Dindex.rst28 enic
H A Denic.rst181 In the VM, the kernel enic driver may be automatically bound to the VF during
183 work around the issue, block the enic module as follows.
189 # cat /etc/modprobe.d/enic.conf
190 blacklist enic
432 - Currently, unbind of the ENIC kernel mode driver 'enic.ko' on the VM
433 instance may hang. As a workaround, enic.ko should be blocked or removed
/f-stack/dpdk/drivers/net/
H A Dmeson.build21 'enic',
/f-stack/dpdk/doc/guides/nics/features/
H A Denic.ini2 ; Supported features of the 'enic' network poll mode driver.
/f-stack/dpdk/doc/guides/rel_notes/
H A Drelease_16_07.rst94 * **Updated the enic driver.**
96 The enic driver was updated with changes including the following:
267 * **enic: Fixed several issues when stopping then restarting ports and queues.**
272 * **enic: Fixed Rx data mis-alignment if mbuf data offset modified.**
277 * **enic: Fixed Tx IP/UDP/TCP checksum offload and VLAN insertion.**
279 * **enic: Fixed Rx error and missed counters.**
H A Drelease_16_11.rst116 * **Updated the enic driver.**
179 * **enic: Fixed several flow director issues.**
181 * **enic: Fixed inadvertent setting of L4 checksum ptype on ICMP packets.**
183 * **enic: Fixed high driver overhead when servicing Rx queues beyond the first.**
H A Drelease_19_05.rst168 * **Updated the enic driver.**
170 Updated enic driver with new features and improvements, including:
H A Drelease_18_08.rst75 * **Updated the enic driver.**
H A Drelease_17_08.rst84 * **Added support for generic flow API (rte_flow) on enic.**
H A Drelease_17_02.rst138 * **Updated the enic driver.**
H A Drelease_19_02.rst115 * **Updated the enic driver.**
H A Drelease_20_08.rst143 * **Updated Cisco enic driver.**
H A Drelease_2_2.rst141 * **Improved enic TX packet rate.**
/f-stack/dpdk/
H A DMAINTAINERS642 Cisco enic
645 F: drivers/net/enic/
646 F: doc/guides/nics/enic.rst
647 F: doc/guides/nics/features/enic.ini

12