diff options
author | 2015-06-23 17:14:15 +0300 | |
---|---|---|
committer | 2015-06-24 00:42:35 -0700 | |
commit | fb6c6f2529e7c87a99a2f85ae1bb5b3c468482ff (patch) | |
tree | d534c941b97418bf6f7c86a3cd65abf5e0ec4bbb /net/switchdev/switchdev.c | |
parent | net/mlx5e: Static mapping of netdev priv resources to/from netdev TX queues (diff) | |
download | wireguard-linux-fb6c6f2529e7c87a99a2f85ae1bb5b3c468482ff.tar.xz wireguard-linux-fb6c6f2529e7c87a99a2f85ae1bb5b3c468482ff.zip |
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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions