From: Sowmini Varadhan <sowmini.varad...@oracle.com>
Date: Thu, 10 Sep 2015 11:48:19 -0400

> On (09/10/15 08:43), roopa wrote:
>> If you decide to use a flag, there is IFLA_EXT_MASK which is used to
>> specify such filters from userspace today.
>> 
>> /* New extended info filters for IFLA_EXT_MASK */
>> #define RTEXT_FILTER_VF         (1 << 0)
>> #define RTEXT_FILTER_BRVLAN     (1 << 1)
>> #define RTEXT_FILTER_BRVLAN_COMPRESSED  (1 << 2)
> 
> I was actually going to use a NLM_F* flag, which is what
> I thought Dave as suggesting (seems a bit simpler
> than IFLA_EXT_MASK). 

I don't think using such a generic netlink flag works best, the
IFLA_EXT_MASK is definitely more suitable.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to