commit | fb6c6f2529e7c87a99a2f85ae1bb5b3c468482ff | [log] [tgz] |
---|---|---|
author | Saeed Mahameed <saeedm@mellanox.com> | Tue Jun 23 17:14:15 2015 +0300 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 24 00:42:35 2015 -0700 |
tree | d534c941b97418bf6f7c86a3cd65abf5e0ec4bbb | |
parent | 03289b88e3bcbdf2c8e0f1c92ce4e5a4cfbabf77 [diff] |
net/mlx5e: Use skb_shinfo(skb)->gso_segs rather than counting them Instead of counting number of gso fragments, we can use skb_shinfo(skb)->gso_segs. Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>