mirror of
https://github.com/torvalds/linux.git
synced 2024-11-19 02:21:47 +00:00
be1fefc214
The bnx2/bnx2x rings are made up of linked pages. However there is an upper limit on the page size as some the page size settings are 16-bit in the hardware/firmware interface. In the current code, some parts use BNX2_PAGE_SIZE which has a 16K upper limit and some parts use PAGE_SIZE. On archs with >= 64K PAGE_SIZE, it generates some compile warnings. Define a new CNIC_PAGE_SZIE which has an upper limit of 16K and use it consistently in all relevant parts. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: Eddie Wai <eddie.wai@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
57xx_hsi_bnx2fc.h | ||
bnx2fc_constants.h | ||
bnx2fc_debug.c | ||
bnx2fc_debug.h | ||
bnx2fc_els.c | ||
bnx2fc_fcoe.c | ||
bnx2fc_hwi.c | ||
bnx2fc_io.c | ||
bnx2fc_tgt.c | ||
bnx2fc.h | ||
Kconfig | ||
Makefile |