aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/netxen
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/qlogic/netxen
parentethtool: add support to set/get tx copybreak buf size via ethtool (diff)
downloadlinux-dev-e445f08af2b15035474439fbbb8649f466ad2501.tar.xz
linux-dev-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/qlogic/netxen')
0 files changed, 0 insertions, 0 deletions