]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6badb692a5b88cf93605e18ac71b794f2ce00aa8
treeaaa42299001a9ef33395d44fd419307f16b454a8
parente0b3555def477b851e2e49c3032555246a8edb89
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