On Mon, Jun 17, 2019 at 07:23:37PM +0000, Saeed Mahameed wrote: > From: Bodong Wang <bodong@xxxxxxxxxxxx> > > In the single IB device mode, the mapping between vport number and > rep relies on a counter. However for dynamic vport allocation, it is > desired to keep consistent map of eswitch vport and IB port. > > Hence, simplify code to remove the free running counter and instead > use the available vport index during load/unload sequence from the > eswitch. > > Signed-off-by: Bodong Wang <bodong@xxxxxxxxxxxx> > Suggested-by: Parav Pandit <parav@xxxxxxxxxxxx> > Reviewed-by: Parav Pandit <parav@xxxxxxxxxxxx> We are not adding multiple "*-by" for same user, please choose one. Thanks