diff options
author | Sreenivasa Honnur <sreenivasa.honnur@neterion.com> | 2009-10-28 02:46:54 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-28 02:46:54 -0700 |
commit | 5beefb4f7793e5bb4d3527ee6559f8281d7d2b76 (patch) | |
tree | 22ea04604157ad9ad2e67f43ca1e2e0fdc747d2d /drivers/net/vxge | |
parent | 0531d7b85177cda05f574ddf0aa4b25050159101 (diff) | |
download | kernel_samsung_smdk4412-5beefb4f7793e5bb4d3527ee6559f8281d7d2b76.zip kernel_samsung_smdk4412-5beefb4f7793e5bb4d3527ee6559f8281d7d2b76.tar.gz kernel_samsung_smdk4412-5beefb4f7793e5bb4d3527ee6559f8281d7d2b76.tar.bz2 |
vxge: Configure the number of transmit descriptors per packet to MAX_SKB_FRAGS + 1.
- Configure the number of transmit descriptors per packet to MAX_SKB_FRAGS + 1.
Signed-off-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com>
Signed-off-by: Ramkrishna Vepa <ram.vepa@neterion.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vxge')
-rw-r--r-- | drivers/net/vxge/vxge-main.c | 5 | ||||
-rw-r--r-- | drivers/net/vxge/vxge-version.h | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/vxge/vxge-main.c b/drivers/net/vxge/vxge-main.c index 63d0f89..e21358e 100644 --- a/drivers/net/vxge/vxge-main.c +++ b/drivers/net/vxge/vxge-main.c @@ -3612,11 +3612,12 @@ static int __devinit vxge_config_vpaths( device_config->vp_config[i].fifo.enable = VXGE_HW_FIFO_ENABLE; device_config->vp_config[i].fifo.max_frags = - MAX_SKB_FRAGS; + MAX_SKB_FRAGS + 1; device_config->vp_config[i].fifo.memblock_size = VXGE_HW_MIN_FIFO_MEMBLOCK_SIZE; - txdl_size = MAX_SKB_FRAGS * sizeof(struct vxge_hw_fifo_txd); + txdl_size = device_config->vp_config[i].fifo.max_frags * + sizeof(struct vxge_hw_fifo_txd); txdl_per_memblock = VXGE_HW_MIN_FIFO_MEMBLOCK_SIZE / txdl_size; device_config->vp_config[i].fifo.fifo_blocks = diff --git a/drivers/net/vxge/vxge-version.h b/drivers/net/vxge/vxge-version.h index fa66248..77c2a75 100644 --- a/drivers/net/vxge/vxge-version.h +++ b/drivers/net/vxge/vxge-version.h @@ -18,6 +18,6 @@ #define VXGE_VERSION_MAJOR "2" #define VXGE_VERSION_MINOR "0" #define VXGE_VERSION_FIX "6" -#define VXGE_VERSION_BUILD "18707" +#define VXGE_VERSION_BUILD "18937" #define VXGE_VERSION_FOR "k" #endif |