Home
last modified time | relevance | path

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

12

/dpdk/drivers/net/enic/
H A Denic_main.c366 struct enic *enic = (struct enic *)priv; in enic_alloc_consistent() local
406 struct enic *enic = (struct enic *)priv; in enic_free_consistent() local
443 struct enic *enic = pmd_priv(dev); in enic_intr_handler() local
574 int enic_enable(struct enic *enic) in enic_enable() argument
703 struct enic *enic; in enic_free_rq() local
1030 struct enic *enic; in enic_free_wq() local
1539 enic->cq_count = enic->rq_count + enic->wq_count; in enic_set_vnic_res()
1871 if (!enic->disable_overlay && (enic->vxlan || enic->geneve)) { in enic_dev_init()
1894 struct enic *enic = priv; in lock_devcmd() local
1901 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
75 enic->rte_dev->data->mtu = RTE_MIN(enic->max_mtu, in enic_get_vnic_config()
130 enic->mac_addr[0], enic->mac_addr[1], enic->mac_addr[2], in enic_get_vnic_config()
131 enic->mac_addr[3], enic->mac_addr[4], enic->mac_addr[5], in enic_get_vnic_config()
133 enic->rte_dev->data->mtu, enic->max_mtu); in enic_get_vnic_config()
192 enic->vxlan = ENIC_SETTING(enic, VXLAN) && in enic_get_vnic_config()
194 enic->geneve = ENIC_SETTING(enic, GENEVE) && in enic_get_vnic_config()
205 enic->cq64 = enic->cq64_request && in enic_get_vnic_config()
291 void enic_get_res_counts(struct enic *enic) in enic_get_res_counts() argument
301 enic->conf_wq_count, enic->conf_rq_count, in enic_get_res_counts()
[all …]
H A Denic_ethdev.c80 struct enic *enic = pmd_priv(dev); in enicpmd_dev_flow_ops_get() local
152 struct enic *enic = pmd_priv(eth_dev); in enicpmd_dev_tx_queue_setup() local
242 struct enic *enic; in enicpmd_dev_rx_queue_count() local
767 struct enic *enic = pmd_priv(dev); in enicpmd_dev_rss_reta_query() local
793 struct enic *enic = pmd_priv(dev); in enicpmd_dev_rss_reta_update() local
823 struct enic *enic = pmd_priv(dev); in enicpmd_dev_rss_hash_update() local
1068 struct enic *enic; in enicpmd_dev_fw_version_get() local
1148 struct enic *enic; in enic_parse_zero_one() local
1151 enic = (struct enic *)opaque; in enic_parse_zero_one()
1174 struct enic *enic; in enic_parse_ig_vlan_rewrite() local
[all …]
H A Denic.h214 struct enic enic; argument
269 struct enic *enic) in enic_rte_rq_idx_to_data_idx() argument
382 int enic_setup_finish(struct enic *enic);
393 int enic_set_vnic_res(struct enic *enic);
395 int enic_set_rss_conf(struct enic *enic,
399 int enic_enable(struct enic *enic);
400 int enic_disable(struct enic *enic);
401 void enic_remove(struct enic *enic);
416 int enic_probe(struct enic *enic);
417 int enic_fm_init(struct enic *enic);
[all …]
H A Denic_res.h58 #define ENIC_SETTING(enic, f) ((enic->config.flags & VENETF_##f) ? 1 : 0) argument
60 struct enic;
62 int enic_get_vnic_config(struct enic *);
63 int enic_set_nic_cfg(struct enic *enic, uint8_t rss_default_cpu,
67 int enic_set_rss_key(struct enic *enic, dma_addr_t key_pa, uint64_t len);
68 int enic_set_rss_cpu(struct enic *enic, dma_addr_t cpu_pa, uint64_t len);
69 void enic_get_res_counts(struct enic *enic);
70 void enic_init_vnic_resources(struct enic *enic);
71 int enic_alloc_vnic_resources(struct enic *);
72 void enic_free_vnic_resources(struct enic *);
H A Denic_rxtx.c41 struct enic *enic = vnic_dev_priv(sop_rq->vdev); in enic_recv_pkts_common() local
59 cq = &enic->cq[enic_cq_rq(enic, sop_rq->index)]; in enic_recv_pkts_common()
106 rq = &enic->rq[rq_num]; in enic_recv_pkts_common()
255 struct enic *enic; in enic_noscatter_recv_pkts() local
262 cq = &enic->cq[enic_cq_rq(enic, rq->index)]; in enic_noscatter_recv_pkts()
283 port_id = enic->port_id; in enic_noscatter_recv_pkts()
404 unsigned int enic_cleanup_wq(__rte_unused struct enic *enic, struct vnic_wq *wq) in enic_cleanup_wq() argument
473 struct enic *enic = vnic_dev_priv(wq->vdev); in enic_xmit_pkts() local
490 enic_cleanup_wq(enic, wq); in enic_xmit_pkts()
624 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
1324 enic_get_filter_cap(struct enic *enic) in enic_get_filter_cap() argument
1334 enic_get_action_cap(struct enic *enic) in enic_get_action_cap() argument
1507 struct enic *enic = pmd_priv(dev); in enic_flow_parse() local
1729 struct enic *enic = pmd_priv(dev); in enic_flow_create() local
1756 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()
91 struct enic *pf; in enic_vf_dev_rx_queue_setup()
163 struct enic *pf; in enic_vf_dev_start()
253 struct enic *pf; in enic_vf_dev_stop()
277 enic_fm_destroy(&vf->enic); in enic_vf_dev_stop()
406 struct enic *pf; in enic_vf_link_update()
464 struct enic *pf; in enic_vf_dev_infos_get()
575 struct enic *pf; in get_vf_config()
613 struct enic *pf, *vf_enic; in enic_vf_representor_init()
682 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
815 if (!enic->enable_avx2_rx) in enic_use_vector_rx_handler()
818 if (!(enic->rq_count > 0 && enic->rq[0].data_queue_enable == 0)) in enic_use_vector_rx_handler()
[all …]
H A Denic_fm_flow.c193 static struct enic_flowman *begin_fm(struct enic *enic);
196 static void delete_rep_flows(struct enic *enic);
1622 struct enic *enic; in enic_fm_copy_action() local
2976 struct enic *enic; in enic_fm_flow_create() local
3036 struct enic *enic = pmd_priv(dev); in enic_fm_flow_destroy() local
3057 struct enic *enic = pmd_priv(dev); in enic_fm_flow_flush() local
3218 enic_fm_init(struct enic *enic) in enic_fm_init() argument
3240 enic->fm_vnic_uif = vnic_dev_uif(enic->vdev); in enic_fm_init()
3318 enic_fm_destroy(struct enic *enic) in enic_fm_destroy() argument
3593 delete_rep_flows(struct enic *enic) in delete_rep_flows() argument
[all …]
/dpdk/doc/guides/nics/
H A Dindex.rst30 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
405 (``--log-level=enic,debug``) and check the following messages.
453 - Currently, unbind of the ENIC kernel mode driver 'enic.ko' on the VM
454 instance may hang. As a workaround, enic.ko should be blocked or removed
/dpdk/drivers/net/
H A Dmeson.build23 'enic',
/dpdk/doc/guides/rel_notes/
H A Drelease_16_07.rst64 * **Updated the enic driver.**
66 The enic driver was updated with changes including the following:
228 * **enic: Fixed several issues when stopping then restarting ports and queues.**
233 * **enic: Fixed Rx data mis-alignment if mbuf data offset modified.**
238 * **enic: Fixed Tx IP/UDP/TCP checksum offload and VLAN insertion.**
240 * **enic: Fixed Rx error and missed counters.**
H A Drelease_16_11.rst83 * **Updated the enic driver.**
132 * **enic: Fixed several flow director issues.**
134 * **enic: Fixed inadvertent setting of L4 checksum ptype on ICMP packets.**
136 * **enic: Fixed high driver overhead when servicing Rx queues beyond the first.**
H A Drelease_19_05.rst121 * **Updated the enic driver.**
123 Updated enic driver with new features and improvements, including:
H A Drelease_20_05.rst77 * **Updated Cisco enic driver.**
79 Updated Cisco enic driver GENEVE tunneling support:
H A Drelease_18_08.rst38 * **Updated the enic driver.**
H A Drelease_17_08.rst47 * **Added support for generic flow API (rte_flow) on enic.**
H A Drelease_22_03.rst102 * **Updated Cisco enic driver.**
H A Drelease_19_02.rst68 * **Updated the enic driver.**
H A Drelease_21_02.rst56 * **Updated Cisco enic driver.**
H A Drelease_20_08.rst96 * **Updated Cisco enic driver.**
/dpdk/doc/guides/nics/features/
H A Denic.ini2 ; Supported features of the 'enic' network poll mode driver.
/dpdk/
H A DMAINTAINERS678 Cisco enic
681 F: drivers/net/enic/
682 F: doc/guides/nics/enic.rst
683 F: doc/guides/nics/features/enic.ini

12