]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Generalize TX pool structure
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Sat, 17 Mar 2018 01:00:24 +0000 (20:00 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Mar 2018 00:12:39 +0000 (20:12 -0400)
commiteeb31a72d3002fc44fd12af8abf67d59255691bf
tree7878660c2f5f0364378a2782005a1aac49bca9af
parent5a1f3f6a4e9811df53c8f2b7b2b9bac1b1edbad8
ibmvnic: Generalize TX pool structure

Remove some unused fields in the structure and include values
describing the individual buffer size and number of buffers in
a TX pool. This allows us to use these fields for TX pool buffer
accounting as opposed to using hard coded values. Include a new
pool array for TSO transmissions.

Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.h