OSDN Git Service

net: netcp: fix unused interface rx buffer size configuration
authorWingMan Kwok <w-kwok2@ti.com>
Tue, 4 Aug 2015 20:56:53 +0000 (16:56 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Aug 2015 07:02:36 +0000 (00:02 -0700)
commit866b8b18e380f810ba96e21d25843b841271bb07
treec8711ffac0e30cfb8d056d8821ee292da13d8381
parent22f54bf932a0eed73134b696b238db4bdcff5cd4
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>
drivers/net/ethernet/ti/netcp.h
drivers/net/ethernet/ti/netcp_core.c