aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnx2.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-04-14 12:08:00 +0200
committerDavid S. Miller <davem@davemloft.net>2015-04-14 14:57:11 -0400
commit74b6f29163490d88ff53f7c54d0e4514bbf1630b (patch)
tree7d9d981d6d5fa3ea6e89e7cd944adfd1d6627084 /drivers/net/ethernet/broadcom/bnx2.h
parentbgmac: increase rx ring size from 511 to 512 (diff)
downloadlinux-dev-74b6f29163490d88ff53f7c54d0e4514bbf1630b.tar.xz
linux-dev-74b6f29163490d88ff53f7c54d0e4514bbf1630b.zip
bgmac: simplify dma init/cleanup
Instead of allocating buffers at device init time and initializing descriptors at device open, do both at the same time (during open). Free all buffers when closing the device. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Acked-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2.h')
0 files changed, 0 insertions, 0 deletions