linux/drivers/net/mlx4
Yevgeny Petrilin 38aab07c14 mlx4_en: Fix partial rings feature
In case of allocation failure, the actual ring size is rounded down to
nearest power of 2. The remaining descriptors are freed.
The CQ and SRQ are allocated with the actual size and the mask is updated.

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-05-25 00:35:53 -07:00
..
alloc.c
catas.c mlx4_core: Add link type autosensing 2009-03-18 19:45:11 -07:00
cmd.c
cq.c
en_cq.c mlx4_en: Fix partial rings feature 2009-05-25 00:35:53 -07:00
en_main.c mlx4_en: Fix cleanup if workqueue create in mlx4_en_add() fails 2009-04-21 01:47:08 -07:00
en_netdev.c mlx4_en: Fix partial rings feature 2009-05-25 00:35:53 -07:00
en_params.c mlx4_en: Returning real Max in get_ringparam 2009-01-08 10:57:37 -08:00
en_port.c mlx4_en: Move to SW counters for total bytes and packets 2009-04-21 01:47:07 -07:00
en_port.h
en_resources.c mlx4_en: Assign dummy event handler for TX queue 2009-04-21 01:47:05 -07:00
en_rx.c mlx4_en: Fix partial rings feature 2009-05-25 00:35:53 -07:00
en_tx.c mlx4_en: Assign dummy event handler for TX queue 2009-04-21 01:47:05 -07:00
eq.c mlx4_core: Add link type autosensing 2009-03-18 19:45:11 -07:00
fw.c
fw.h
icm.c
icm.h
intf.c
main.c mlx4_core: Fix memory leak in mlx4_enable_msi_x() 2009-04-21 10:11:06 -07:00
Makefile mlx4_core: Add link type autosensing 2009-03-18 19:45:11 -07:00
mcg.c
mlx4_en.h mlx4_en: Assign dummy event handler for TX queue 2009-04-21 01:47:05 -07:00
mlx4.h mlx4_core: Add link type autosensing 2009-03-18 19:45:11 -07:00
mr.c
pd.c
port.c mlx4_core: Don't leak mailbox for SET_PORT on Ethernet ports 2009-03-31 09:54:15 -07:00
profile.c mlx4_core: Fix min() warning 2009-01-15 20:43:56 -08:00
qp.c
reset.c
sense.c workqueue: add to_delayed_work() helper function 2009-04-02 19:04:50 -07:00
srq.c