linux/drivers/net/ethernet/hisilicon/hns3
Yunsheng Lin acf61ecd44 net: hns3: Add support for dynamically buffer reallocation
Current buffer allocation can only happen at init, when
doing buffer reallocation after init, care must be taken
care of memory which priv_buf points to.
This patch fixes it by using a dynamic allocated temporary
memory. Because we only do buffer reallocation at init or
when setting up the DCB parameter, and priv_buf is only
used at buffer allocation process, so it is ok to use a
dynamic allocated temporary memory.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-09-28 10:35:11 -07:00
..
hns3pf net: hns3: Add support for dynamically buffer reallocation 2017-09-28 10:35:11 -07:00
hnae3.c net: hns3: Fixes the premature exit of loop when matching clients 2017-09-19 16:06:49 -07:00
hnae3.h net: hns3: Fix for pri to tc mapping in TM 2017-09-20 16:15:40 -07:00
Makefile net: hns3: Add HNS3 driver to kernel build framework & MAINTAINERS 2017-08-03 15:08:18 -07:00