]> 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)
commiteea4404d8d129b56dc96ccb7d695ba34a6e565d1
treec8711ffac0e30cfb8d056d8821ee292da13d8381
parent37edd601cb7f675f9273da961c0514724d1e4c25
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