• Santiago Leon's avatar
    [PATCH] ibmveth fix buffer pool management · b6d35182
    Santiago Leon authored
    This patch changes the way the ibmveth driver handles the receive
    buffers.  The old code mallocs and maps all the buffers in the pools
    regardless of MTU size and it also limits the number of buffer pools to
    three. This patch makes the driver malloc and map the buffers necessary
    to support the current MTU. It also changes the hardcoded names of the
    buffer pool number, size, and elements to arrays to make it easier to
    change (with the hope of making them runtime parameters in the future).
    Signed-off-by: default avatarSantiago Leon <santil@us.ibm.com>
    Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
    b6d35182
ibmveth.h 5.63 KB