[PATCH net-next 00/12] cleanup & optimizations & bugfixes for HNS3 driver

From: Huazhong Tan
Date: Sun May 05 2019 - 22:51:42 EST


This patchset contains some cleanup related to hns3_enet_ring
struct and tx bd filling process, optimizations related
to rx page reusing, barrier using and tso handling process,
bugfixes related to tunnel type handling and error handling for
desc filling.

Yunsheng Lin (12):
net: hns3: unify maybe_stop_tx for TSO and non-TSO case
net: hns3: use napi_schedule_irqoff in hard interrupts handlers
net: hns3: add counter for times RX pages gets allocated
net: hns3: add linearizing checking for TSO case
net: hns3: fix for tunnel type handling in hns3_rx_checksum
net: hns3: refactor BD filling for l2l3l4 info
net: hns3: combine len and checksum handling for inner and outer
header.
net: hns3: fix error handling for desc filling
net: hns3: optimize the barrier using when cleaning TX BD
net: hns3: unify the page reusing for page size 4K and 64K
net: hns3: some cleanup for struct hns3_enet_ring
net: hns3: use devm_kcalloc when allocating desc_cb

drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 499 ++++++++++-----------
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 17 +-
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 2 +
3 files changed, 230 insertions(+), 288 deletions(-)

--
2.7.4