]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ibmvnic: Allocate number of rx/tx buffers agreed on by firmware
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Sun, 5 Mar 2017 18:18:42 +0000 (12:18 -0600)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Mar 2017 22:14:30 +0000 (14:14 -0800)
commit068d9f90a6978c3e3a662d9e85204a7d6be240d2
tree55566d7f4bdef6420e737eef4bb8092013591ad1
parent142c0ac445792c492579cb01f1cfd4e32e6dfcce
ibmvnic: Allocate number of rx/tx buffers agreed on by firmware

The amount of TX/RX buffers that the vNIC driver currently allocates
is different from the amount agreed upon in negotiation with firmware.
Correct that by allocating the requested number of buffers confirmed
by firmware.

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