Re: [PATCH] nvme: Correct the prps per page calculation method

2021-06-23 Thread Bin Meng
On Wed, Jun 23, 2021 at 4:53 PM Bin Meng wrote: > > On Tue, Jun 22, 2021 at 11:34 AM Wesley Sheng wrote: > > > > From: Wesley Sheng > > > > Each prp is 8 bytes, calculate the number of prps > > per page should just divide page size by 8 > > there is no need to minus 1 > > > > Signed-off-by:

Re: [PATCH] nvme: Correct the prps per page calculation method

2021-06-23 Thread Bin Meng
On Tue, Jun 22, 2021 at 11:34 AM Wesley Sheng wrote: > > From: Wesley Sheng > > Each prp is 8 bytes, calculate the number of prps > per page should just divide page size by 8 > there is no need to minus 1 > > Signed-off-by: Wesley Sheng > --- > drivers/nvme/nvme.c | 2 +- > 1 file changed, 1

[PATCH] nvme: Correct the prps per page calculation method

2021-06-21 Thread Wesley Sheng
From: Wesley Sheng Each prp is 8 bytes, calculate the number of prps per page should just divide page size by 8 there is no need to minus 1 Signed-off-by: Wesley Sheng --- drivers/nvme/nvme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvme/nvme.c

Re: [PATCH] nvme: Correct the prps per page calculation method

2021-06-18 Thread Bin Meng
On Wed, Jun 16, 2021 at 12:09 PM Wesley Sheng wrote: > > From: wesleywesley nits: are you sure this name is correct? Should it be "Wesley Sheng"? > > Each prp is 8 bytes, calculate the number of prps > per page should just divide page size by 8 > there is no need to minus 1 > > Signed-off-by:

[PATCH] nvme: Correct the prps per page calculation method

2021-06-15 Thread Wesley Sheng
From: wesleywesley Each prp is 8 bytes, calculate the number of prps per page should just divide page size by 8 there is no need to minus 1 Signed-off-by: wesleywesley --- drivers/nvme/nvme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvme/nvme.c