Re: [RFC,net-next, 2/5] vrf: track associations between VRF devices and tables

From
Andrea Mayer <andrea.mayer@uniroma2.it>
Date
2020-06-14 21:23:57
Also in
linux-kselftest, lkml
Reply to
David Ahern, 2020-06-14
On Sat, 13 Jun 2020 18:34:25 -0600
David Ahern [off-list ref] wrote:
On 6/13/20 4:53 PM, Andrea Mayer wrote:
quoted
Hi Stephen,
thanks for your questions.

On Sat, 13 Jun 2020 12:28:59 -0700
Stephen Hemminger [off-list ref] wrote:
quoted
quoted
+
+	 * Conversely, shared_table is decreased when a vrf is de-associated
+	 * from a table with exactly two associated vrfs.
+	 */
+	int shared_tables;
Should this be unsigned?
Should it be a fixed size?
Yes. I think an u32 would be reasonable for the shared_table.
What do you think?
u32 or unsigned int is fine.
Hi David,
I will use the u32.

thanks,
Andrea
Thread (18 messages) 18 messages, 5 authors, last reply 2020-06-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help