]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: fix the ops check in hns3_get_rxnfc
authorLipeng <lipeng321@huawei.com>
Mon, 23 Oct 2017 11:51:03 +0000 (19:51 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Oct 2017 00:16:41 +0000 (01:16 +0100)
commit6b9f8ea54f72a1dda81ac2127973e3856f2862dd
tree9a64ff96ebf35268532a4bbc7087301f2c2fbe11
parent57051eea9e4ecbd7423766f6964aea5fb9915d90
net: hns3: fix the ops check in hns3_get_rxnfc

1# patch: 21d037c net: hns3: add support for ETHTOOL_GRXFH.
2# patch: 129e908 net: hns3: add support for set_ringparam.

1# patch adds ae_algo->ops->get_rss_tuple to hns3_get_rxnfc
and 2# patch delete ae_algo->ops->get_tc_size
from hns3_get_rxnfc.This patch fix the ops check in hns3_get_rxnfc.

Signed-off-by: Lipeng <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_ethtool.c