[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110309.124916.183062823.davem@davemloft.net>
Date: Wed, 09 Mar 2011 12:49:16 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: roprabhu@...co.com
Cc: netdev@...r.kernel.org
Subject: Re: [net-next-2.6 PATCH] if_link: Add PORT_REQUEST_MAX
From: Roopa Prabhu <roprabhu@...co.com>
Date: Wed, 09 Mar 2011 12:34:31 -0800
> From: Roopa Prabhu <roprabhu@...co.com>
>
> This patch adds __PORT_REQUEST_MAX to port request enumeration. And defines
> PORT_REQUEST_MAX.
>
> Signed-off-by: Roopa Prabhu <roprabhu@...co.com>
> Signed-off-by: David Wang <dwang2@...co.com>
> Signed-off-by: Christian Benvenuti <benve@...co.com>
Why?
If some new request types get added, this max value will increase and
we don't want that to happen for things exposed to userspace.
Userspace should really not depend upon how many requests there are.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists