Moshe Shemesh
b42959dc35
net/mlx4: Add VF vlan protocol 802.1ad support
...
Move the vf to VST 802.1ad mode (mlx4 VST QinQ mode) by setting vf vlan
protocol to 802.1ad.
VST 802.1ad mode in mlx4, is used for STAG strip/insertion by PF, while
the CTAG is set by the VF.
Read current vlan protocol as part of the vf configuration state.
Upon setting vf vlan protocol to 802.1ad, we use a mechanism of handshake
to verify that both the vf and the pf driver version support it.
The handshake uses the command QUERY_FUNC_CAP:
- The vf sets a pre-defined support bit in input modifier.
- A pf that supports the feature sends the request to the vf through a
pre-defined field in the output mailbox.
- In case vf does not support the feature, the pf will fail the control
command (in this case, IP link tool command to set the vf vlan
protocol to 802.1ad).
No change in VST 802.1Q mode.
Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-09-24 08:01:27 -04:00
..
2016-04-05 16:53:41 -07:00
2016-09-03 12:58:42 +03:00
2016-05-09 11:07:28 +02:00
2016-07-28 15:32:53 +02:00
2016-05-09 16:18:37 +02:00
2016-02-04 18:25:55 +01:00
2016-06-25 14:30:42 -07:00
2016-07-02 14:31:34 +09:00
2016-03-04 23:50:27 -06:00
2016-04-05 16:57:15 +02:00
2016-06-28 00:38:53 +02:00
2016-04-14 14:03:25 +02:00
2016-08-15 15:39:09 +01:00
2016-07-15 14:50:53 -07:00
2016-08-09 16:43:23 +02:00
2016-01-07 10:10:50 -05:00
2016-07-28 09:34:47 +05:30
2016-09-03 11:33:33 -07:00
2016-09-24 08:01:27 -04:00
2016-09-12 15:52:44 -07:00
2016-09-09 12:12:14 +03:00
2016-07-15 17:06:26 -07:00
2016-08-18 00:38:23 +02:00
2016-03-02 20:05:23 +01:00
2016-07-03 10:55:07 +02:00
2016-03-02 20:05:23 +01:00
2016-03-02 20:05:23 +01:00
2016-07-20 09:57:34 +02:00
2016-07-04 17:19:22 +05:30
2016-06-23 11:18:56 +02:00
2016-08-05 09:48:22 -04:00
2016-06-28 20:05:41 +02:00
2016-09-07 17:46:59 -07:00
2016-01-21 14:47:08 -08:00
2016-07-20 18:02:03 +01:00
2016-07-08 16:23:11 +02:00
2016-03-17 15:09:34 -07:00
2016-07-06 22:12:04 -07:00
2016-07-25 11:47:52 +01:00
2016-08-12 12:32:24 -07:00
2016-03-17 15:09:34 -07:00
2016-07-04 08:19:21 -07:00
2016-09-02 22:21:34 +02:00
2016-06-20 12:47:09 -07:00
2016-04-09 03:12:58 +02:00
2016-07-18 20:55:38 -04:00
2016-07-08 17:01:14 +03:00
2016-03-07 16:11:14 -08:00
2016-01-14 13:40:30 +01:00
2016-07-07 09:16:20 +02:00
2016-06-29 15:18:47 -07:00
2016-03-15 16:55:16 -07:00
2016-03-15 16:55:16 -07:00
2016-08-04 14:19:16 -06:00
2016-08-04 14:19:16 -06:00
2016-05-04 23:41:14 +02:00
2016-01-09 08:39:04 -08:00
2016-07-26 16:19:19 -07:00
2016-05-13 14:01:43 +02:00
2016-01-24 03:47:37 +01:00
2016-01-24 03:49:03 +01:00
2016-07-25 16:51:49 +10:00
2016-08-16 09:16:51 -06:00
2016-09-09 12:09:24 +03:00
2016-08-04 08:50:07 -04:00
2016-05-09 09:24:02 -07:00
2016-08-07 14:41:02 -06:00
2016-08-07 14:41:02 -06:00
2016-07-08 08:38:49 -06:00
2016-08-16 09:16:51 -06:00
2016-06-07 13:41:38 -06:00
2016-05-19 19:12:14 -07:00
2016-09-21 19:50:02 -04:00
2016-09-20 23:32:11 -04:00
2016-03-25 11:37:57 -04:00
2016-07-26 15:03:07 -07:00
2016-09-09 12:09:24 +03:00
2016-08-11 09:41:35 -06:00
2016-02-22 08:51:38 +01:00
2016-08-02 17:31:41 -04:00
2016-04-20 17:50:06 +08:00
2016-08-22 14:05:49 -03:00
2016-08-22 14:00:51 -03:00
2016-04-25 15:45:14 -04:00
2016-08-12 21:49:41 -07:00
2016-01-27 09:10:29 -05:00
2016-07-01 17:40:23 -07:00
2016-07-30 11:20:02 -07:00
2016-04-19 16:54:26 -07:00
2016-01-27 12:38:03 +01:00
2016-06-28 10:19:35 +02:00
2016-07-28 16:07:41 -07:00
2016-03-22 15:36:02 -07:00
2016-02-08 19:04:55 +01:00
2016-08-30 10:10:21 -07:00
2016-09-05 11:50:42 +02:00
2016-03-25 19:10:03 +01:00
2016-06-25 09:04:48 -07:00
2016-06-25 09:04:48 -07:00
2016-08-02 16:11:27 -04:00
2016-02-20 14:11:01 -08:00
2016-05-03 14:59:30 -07:00
2016-02-20 14:11:01 -08:00
2016-07-14 09:34:43 +02:00
2016-07-21 14:46:08 +02:00
2016-09-14 15:31:53 +02:00
2016-07-21 23:29:38 +02:00
2016-08-02 19:35:24 -04:00
2016-05-19 19:12:14 -07:00
2016-05-13 14:01:59 +02:00
2016-03-22 15:36:02 -07:00
2016-07-18 17:35:46 +08:00
2016-03-01 16:55:48 -08:00
2016-07-26 16:19:19 -07:00
2016-08-07 10:01:14 -04:00
2016-04-12 14:14:21 -07:00
2016-07-26 16:19:19 -07:00
2016-04-15 11:20:32 -07:00
2016-05-03 11:20:07 +09:00
2016-07-28 17:38:16 -07:00
2016-05-20 21:26:15 -07:00
2016-06-05 10:36:01 -07:00
2016-06-07 13:41:38 -06:00
2016-06-20 22:26:37 +05:30
2016-08-04 08:50:07 -04:00
2016-08-04 08:50:07 -04:00
2016-04-12 21:07:06 +05:30
2016-01-15 22:08:45 +01:00
2016-02-09 13:05:23 +01:00
2016-06-13 21:43:05 -06:00
2016-06-13 21:43:05 -06:00
2016-06-13 21:43:08 -06:00
2016-08-04 08:50:07 -04:00
2016-02-11 19:23:28 -08:00
2016-09-05 12:32:28 +01:00
2016-07-20 21:35:12 -06:00
2016-05-27 16:03:22 -07:00
2016-05-17 15:48:12 -04:00
2016-07-01 16:37:06 +02:00
2016-04-18 14:45:08 -04:00
2016-06-20 22:42:32 +02:00
2016-06-21 09:22:39 +10:00
2016-08-04 10:16:56 +09:30
2016-06-29 19:50:43 +09:00
2016-04-15 08:49:47 -07:00
2016-03-15 16:55:16 -07:00
2016-05-02 16:24:49 +02:00
2016-06-02 09:28:04 +02:00
2016-08-21 17:43:32 +02:00
2016-05-02 19:49:28 -04:00
2016-09-09 19:36:04 -07:00
2016-08-02 19:35:10 -04:00
2016-02-29 08:35:10 +01:00
2016-03-17 15:09:34 -07:00
2016-07-26 16:19:19 -07:00
2016-09-01 11:11:59 +02:00
2016-06-01 10:29:39 +02:00
2016-09-10 01:18:57 -04:00
2016-04-19 22:04:53 +02:00
2016-09-19 15:36:17 -07:00
2016-05-29 18:35:12 -04:00
2016-07-05 17:28:30 -04:00
2016-06-27 12:26:08 -07:00
2016-05-10 15:43:09 -04:00
2016-07-28 16:07:41 -07:00
2016-02-20 12:53:31 +01:00
2016-05-20 17:58:30 -07:00
2016-05-28 15:48:31 -04:00
2016-08-24 15:58:57 +02:00
2016-07-15 10:41:37 +02:00
2016-07-28 16:07:41 -07:00
2016-05-20 17:58:30 -07:00
2016-05-19 19:12:14 -07:00
2016-05-20 17:58:30 -07:00
2016-09-10 21:23:00 -07:00
2016-05-04 22:39:17 +02:00
2016-07-22 09:07:02 +02:00
2016-07-19 05:57:23 +02:00
2016-07-27 14:20:09 -07:00
2016-06-18 22:11:39 -07:00
2016-06-30 12:06:20 +02:00
2016-07-08 13:23:12 +02:00
2016-09-01 22:48:33 -07:00
2016-05-03 16:00:54 -04:00
2016-09-24 08:01:26 -04:00
2016-02-06 02:59:51 -05:00
2016-09-08 17:10:28 -07:00
2016-02-11 09:59:22 -05:00
2016-05-01 09:23:52 -04:00
2016-09-08 16:13:09 -07:00
2016-06-24 17:07:33 -07:00
2016-08-02 17:31:41 -04:00
2016-07-13 17:27:24 -07:00
2016-02-15 12:42:38 +00:00
2016-07-04 12:25:14 +02:00
2016-05-03 18:23:02 +01:00
2016-05-03 18:23:02 +01:00
2016-04-28 12:17:32 +01:00
2016-03-22 15:36:02 -07:00
2016-08-29 11:33:58 +10:00
2016-07-13 12:46:05 +02:00
2016-05-16 15:12:02 -05:00
2016-04-20 15:42:24 -04:00
2016-08-02 19:35:44 -04:00
2016-07-27 10:24:38 -05:00
2016-06-09 23:34:42 -07:00
2016-09-13 16:57:40 +02:00
2016-05-11 22:37:54 +02:00
2016-05-02 13:42:51 +02:00
2016-07-04 12:26:05 +02:00
2016-06-17 20:47:11 -07:00
2016-05-16 11:14:29 -04:00
2016-01-28 14:19:12 -08:00
2016-06-30 11:40:54 -04:00
2016-08-04 08:50:07 -04:00
2016-05-20 17:58:30 -07:00
2016-08-02 17:31:41 -04:00
2016-06-20 22:42:32 +02:00
2016-03-22 15:36:02 -07:00
2016-07-28 16:07:41 -07:00
2016-01-16 11:17:23 -08:00
2016-07-06 10:34:48 +01:00
2016-08-02 19:35:03 -04:00
2016-05-20 21:26:15 -07:00
2016-08-02 19:35:30 -04:00
2016-04-11 22:44:15 +01:00
2016-04-11 22:44:15 +01:00
2016-03-22 15:36:02 -07:00
2016-07-26 16:19:19 -07:00
2016-07-26 16:19:19 -07:00
2016-09-22 08:21:24 +01:00
2016-08-12 12:01:27 +02:00
2016-01-15 17:56:32 -08:00
2016-02-09 11:54:23 +01:00
2016-07-18 08:46:09 +02:00
2016-06-20 09:43:33 +02:00
2016-06-27 08:58:42 +02:00
2016-07-18 20:55:38 -04:00
2016-07-23 21:51:42 -07:00
2016-07-07 08:51:52 -06:00
2016-03-17 15:09:34 -07:00
2016-01-20 17:09:18 -08:00
2016-07-07 10:35:07 +02:00
2016-05-17 12:06:35 +02:00
2016-05-16 14:47:16 -07:00
2016-07-20 23:30:06 -04:00
2016-01-20 17:09:18 -08:00
2016-02-22 22:44:04 -05:00
2016-07-11 17:58:30 +02:00
2016-06-26 01:20:08 +02:00
2016-05-03 15:07:35 -07:00
2016-06-10 23:24:53 -07:00
2016-04-11 21:15:48 -04:00
2016-07-28 16:07:41 -07:00
2016-07-28 16:07:41 -07:00
2016-07-26 16:19:19 -07:00
2016-03-17 13:47:50 -07:00
2016-09-01 17:52:01 -07:00
2016-05-19 19:12:14 -07:00
2016-07-28 16:07:41 -07:00
2016-07-15 11:53:02 -07:00
2016-07-26 16:19:19 -07:00
2016-03-20 16:47:13 -04:00
2016-07-28 16:07:41 -07:00
2016-07-28 16:07:41 -07:00
2016-09-01 15:55:56 -07:00
2016-08-02 19:35:02 -04:00
2016-07-26 16:19:19 -07:00
2016-04-28 11:44:19 +02:00
2016-09-01 17:52:01 -07:00
2016-06-26 17:14:03 -07:00
2016-08-04 10:16:55 +09:30
2016-06-24 10:40:41 -05:00
2016-07-01 23:45:18 +08:00
2016-07-16 20:19:43 -07:00
2016-07-16 20:19:43 -07:00
2016-08-09 09:19:32 +02:00
2016-07-29 12:17:52 -07:00
2016-07-12 19:25:38 -07:00
2016-08-28 23:32:41 -04:00
2016-06-03 19:37:21 -04:00
2016-09-24 08:01:26 -04:00
2016-09-19 01:25:22 -04:00
2016-02-18 11:42:22 -05:00
2016-07-13 15:32:47 -04:00
2016-05-17 15:47:55 -04:00
2016-07-05 19:11:05 -04:00
2016-04-04 10:41:08 -07:00
2016-08-06 09:49:02 -04:00
2016-04-25 15:09:11 -04:00
2016-07-10 20:58:36 +02:00
2016-05-19 19:12:14 -07:00
2016-03-01 20:36:58 +01:00
2016-02-16 13:04:58 -05:00
2016-03-21 19:30:06 -04:00
2016-07-08 08:38:49 -06:00
2016-08-19 12:00:44 +03:00
2016-06-25 07:42:55 -07:00
2016-05-01 14:01:00 -07:00
2016-05-12 07:07:42 -05:00
2016-07-06 10:34:46 +01:00
2016-05-02 09:00:56 -05:00
2016-06-23 14:57:40 -05:00
2016-07-16 21:32:58 -07:00
2016-06-08 08:18:06 -05:00
2016-07-08 18:14:03 -03:00
2016-07-31 02:25:02 -07:00
2016-04-15 11:52:28 +03:00
2016-04-26 10:19:38 +05:30
2016-07-28 16:07:41 -07:00
2016-05-19 19:12:14 -07:00
2016-07-26 16:19:19 -07:00
2016-06-03 15:06:22 -07:00
2016-07-26 16:19:19 -07:00
2016-06-21 09:43:04 +02:00
2016-03-17 15:09:34 -07:00
2016-07-26 16:19:19 -07:00
2016-09-20 16:44:28 -07:00
2016-04-08 11:08:12 -05:00
2016-06-10 18:27:59 -05:00
2016-03-07 11:39:16 -06:00
2016-06-10 15:41:08 -05:00
2016-09-01 17:52:01 -07:00
2016-05-03 10:35:49 -05:00
2016-06-03 12:06:11 +02:00
2016-05-20 17:58:30 -07:00
2016-09-02 10:46:44 -07:00
2016-06-24 11:39:29 -07:00
2016-02-11 18:35:48 -08:00
2016-03-14 15:43:11 -04:00
2016-09-22 08:21:21 -04:00
2016-01-19 19:25:21 -05:00
2016-02-18 19:46:33 +01:00
2016-04-09 03:10:50 +02:00
2016-06-28 00:42:10 +02:00
2016-06-29 02:15:19 +02:00
2016-05-05 01:38:44 +02:00
2016-04-22 01:32:37 +02:00
2016-04-22 01:32:37 +02:00
2016-07-12 19:25:38 -07:00
2016-04-22 10:29:05 +02:00
2016-03-15 16:55:16 -07:00
2016-05-19 19:12:14 -07:00
2016-07-29 15:54:19 -07:00
2016-03-02 16:44:27 +01:00
2016-07-01 22:44:34 +02:00
2016-03-02 17:13:02 -08:00
2016-08-09 10:48:18 -07:00
2016-02-16 13:04:58 -05:00
2016-06-26 12:39:03 +01:00
2016-04-25 23:47:44 +02:00
2016-03-10 09:43:36 -08:00
2016-06-02 10:59:31 -07:00
2016-09-22 02:18:33 -04:00
2016-07-01 05:32:17 -04:00
2016-01-20 17:09:18 -08:00
2016-07-25 16:23:39 +02:00
2016-02-09 19:01:11 +00:00
2016-06-24 22:53:50 -05:00
2016-03-17 15:09:34 -07:00
2016-07-29 15:54:19 -07:00
2016-02-09 13:05:23 +01:00
2016-08-02 19:35:08 -04:00
2016-06-08 12:41:20 -07:00
2016-08-02 19:35:06 -04:00
2016-07-06 10:51:14 +01:00
2016-07-06 10:51:14 +01:00
2016-04-14 21:14:03 -04:00
2016-04-23 18:51:33 -04:00
2016-07-27 12:03:20 -07:00
2016-07-15 10:41:44 +02:00
2016-07-15 10:41:44 +02:00
2016-07-15 13:44:47 +01:00
2016-05-12 15:50:19 -07:00
2016-05-31 22:12:43 +05:30
2016-05-30 09:37:47 +02:00
2016-06-29 23:39:52 +02:00
2016-02-24 09:12:45 +01:00
2016-09-20 04:43:36 -04:00
2016-03-22 15:36:02 -07:00
2016-08-02 19:35:38 -04:00
2016-08-02 19:35:37 -04:00
2016-08-02 19:35:37 -04:00
2016-07-26 16:19:19 -07:00
2016-03-10 16:04:24 -08:00
2016-05-06 11:09:00 -07:00
2016-03-14 17:08:15 +01:00
2016-09-01 16:56:15 -07:00
2016-04-13 10:42:20 +02:00
2016-06-08 15:16:42 +02:00
2016-06-22 09:10:00 +01:00
2016-04-15 16:53:14 -04:00
2016-08-02 19:35:23 -04:00
2016-06-21 10:15:56 +01:00
2016-08-08 12:51:58 -07:00
2016-06-14 10:54:40 -07:00
2016-07-20 23:30:06 -04:00
2016-04-30 09:26:55 -07:00
2016-04-14 12:56:09 -07:00
2016-06-03 08:37:25 +02:00
2016-08-31 15:36:01 +02:00
2016-06-25 14:31:04 -07:00
2016-07-27 14:20:09 -07:00
2016-07-13 09:24:51 +02:00
2016-01-20 17:09:18 -08:00
2016-07-26 16:19:19 -07:00
2016-05-23 17:04:14 -07:00
2016-07-01 05:32:17 -04:00
2016-09-22 01:34:20 -04:00
2016-07-28 16:07:41 -07:00
2016-08-08 14:48:14 -07:00
2016-07-28 16:07:41 -07:00
2016-08-28 23:44:55 -04:00
2016-07-15 10:41:43 +02:00
2016-06-28 09:08:51 -04:00
2016-05-08 23:46:14 -04:00
2016-06-14 11:55:15 +02:00
2016-02-23 19:59:55 -08:00
2016-03-25 16:37:42 -07:00
2016-05-03 14:59:30 -07:00
2016-06-28 08:54:23 -04:00
2016-01-06 11:02:29 +01:00
2016-04-21 10:47:26 +10:00
2016-05-19 19:12:14 -07:00
2016-06-11 14:57:56 -07:00
2016-06-15 01:26:04 +02:00
2016-02-25 11:27:16 +01:00
2016-07-28 16:07:41 -07:00
2016-08-04 08:50:07 -04:00
2016-04-29 17:37:10 -07:00
2016-05-20 17:58:30 -07:00
2016-08-30 00:54:02 -04:00
2016-09-21 00:23:00 -04:00
2016-06-01 22:25:48 +08:00
2016-09-07 11:33:26 -07:00
2016-07-17 19:59:26 +02:00
2016-03-17 15:09:34 -07:00
2016-05-19 19:12:14 -07:00
2016-06-20 12:47:15 -07:00
2016-03-02 17:13:17 -08:00
2016-06-01 21:13:43 +02:00
2016-07-15 10:41:42 +02:00
2016-07-28 16:07:41 -07:00
2016-06-14 16:02:16 -07:00
2016-07-19 17:43:38 +03:00
2016-05-18 18:55:19 -07:00
2016-03-15 16:55:16 -07:00
2016-03-09 11:58:41 -05:00
2016-04-26 15:47:32 -07:00
2016-01-28 11:58:02 -08:00
2016-05-20 20:57:27 -07:00
2016-05-23 17:04:14 -07:00
2016-05-04 16:55:11 -04:00
2016-08-08 13:02:01 -07:00
2016-02-10 13:19:03 +00:00
2016-04-07 16:53:29 -04:00
2016-06-30 18:04:36 -05:00
2016-09-17 14:05:30 -07:00
2016-04-13 12:02:28 -07:00
2016-05-03 14:32:07 -07:00
2016-06-24 10:40:31 -05:00
2016-07-26 16:19:19 -07:00
2016-05-20 17:58:30 -07:00
2016-04-06 16:14:24 +01:00
2016-02-22 16:10:08 -07:00
2016-05-31 13:15:57 +02:00
2016-08-01 21:44:52 +03:00
2016-06-10 23:03:55 -07:00
2016-03-02 17:01:57 +02:00
2016-08-02 02:57:29 +03:00
2016-03-02 17:01:57 +02:00
2016-07-28 16:07:41 -07:00
2016-05-23 11:48:48 -07:00
2016-01-14 16:00:49 -08:00
2016-07-28 16:07:41 -07:00
2016-02-07 21:36:02 -08:00
2016-06-25 09:04:48 -07:00
2016-07-14 10:42:35 +02:00
2016-07-19 03:08:07 -04:00
2016-07-17 21:00:14 +02:00
2016-09-21 00:22:59 -04:00
2016-07-14 09:34:43 +02:00
2016-07-28 16:07:41 -07:00
2016-08-04 08:50:07 -04:00
2016-05-27 20:09:16 -04:00
2016-05-20 17:58:30 -07:00