net: hns: add get_coalesce_range api for hns
authorDaode Huang <huangdaode@hisilicon.com>
Tue, 21 Jun 2016 03:56:33 +0000 (11:56 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jun 2016 08:51:55 +0000 (04:51 -0400)
commitad59a17f0a8ea31e6235e77fb4dda3cd22978914
treeb304ab8fe8dd6bd4d02f1fbe6e891344463f0de7
parentf56c1b3de7a2c7435e991a01350b0b32664ba5fb
net: hns: add get_coalesce_range api for hns

This patch adds get_coalesce_range api for hns, it shows
range of coalesce usecs and frames that can be set on
this interface.

Signed-off-by: Daode Huang <huangdaode@hisilicon.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hnae.h
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
drivers/net/ethernet/hisilicon/hns/hns_ethtool.c