Commit 0cb07041 authored by Hao Chen's avatar Hao Chen Committed by David S. Miller

net: hns3: add required space in comment

Add some required spaces in comment for cleanup.
Signed-off-by: default avatarHao Chen <chenhao288@hisilicon.com>
Signed-off-by: default avatarGuangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1026b153
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
enum HCLGE_MBX_OPCODE { enum HCLGE_MBX_OPCODE {
HCLGE_MBX_RESET = 0x01, /* (VF -> PF) assert reset */ HCLGE_MBX_RESET = 0x01, /* (VF -> PF) assert reset */
HCLGE_MBX_ASSERTING_RESET, /* (PF -> VF) PF is asserting reset*/ HCLGE_MBX_ASSERTING_RESET, /* (PF -> VF) PF is asserting reset */
HCLGE_MBX_SET_UNICAST, /* (VF -> PF) set UC addr */ HCLGE_MBX_SET_UNICAST, /* (VF -> PF) set UC addr */
HCLGE_MBX_SET_MULTICAST, /* (VF -> PF) set MC addr */ HCLGE_MBX_SET_MULTICAST, /* (VF -> PF) set MC addr */
HCLGE_MBX_SET_VLAN, /* (VF -> PF) set VLAN */ HCLGE_MBX_SET_VLAN, /* (VF -> PF) set VLAN */
......
...@@ -348,7 +348,7 @@ enum hns3_pkt_l3type { ...@@ -348,7 +348,7 @@ enum hns3_pkt_l3type {
HNS3_L3_TYPE_LLDP, HNS3_L3_TYPE_LLDP,
HNS3_L3_TYPE_BPDU, HNS3_L3_TYPE_BPDU,
HNS3_L3_TYPE_MAC_PAUSE, HNS3_L3_TYPE_MAC_PAUSE,
HNS3_L3_TYPE_PFC_PAUSE,/* 0x9*/ HNS3_L3_TYPE_PFC_PAUSE, /* 0x9 */
/* reserved for 0xA~0xB */ /* reserved for 0xA~0xB */
......
...@@ -453,7 +453,7 @@ struct hclge_tc_thrd { ...@@ -453,7 +453,7 @@ struct hclge_tc_thrd {
}; };
struct hclge_priv_buf { struct hclge_priv_buf {
struct hclge_waterline wl; /* Waterline for low and high*/ struct hclge_waterline wl; /* Waterline for low and high */
u32 buf_size; /* TC private buffer size */ u32 buf_size; /* TC private buffer size */
u32 tx_buf_size; u32 tx_buf_size;
u32 enable; /* Enable TC private buffer or not */ u32 enable; /* Enable TC private buffer or not */
......
...@@ -3421,7 +3421,7 @@ static irqreturn_t hclge_misc_irq_handle(int irq, void *data) ...@@ -3421,7 +3421,7 @@ static irqreturn_t hclge_misc_irq_handle(int irq, void *data)
hclge_enable_vector(&hdev->misc_vector, false); hclge_enable_vector(&hdev->misc_vector, false);
event_cause = hclge_check_event_cause(hdev, &clearval); event_cause = hclge_check_event_cause(hdev, &clearval);
/* vector 0 interrupt is shared with reset and mailbox source events.*/ /* vector 0 interrupt is shared with reset and mailbox source events. */
switch (event_cause) { switch (event_cause) {
case HCLGE_VECTOR0_EVENT_ERR: case HCLGE_VECTOR0_EVENT_ERR:
hclge_errhand_task_schedule(hdev); hclge_errhand_task_schedule(hdev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment