Thread (22 messages) 22 messages, 5 authors, 2020-02-27

Re: [PATCH net-next 05/10] net: mscc: ocelot: don't rely on preprocessor for vcap key/action packing

From: David Miller <davem@davemloft.net>
Date: 2020-02-24 23:21:10

From: Vladimir Oltean <olteanv@gmail.com>
Date: Mon, 24 Feb 2020 15:08:26 +0200
+static void vcap_key_set(struct vcap_data *data,
+			 enum vcap_is2_half_key_field field,
+			 u32 value, u32 mask)
+{
+	struct ocelot *ocelot = data->ocelot;
+	u32 offset = ocelot->vcap_is2_keys[field].offset;
+	u32 length = ocelot->vcap_is2_keys[field].length;
I know it is a pain in dependency chains of variables like this, but
please use reverse christmas tree ordering.

And likewise for the rest of your submission.

Thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help