mlx4_en: Remove redundant refill code on RX
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Sat, 20 Jun 2009 22:16:10 +0000 (22:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Jun 2009 02:18:07 +0000 (19:18 -0700)
commit0314db69d7564859890ff75e3f71cb4079b29869
tree840453a6e316a740ddd4430996865ff7449a08b3
parent7237b400554c9bb5ba0091b5e39f4620f3dd5637
mlx4_en: Remove redundant refill code on RX

Our RX rings are always full, there is no need to check whether
we need to fill them or not. If we fail to allocate a new socket
buffer, the incoming packet is dropped an the ring remains full.

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mlx4/en_netdev.c
drivers/net/mlx4/en_rx.c
drivers/net/mlx4/mlx4_en.h