summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h
diff options
context:
space:
mode:
authorPeng Li <lipeng321@huawei.com>2018-03-10 11:29:26 +0800
committerDavid S. Miller <davem@davemloft.net>2018-03-11 22:53:31 -0400
commitf8d291f00bb33c97b8c9dd643277d6300d05559d (patch)
tree846bdfaf8f397f1011275071de154ccb27dfa338 /drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h
parente98d7183f609ba48cfe5c5132b99f4c6ccab31c6 (diff)
net: hns3: fix rx path skb->truesize reporting bug
Original skb->truesize reports the received packet size, not the actual buffer size NIC driver allocated(1 Page). The linux net protocol will misjudge the true size of rx queue. Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h')
0 files changed, 0 insertions, 0 deletions