summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ti/netcp.h
diff options
context:
space:
mode:
authorWingMan Kwok <w-kwok2@ti.com>2015-08-04 23:56:53 +0300
committerDavid S. Miller <davem@davemloft.net>2015-08-07 10:02:36 +0300
commit866b8b18e380f810ba96e21d25843b841271bb07 (patch)
treec8711ffac0e30cfb8d056d8821ee292da13d8381 /drivers/net/ethernet/ti/netcp.h
parent22f54bf932a0eed73134b696b238db4bdcff5cd4 (diff)
downloadlinux-866b8b18e380f810ba96e21d25843b841271bb07.tar.xz
net: netcp: fix unused interface rx buffer size configuration
Prior to this patch, rx buffer size for each rx queue of an interface is configurable through dts bindings. But for an interface, the first rx queue's rx buffer size is always the usual MTU size (plus usual overhead) and page size for the remaining rx queues (if they are enabled by specifying a non-zero rx queue depth dts binding of the corresponding interface). This patch removes the rx buffer size configuration capability. Signed-off-by: WingMan Kwok <w-kwok2@ti.com> Acked-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/netcp.h')
-rw-r--r--drivers/net/ethernet/ti/netcp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ti/netcp.h b/drivers/net/ethernet/ti/netcp.h
index a8a730641bbb..bb1bb72121c0 100644
--- a/drivers/net/ethernet/ti/netcp.h
+++ b/drivers/net/ethernet/ti/netcp.h
@@ -85,7 +85,6 @@ struct netcp_intf {
struct list_head rxhook_list_head;
unsigned int rx_queue_id;
void *rx_fdq[KNAV_DMA_FDQ_PER_CHAN];
- u32 rx_buffer_sizes[KNAV_DMA_FDQ_PER_CHAN];
struct napi_struct rx_napi;
struct napi_struct tx_napi;