1
0
Fork 0
alistair23-linux/drivers/net/ethernet/hisilicon/hns
lipeng fb0672d116 net: hns: Remove redundant memset during buffer release
Because all members of desc_cb is assigned when xmit one package, so it
can delete in hnae_free_buffer, as follows:
        - "dma, priv, length, type" are assigned in fill_v2_desc.
        - "page_offset, reuse_flag, buf" are not used in tx direction.

Signed-off-by: lipeng <lipeng321@huawei.com>
Signed-off-by: Weiwei Deng <dengweiwei@huawei.com>
Reviewed-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-04-03 14:48:43 -07:00
..
Makefile net: add Hisilicon Network Subsystem basic ethernet support 2015-09-20 21:42:58 -07:00
hnae.c net: hns: Remove redundant memset during buffer release 2017-04-03 14:48:43 -07:00
hnae.h net: hns: Fix to conditionally convey RX checksum flag to stack 2016-12-06 11:41:57 -05:00
hns_ae_adapt.c net: hns: add the support to add/remove the ucast entry to/from table 2016-11-10 11:45:37 -05:00
hns_dsaf_gmac.c net: hns: Optimize the code for GMAC pad and crc Config 2017-04-03 14:48:43 -07:00
hns_dsaf_gmac.h
hns_dsaf_mac.c net: hns: add the support to add/remove the ucast entry to/from table 2016-11-10 11:45:37 -05:00
hns_dsaf_mac.h net: hns: add the support to add/remove the ucast entry to/from table 2016-11-10 11:45:37 -05:00
hns_dsaf_main.c net: hns: add the support to add/remove the ucast entry to/from table 2016-11-10 11:45:37 -05:00
hns_dsaf_main.h net: hns: add the support to add/remove the ucast entry to/from table 2016-11-10 11:45:37 -05:00
hns_dsaf_misc.c net: hns: fix to intimate the link-status change by adding LF/RF method 2016-11-10 11:45:37 -05:00
hns_dsaf_misc.h net: hns: Add support of ACPI to HNS driver RoCE Reset function 2016-08-25 10:05:10 -04:00
hns_dsaf_ppe.c net: hns: dereference ppe_cb->ppe_common_cb if it is non-null 2016-08-26 11:44:56 -07:00
hns_dsaf_ppe.h net: hns: separate debug dsaf device from service dsaf device 2016-04-26 01:09:17 -04:00
hns_dsaf_rcb.c net: hns: bug fix about setting coalsecs-usecs to 0 2016-10-03 11:40:57 -04:00
hns_dsaf_rcb.h net: hns: change the default coalesce usecs 2016-06-21 04:51:56 -04:00
hns_dsaf_reg.h net: hns: Modify GMAC init TX threshold value 2017-04-03 14:48:43 -07:00
hns_dsaf_xgmac.c net: hns: fix to intimate the link-status change by adding LF/RF method 2016-11-10 11:45:37 -05:00
hns_dsaf_xgmac.h net: hns: fix to intimate the link-status change by adding LF/RF method 2016-11-10 11:45:37 -05:00
hns_enet.c net: hns: Fix the implementation of irq affinity function 2017-04-03 14:48:43 -07:00
hns_enet.h net: hns: Fix the implementation of irq affinity function 2017-04-03 14:48:43 -07:00
hns_ethtool.c net: hns: bug fix about restart auto-negotiation 2016-11-10 11:45:37 -05:00