> Subject: Re: [PATCH 01/17] net/mana: add basic driver, build environment and
> doc
>
> On Sun, 3 Jul 2022 07:56:18 +
> Long Li wrote:
>
> > > Subject: Re: [PATCH 01/17] net/mana: add basic driver, build
> > > environment and doc
> > >
>
On Sun, 3 Jul 2022 07:56:18 +
Long Li wrote:
> > Subject: Re: [PATCH 01/17] net/mana: add basic driver, build environment and
> > doc
> >
> > On Fri, 1 Jul 2022 02:02:31 -0700
> > lon...@linuxonhyperv.com wrote:
> >
> > > + uint64_t max_
On Sun, 3 Jul 2022 07:56:18 +
Long Li wrote:
> > Subject: Re: [PATCH 01/17] net/mana: add basic driver, build environment and
> > doc
> >
> > On Fri, 1 Jul 2022 02:02:31 -0700
> > lon...@linuxonhyperv.com wrote:
> >
> > > + uint64_t max_
> Subject: Re: [PATCH 01/17] net/mana: add basic driver, build environment and
> doc
>
> On Fri, 1 Jul 2022 02:02:31 -0700
> lon...@linuxonhyperv.com wrote:
>
> > + uint64_t max_mr_size;
> > + rte_rwlock_tmr_list_lock;
> > +};
>
> Re
> Subject: Re: [PATCH 01/17] net/mana: add basic driver, build environment and
> doc
>
> On Fri, 1 Jul 2022 02:02:31 -0700
> lon...@linuxonhyperv.com wrote:
>
> > diff --git a/drivers/net/mana/meson.build
> > b/drivers/net/mana/meson.build new file mode 100644 in
On Fri, 1 Jul 2022 02:02:31 -0700
lon...@linuxonhyperv.com wrote:
> diff --git a/drivers/net/mana/meson.build b/drivers/net/mana/meson.build
> new file mode 100644
> index 00..7ab34c253c
> --- /dev/null
> +++ b/drivers/net/mana/meson.build
> @@ -0,0 +1,34 @@
> +# SPDX-License-Identifier:
On Fri, 1 Jul 2022 02:02:31 -0700
lon...@linuxonhyperv.com wrote:
> + uint64_t max_mr_size;
> + rte_rwlock_tmr_list_lock;
> +};
Reader/Writer locks are slower for the usual uncontended case.
Unless you have a reader holding onto the lock for a long time,
better to use spin lock.
Thi
On Fri, 1 Jul 2022 02:02:31 -0700
lon...@linuxonhyperv.com wrote:
> +
> +struct mana_priv {
> + struct rte_eth_dev_data *dev_data;
> + struct mana_process_priv *process_priv;
> + int num_queues;
> +
> + /* DPDK port */
> + int port_id;
> +
> + /* IB device port */
> +
On Fri, 1 Jul 2022 02:02:31 -0700
lon...@linuxonhyperv.com wrote:
> + while (fgets(line, sizeof(line), file) == line) {
> + size_t len = strlen(line);
> + int ret;
> +
> + /* Truncate long lines. */
> + if (len == (sizeof(line) - 1))
> +
On Fri, 1 Jul 2022 02:02:31 -0700
lon...@linuxonhyperv.com wrote:
> diff --git a/doc/guides/nics/features/mana.ini
> b/doc/guides/nics/features/mana.ini
> new file mode 100644
> index 00..9d8676089b
> --- /dev/null
> +++ b/doc/guides/nics/features/mana.ini
> @@ -0,0 +1,10 @@
> +;
> +; Su
From: Long Li
MANA is a PCI device. It uses IB verbs to access hardware through the kernel
RDMA layer. This patch introduces build environment and basic device probe
functions.
Signed-off-by: Long Li
---
MAINTAINERS | 6 +
doc/guides/nics/features/mana.ini | 10 +
doc/
11 matches
Mail list logo