[PATCH net-next 1/8] net: hns3: add check when initialize

2017-08-31 Thread Lipeng
private waterline and and common packet buffer Command HCLGE_OPC_RX_PRIV_WL_ALLOC configure waterline for TC's PFC, which has private buffer.Command HCLGE_OPC_RX_COM_THRD_ALLOC Control each TC's occupation in common packet buffer, also generate PFC for TC, which has not private buffer.When device

[PATCH net-next 1/8] net: hns3: add check when initialize

2017-08-31 Thread Lipeng
private waterline and and common packet buffer Command HCLGE_OPC_RX_PRIV_WL_ALLOC configure waterline for TC's PFC, which has private buffer.Command HCLGE_OPC_RX_COM_THRD_ALLOC Control each TC's occupation in common packet buffer, also generate PFC for TC, which has not private buffer.When device