net/enic: support max descriptors allowed by adapter
authorJohn Daley <johndale@cisco.com>
Fri, 28 Jan 2022 17:58:13 +0000 (09:58 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 31 Jan 2022 11:14:54 +0000 (12:14 +0100)
commit22572e84fbda2c195707ffbb0dd6af4433d7a219
tree1e72564852378fbf5b64217e638b4a38f6a5f1fa
parent9ca71a5b27b377c106497bac771d7ca7cdd21d4e
net/enic: support max descriptors allowed by adapter

Newer VIC adapters have the max number of supported RX and TX
descriptors in their configuration. Use these values as the
maximums.

Signed-off-by: John Daley <johndale@cisco.com>
Reviewed-by: Hyong Youb Kim <hyonkim@cisco.com>
drivers/net/enic/base/cq_enet_desc.h
drivers/net/enic/enic_res.c
drivers/net/enic/enic_res.h
drivers/net/enic/enic_rxtx.c