From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Cochran Subject: Re: [PATCH v3 net-next] ptp: dynamic allocation of PHC char devices Date: Fri, 12 Apr 2013 19:48:02 +0200 Message-ID: <20130412174802.GA6902@netboy> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, Ben Hutchings To: Jiri Benc Return-path: Received: from mail-ee0-f52.google.com ([74.125.83.52]:38870 "EHLO mail-ee0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752934Ab3DLRsN (ORCPT ); Fri, 12 Apr 2013 13:48:13 -0400 Received: by mail-ee0-f52.google.com with SMTP id d17so1363637eek.39 for ; Fri, 12 Apr 2013 10:48:12 -0700 (PDT) Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Fri, Apr 12, 2013 at 12:56:15PM +0200, Jiri Benc wrote: > As network adapters supporting PTP are becoming more common, machines with > many NICs suddenly have many PHCs, too. The current limit of eight /dev/ptp* > char devices (and thus, 8 network interfaces with PHC) is insufficient. Let > the ptp driver allocate the char devices dynamically. > > Tested with 28 PHCs, removing and re-adding some of them. > > Thanks to Ben Hutchings for advice leading to simpler and cleaner patch. > > Signed-off-by: Jiri Benc Acked-by: Richard Cochran