]> git.karo-electronics.de Git - linux-beck.git/commit
be2net: Fix TX stats for TSO packets
authorSriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Sun, 9 Oct 2016 04:28:52 +0000 (09:58 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 9 Oct 2016 13:30:38 +0000 (09:30 -0400)
commitf3d6ad84807254954fc69bdebb6123e5a2883baf
tree8446d24ca2415e546c738b8d191cf033c9ffd7c9
parent77b696cba961bb6e88aeba36253849443f9a4186
be2net: Fix TX stats for TSO packets

TX stats update does not take into account headers which get duplicated
when the TSO packet is split into segments by HW. Fix this for both
tunneled (vxlan) and non-tunneled TSO packets.

Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c