Re: [PATCH net] libcxgb: fix incorrect ppmax calculation

2019-04-04 Thread David Miller
From: Varun Prakash Date: Wed, 3 Apr 2019 17:30:14 +0530 > BITS_TO_LONGS() uses DIV_ROUND_UP() because of > this ppmax value can be greater than available > per cpu page pods. > > This patch removes BITS_TO_LONGS() to fix this > issue. > > Signed-off-by: Varun Prakash Applied.

[PATCH net] libcxgb: fix incorrect ppmax calculation

2019-04-03 Thread Varun Prakash
BITS_TO_LONGS() uses DIV_ROUND_UP() because of this ppmax value can be greater than available per cpu page pods. This patch removes BITS_TO_LONGS() to fix this issue. Signed-off-by: Varun Prakash --- drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c | 9 - 1 file changed, 8 insertions(