RE: [Patch v3 10/17] net/mana: implement memory registration

2022-07-07 Thread Long Li
> Subject: Re: [Patch v3 10/17] net/mana: implement memory registration > > On Thu, 7 Jul 2022 13:30:15 -0700 > lon...@linuxonhyperv.com wrote: > > > +int mana_new_pmd_mr(struct mana_mr_btree *local_tree, struct mana_priv > *priv, > > +

Re: [Patch v3 10/17] net/mana: implement memory registration

2022-07-07 Thread Stephen Hemminger
On Thu, 7 Jul 2022 13:30:15 -0700 lon...@linuxonhyperv.com wrote: > +int mana_new_pmd_mr(struct mana_mr_btree *local_tree, struct mana_priv *priv, > + struct rte_mempool *pool) > +{ > + struct ibv_mr *ibv_mr; > + struct mana_range ranges[pool->nb_mem_chunks]; > + uint3