Home
last modified time | relevance | path

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

/freebsd/sys/dev/enic/
H A Denic_res.c24 int enic_get_vnic_config(struct enic *enic) in enic_get_vnic_config() argument
26 struct vnic_enet_config *c = &enic->config; in enic_get_vnic_config()
28 err = vnic_dev_get_mac_addr(enic->vdev, enic->mac_addr); in enic_get_vnic_config()
30 dev_err(enic_get_dev(enic), in enic_get_vnic_config()
37 err = vnic_dev_spec(enic->vdev, \ in enic_get_vnic_config()
41 dev_err(enic_get_dev(enic), \ in enic_get_vnic_config()
62 enic->max_mtu = c->max_pkt_size - (ETHER_HDR_LEN + 4); in enic_get_vnic_config()
64 enic->max_mtu = ENIC_DEFAULT_RX_MAX_PKT_SIZE in enic_get_vnic_config()
69 enic->adv_filters = vnic_dev_capable_adv_filters(enic->vdev); in enic_get_vnic_config()
71 err = vnic_dev_capable_filter_mode(enic->vdev, &enic->flow_filter_mode, in enic_get_vnic_config()
[all …]
H A Dif_enic.c57 static SYSCTL_NODE(_hw, OID_AUTO, enic, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
108 static int enic_dev_open(struct enic *);
109 static int enic_dev_init(struct enic *);
119 static void enic_update_packet_filter(struct enic *enic);
144 DRIVER_MODULE(enic, pci, enic_driver, 0, 0);
145 IFLIB_PNP_INFO(pci, enic, enic_vendor_info_array);
146 MODULE_VERSION(enic, 2);
148 MODULE_DEPEND(enic, pci, 1, 1, 1);
149 MODULE_DEPEND(enic, ether, 1, 1, 1);
150 MODULE_DEPEND(enic, iflib, 1, 1, 1);
[all …]
H A Denic_txrx.c65 static void enic_initial_post_rx(struct enic *, struct vnic_rq *);
86 struct enic *enic; in enic_isc_txd_encap() local
105 enic = &softc->enic; in enic_isc_txd_encap()
108 wq = &enic->wq[pi->ipi_qsidx]; in enic_isc_txd_encap()
153 struct enic *enic; in enic_isc_txd_flush() local
158 enic = &softc->enic; in enic_isc_txd_flush()
161 wq = &enic->wq[txqid]; in enic_isc_txd_flush()
173 struct enic *enic; in enic_isc_txd_credits_update() local
182 enic = &softc->enic; in enic_isc_txd_credits_update()
183 wq = &softc->enic.wq[txqid]; in enic_isc_txd_credits_update()
[all …]
H A Denic.h83 #define ENICPMD_SETTING(enic, f) ((enic->config.flags & VENETF_##f) ? 1 : 0) argument
203 struct enic { struct
204 struct enic *next; argument
314 struct enic enic; argument
338 static inline unsigned int enic_cq_rq(struct enic *enic, unsigned int rq) in enic_cq_rq() argument
343 static inline unsigned int enic_cq_wq(struct enic *enic, unsigned int wq) in enic_cq_wq() argument
345 return enic->rq_count + wq; in enic_cq_wq()
357 int enic_setup_finish(struct enic *enic);
358 void enic_start_wq(struct enic *enic, uint16_t queue_idx);
359 int enic_stop_wq(struct enic *enic, uint16_t queue_idx);
[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_add_vlan(struct enic *enic, u16 vlanid);
64 int enic_del_vlan(struct enic *enic, u16 vlanid);
65 int enic_set_nic_cfg(struct enic *enic, u8 rss_default_cpu, u8 rss_hash_type,
68 void enic_get_res_counts(struct enic *enic);
69 void enic_init_vnic_resources(struct enic *enic);
H A Dvnic_dev.h144 struct enic;
/freebsd/sys/modules/enic/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/enic
/freebsd/sys/modules/
H A DMakefile834 _enic= enic
/freebsd/share/man/man4/
H A DMakefile146 enic.4 \