We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0198b45 commit 8973ce1Copy full SHA for 8973ce1
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h
@@ -42,29 +42,6 @@ struct hns_mac_cb;
42
43
#define HNS_MAX_WAIT_CNT 10000
44
45
-enum dsaf_roce_port_mode {
46
- DSAF_ROCE_6PORT_MODE,
47
- DSAF_ROCE_4PORT_MODE,
48
- DSAF_ROCE_2PORT_MODE,
49
- DSAF_ROCE_CHAN_MODE_NUM,
50
-};
51
-
52
-enum dsaf_roce_port_num {
53
- DSAF_ROCE_PORT_0,
54
- DSAF_ROCE_PORT_1,
55
- DSAF_ROCE_PORT_2,
56
- DSAF_ROCE_PORT_3,
57
- DSAF_ROCE_PORT_4,
58
- DSAF_ROCE_PORT_5,
59
60
61
-enum dsaf_roce_qos_sl {
62
- DSAF_ROCE_SL_0,
63
- DSAF_ROCE_SL_1,
64
- DSAF_ROCE_SL_2,
65
- DSAF_ROCE_SL_3,
66
67
68
#define DSAF_STATS_READ(p, offset) (*((u64 *)((u8 *)(p) + (offset))))
69
#define HNS_DSAF_IS_DEBUG(dev) ((dev)->dsaf_mode == DSAF_MODE_DISABLE_SP)
70
0 commit comments