[dpdk-dev] [PATCH v6 3/8] eal/bsd: dummy for new intr definition
Thomas Monjalon
thomas.monjalon at 6wind.com
Fri Feb 27 15:22:18 CET 2015
2015-02-27 11:21, Liang, Cunming:
> From: David Marchand [mailto:david.marchand at 6wind.com]
> > On Fri, Feb 27, 2015 at 5:56 AM, Cunming Liang wrote:
> > > @@ -49,6 +51,8 @@ enum rte_intr_handle_type {
> > >
> > > struct rte_intr_handle {
> > >
> > > int fd; /**< file descriptor */
> > > enum rte_intr_handle_type type; /**< handle type */
> > >
> > > + int max_intr; /**< max interrupt requested */
> > > + uint32_t vec_num[VFIO_MAX_QUEUE_ID]; /**< rxtx intr vector number */
> > > };
> >
> > No need to add those since this is not supported for bsd.
>
> [Liang, Cunming] max_intr is used in dev_init for pci_dev->intr_handle init.
> Vec_num is used in ethdev API rx_intr_vec_get. Without it, BSD macro will
> used for each of the reference place.
> As they’re quite generic, even bsd will require either max_intr or vec
> mapping table.
Is it needed to build and run DPDK on FreeBSD?
More information about the dev
mailing list