net: thunderbolt: Add comment clarifying prtcstns flags
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 22 Jun 2020 16:30:22 +0000 (19:30 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jun 2020 03:36:02 +0000 (20:36 -0700)
ThunderboltIP protocol currently has two flags from which we only
support and set match frags ID. The first flag is reserved for full E2E
flow control. Add a comment that clarifies them.

Suggested-by: Yehezkel Bernat <yehezkelshb@gmail.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Yehezkel Bernat <YehezkelShB@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/thunderbolt.c

index dacb4f6..c2e4408 100644 (file)
@@ -1335,6 +1335,10 @@ static int __init tbnet_init(void)
        tb_property_add_immediate(tbnet_dir, "prtcid", 1);
        tb_property_add_immediate(tbnet_dir, "prtcvers", 1);
        tb_property_add_immediate(tbnet_dir, "prtcrevs", 1);
+       /* Currently only announce support for match frags ID (bit 1). Bit 0
+        * is reserved for full E2E flow control which we do not support at
+        * the moment.
+        */
        tb_property_add_immediate(tbnet_dir, "prtcstns",
                                  TBNET_MATCH_FRAGS_ID);