OSDN Git Service

cxgb4: Export sge_host_page_size to ulds
authorRaju Rangoju <rajur@chelsio.com>
Thu, 14 Feb 2019 12:10:53 +0000 (17:40 +0530)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 15 Feb 2019 16:39:39 +0000 (09:39 -0700)
commitfc4144e7815b7747b6aba140d7a91da45ee9dd8c
treeb5e9525f6cbd9ac6e4970e2c444ee2ce06f29afb
parent48396e80fb6526ea5ed267bd84f028bae56d2f9e
cxgb4: Export sge_host_page_size to ulds

Export the sge_host_page_size field to ULDs via cxgb4_lld_info, so that
iw_cxgb4 can make use of this in calculating the correct qp/cq mask.

Fixes: 2391b0030e24 ("cxgb4: Remove SGE_HOST_PAGE_SIZE dependency on page size")
Signed-off-by: Raju Rangoju <rajur@chelsio.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h