]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
bnxt_en: Enhance bnxt_alloc_ring()/bnxt_free_ring().
authorMichael Chan <michael.chan@broadcom.com>
Thu, 20 Dec 2018 08:38:49 +0000 (03:38 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Dec 2018 16:26:16 +0000 (08:26 -0800)
commit4f49b2b8d4167b712ce876bff08bd9606a44f7a6
tree078386537ea13f650be2f39259702c7929576342
parent760b6d33410cda351f236058585471cb0f417978
bnxt_en: Enhance bnxt_alloc_ring()/bnxt_free_ring().

To support level 2 context page memory structures, enhance the
bnxt_ring_mem_info structure with a "depth" field to specify the page
level and add a flag to specify using full pages for L1 and L2 page
tables.  This is needed to support RDMA functionality on 57500 chips
since RDMA requires more context memory.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h