summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/b44.c
diff options
context:
space:
mode:
authorHao Chen <chenhao288@hisilicon.com>2021-11-18 20:12:41 +0800
committerDavid S. Miller <davem@davemloft.net>2021-11-22 12:31:47 +0000
commite445f08af2b15035474439fbbb8649f466ad2501 (patch)
tree284016beb7f68cb1da5e8c01ead12fccdaf8071f /drivers/net/ethernet/broadcom/b44.c
parent448f413a8bdc727d25d9a786ccbdb974fb85d973 (diff)
downloadlinux-stable-e445f08af2b15035474439fbbb8649f466ad2501.tar.gz
linux-stable-e445f08af2b15035474439fbbb8649f466ad2501.tar.bz2
linux-stable-e445f08af2b15035474439fbbb8649f466ad2501.zip
net: hns3: add support to set/get tx copybreak buf size via ethtool for hns3 driver
Tx copybreak buf size is used for tx copybreak feature, the feature is used for small size packet or frag. It adds a queue based tx shared bounce buffer to memcpy the small packet when the len of xmitted skb is below tx_copybreak(value to distinguish small size and normal size), and reduce the overhead of dma map and unmap when IOMMU is on. Support setting it via ethtool --set-tunable parameter and getting it via ethtool --get-tunable parameter. Signed-off-by: Hao Chen <chenhao288@hisilicon.com> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/b44.c')
0 files changed, 0 insertions, 0 deletions