ibmvnic: Fix calculation of number of TX header descriptors
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Mon, 16 Oct 2017 15:02:11 +0000 (10:02 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Oct 2017 11:20:39 +0000 (12:20 +0100)
commit2de09681e4ce8b1caa79d2e4482b72d8ef41c550
treeaaa42299001a9ef33395d44fd419307f16b454a8
parentd965465b60bad79d0b067f1009ba80ae76a6561a
ibmvnic: Fix calculation of number of TX header descriptors

This patch correctly sets the number of additional header descriptors
that will be sent in an indirect SCRQ entry.

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