linux/drivers/net/ethernet/ibm
Sukadev Bhattiprolu 0df7b9ad8f ibmvnic: Use/rename local vars in init_rx_pools
To make the code more readable, use/rename some local variables.
Basically we have a set of pools, num_pools. Each pool has a set of
buffers, pool_size and each buffer is of size buff_size.

pool_size is a bit ambiguous (whether size in bytes or buffers). Add
a comment in the header file to make it explicit.

Reviewed-by: Rick Lindsley <ricklind@linux.vnet.ibm.com>
Reviewed-by: Dany Madden <drt@linux.ibm.com>
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-09-15 11:12:23 +01:00
..
ehea ehea: fix error return code in ehea_restart_qps() 2021-05-28 18:12:19 -07:00
emac dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
ibmveth.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
ibmveth.h net/ethtool: Introduce link_ksettings API for virtual network devices 2020-02-29 21:48:55 -08:00
ibmvnic.c ibmvnic: Use/rename local vars in init_rx_pools 2021-09-15 11:12:23 +01:00
ibmvnic.h ibmvnic: Use/rename local vars in init_rx_pools 2021-09-15 11:12:23 +01:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile