Chengchang Tang
e7eb703f8b
net/hns3: replace special vport ids with macros
...
In hns3 PMD driver, the vport id 0 denote PF, and the vport id 1 denote
the first VF device of the port.
This patch adds two macros named HNS3_PF_FUNC_ID and
HNS3_1ST_VF_FUNC_ID, and replaces this two numbers to improve code
readability.
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
2020-05-28 17:57:07 +02:00
..
2020-03-18 10:21:41 +01:00
2020-02-14 12:42:12 +01:00
2020-04-16 18:16:46 +02:00
2020-04-16 18:16:46 +02:00
2020-05-06 11:18:36 +02:00
2020-04-14 16:22:34 +02:00
2020-05-11 22:27:39 +02:00
2020-05-21 15:53:14 +02:00
2020-04-16 18:30:58 +02:00
2020-04-25 19:53:47 +02:00
2020-05-19 15:49:53 +02:00
2020-05-19 15:49:53 +02:00
2020-05-18 20:35:07 +02:00
2020-05-11 19:21:31 +02:00
2020-04-16 18:30:58 +02:00
2020-04-21 13:57:08 +02:00
2020-05-11 22:27:39 +02:00
2020-04-16 18:30:58 +02:00
2020-05-21 17:12:27 +02:00
2020-05-28 17:57:07 +02:00
2020-05-22 17:10:15 +02:00
2020-05-28 17:57:07 +02:00
2020-05-28 17:57:07 +02:00
2020-05-18 20:35:57 +02:00
2020-05-05 00:25:34 +02:00
2020-04-21 13:57:04 +02:00
2020-05-22 18:02:52 +02:00
2019-11-26 18:22:27 +01:00
2019-11-20 23:05:39 +01:00
2020-04-21 13:57:08 +02:00
2020-05-11 22:27:39 +02:00
2020-05-21 17:59:29 +02:00
2020-04-21 13:57:05 +02:00
2020-05-21 15:41:48 +02:00
2020-05-11 22:27:39 +02:00
2020-04-21 13:57:06 +02:00
2020-04-21 13:57:06 +02:00
2020-04-21 13:57:07 +02:00
2020-05-03 16:37:30 +02:00
2020-05-21 15:53:14 +02:00
2020-01-17 19:45:23 +01:00
2020-04-25 19:53:47 +02:00
2020-05-18 20:35:57 +02:00
2020-05-11 22:27:39 +02:00
2020-05-21 17:38:12 +02:00
2020-05-05 15:54:26 +02:00
2019-11-20 23:05:39 +01:00
2020-05-11 22:27:39 +02:00
2020-04-21 13:57:05 +02:00
2020-04-14 16:22:34 +02:00
2020-04-21 13:57:07 +02:00
2020-05-18 20:35:57 +02:00
2020-05-18 20:35:57 +02:00
2020-04-21 13:57:07 +02:00
2020-04-21 13:57:07 +02:00