Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1365433

[PATCH net-next 0/2] net: hns: add setting coalescing parameters for HNS v2

From Yisen Zhuang <Yisen.Zhuang@huawei.com>
Newsgroups linux.kernel
Subject [PATCH net-next 0/2] net: hns: add setting coalescing parameters for HNS v2
Date 2016-03-28 12:30 +0200
Message-ID <rhCAN-5Gw-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


There are some different REGs about coalescing setting between HNS V2 and
HNS V1. The current HNS driver is only considering the situation for HNS
V1. It needs to support both of them. And Ethtool needs to know if it is
successful to set the parameters as well.

The patchset as below:

>from Lisheng, one fix about setting overtime regs, and the other is about
the return value from HW when setting the parameters.

Lisheng (2):
  net: hns: fixed the setting and getting overtime bug
  net: hns: set-coalesce-usecs returns errno by dsaf.ko

 drivers/net/ethernet/hisilicon/hns/hnae.h         |   2 +-
 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c |  64 +++----
 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c | 196 ++++++++++------------
 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.h |  23 +--
 drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h |   1 +
 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c  |   6 +-
 6 files changed, 133 insertions(+), 159 deletions(-)

-- 
1.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH net-next 0/2] net: hns: add setting coalescing parameters for HNS v2 Yisen Zhuang <Yisen.Zhuang@huawei.com> - 2016-03-28 12:30 +0200
  [PATCH net-next 1/2] net: hns: fixed the setting and getting overtime bug Yisen Zhuang <Yisen.Zhuang@huawei.com> - 2016-03-28 12:30 +0200
    Re: [PATCH net-next 1/2] net: hns: fixed the setting and getting  overtime bug David Miller <davem@davemloft.net> - 2016-03-28 17:50 +0200
  [PATCH net-next 2/2] net: hns: set-coalesce-usecs returns errno by dsaf.ko Yisen Zhuang <Yisen.Zhuang@huawei.com> - 2016-03-28 12:30 +0200
    Re: [PATCH net-next 2/2] net: hns: set-coalesce-usecs returns  errno by dsaf.ko David Miller <davem@davemloft.net> - 2016-03-28 17:50 +0200

csiph-web