1. 27 12月, 2017 7 次提交
  2. 15 12月, 2017 4 次提交
  3. 06 12月, 2017 3 次提交
  4. 14 11月, 2017 1 次提交
  5. 11 11月, 2017 2 次提交
  6. 08 11月, 2017 1 次提交
  7. 03 11月, 2017 6 次提交
  8. 02 11月, 2017 10 次提交
  9. 26 10月, 2017 4 次提交
  10. 24 10月, 2017 2 次提交
    • L
      net: hns3: fix a bug about hns3_clean_tx_ring · 24e750c4
      Lipeng 提交于
      The return value of hns3_clean_tx_ring means tx ring clean result.
      Return true means clean complete and there is no more pakcet need
      clean. Retrun false means there is packets need clean and napi need
      poll again. The last return of hns3_clean_tx_ring is
      "return !!budget" as budget will decrease when clean a buffer.
      
      If there is no valid BD in TX ring, return 0 for hns3_clean_tx_ring
      will cause napi poll again and never complete the napi poll. This
      patch fixes the bug.
      
      Fixes: 76ad4f0e (net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC)
      Signed-off-by: NLipeng <lipeng321@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      24e750c4
    • L
      net: hns3: remove redundant memset when alloc buffer · 51145dae
      Lipeng 提交于
      HW will use packet length to write packets to buffer or read
      packets from buffer. There is a redundant memset when alloc buffer,
      the memset have no sense and will increase time-consuming.
      This patch removes it.
      
      Fixes: 76ad4f0e (net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC)
      Signed-off-by: NLipeng <lipeng321@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      51145dae