lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 27 Aug 2015 01:09:27 -0700
From:	John Fastabend <john.fastabend@...il.com>
To:	Jiri Pirko <jiri@...nulli.us>
CC:	sfeldma@...il.com, netdev@...r.kernel.org, davem@...emloft.net,
	f.fainelli@...il.com, roopa@...ulusnetworks.com
Subject: Re: [RFC PATCH net-next 0/2] Add new switchdev device class

[...]

>>
>> The structure I used previously which looks like your prototype I think,
>>
>> (https://github.com/jrfastab/rocker-net-next/blob/master/include/uapi/linux/if_flow.h)
>>
>> * [NFL_TABLE_IDENTIFIER_TYPE]
>> * [NFL_TABLE_IDENTIFIER]
>> * [NFL_TABLE_TABLES]
>> *     [NFL_TABLE]
>> *	 [NFL_TABLE_ATTR_NAME]
>> *	 [NFL_TABLE_ATTR_UID]
>> *	 [NFL_TABLE_ATTR_SOURCE]
>> *	 [NFL_TABLE_ATTR_APPLY]
>> *	 [NFL_TABLE_ATTR_SIZE]
>> *	 [NFL_TABLE_ATTR_MATCHES]
>> *	   [NFL_FIELD_REF]
>> *	     [NFL_FIELD_REF_INSTANCE]
>> *	     [NFL_FIELD_REF_HEADER]
>> *	     [NFL_FIELD_REF_FIELD]
>> *	     [NFL_FIELD_REF_MASK]
>> *	     [NFL_FIELD_REF_TYPE]
>> *	   [...]
>> *	 [NFL_TABLE_ATTR_ACTIONS]
>> *	     [NFL_ACTION_ATTR_UID]
>> *	     [...]
>> *     [NFL_TABLE]
>> *       [...]
>> *
>>
>> This is well-typed per Dave's comment. And because its Netlink based it
>> can be easily extended as needed. The above gives basic information on
>> the table. Sure it could stand to have some other entries in it but I
>> never needed them for my capabilities/resource discovery. We could argue
>> about removing some if they are too specific to my use cases.
> 
> I guess you are talking about read-only interface right?
> 

Correct. read-only.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ