diff options
author | Thomas Falcon <tlfalcon@linux.ibm.com> | 2018-09-28 18:38:25 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-01 23:31:16 -0700 |
commit | 20b5ba1f610079908b70d44fd7fb91bf0e9700ff (patch) | |
tree | 00b5ac719143d2acc529b91a6987402896297437 /drivers/net/ethernet/ibm | |
parent | ad95a240a140fa8bd4153f5d9c8fbd91aa048445 (diff) | |
download | linux-20b5ba1f610079908b70d44fd7fb91bf0e9700ff.tar.gz linux-20b5ba1f610079908b70d44fd7fb91bf0e9700ff.tar.bz2 linux-20b5ba1f610079908b70d44fd7fb91bf0e9700ff.zip |
ibmvnic: Introduce driver limits for ring sizes
Introduce driver-defined maximums for queue ring sizes. Devices
available for IBM vNIC today will likely not allow this amount,
but this should give us some leeway for future devices that may
support larger ring sizes.
Signed-off-by: Thomas Falcon <tlfalcon@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ibm')
-rw-r--r-- | drivers/net/ethernet/ibm/ibmvnic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ibm/ibmvnic.h b/drivers/net/ethernet/ibm/ibmvnic.h index 2c1787109f1c..f9a12e5843c4 100644 --- a/drivers/net/ethernet/ibm/ibmvnic.h +++ b/drivers/net/ethernet/ibm/ibmvnic.h @@ -40,6 +40,7 @@ /* when changing this, update IBMVNIC_IO_ENTITLEMENT_DEFAULT */ #define IBMVNIC_BUFFS_PER_POOL 100 #define IBMVNIC_MAX_QUEUES 16 +#define IBMVNIC_MAX_QUEUE_SZ 4096 #define IBMVNIC_TSO_BUF_SZ 65536 #define IBMVNIC_TSO_BUFS 64 |