]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2b85eb42db59da3f0c09af6fd421bb90d9a551d2
treec8711ffac0e30cfb8d056d8821ee292da13d8381
parent6d93db64f9b251d340b423c0724a830d4a3d2c67
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