diff options
author | 2014-12-03 08:17:39 -0800 | |
---|---|---|
committer | 2014-12-08 20:47:42 -0500 | |
commit | a94d9e224e3c48f57559183582c6410e7acf1d8b (patch) | |
tree | dce3ceb3bf34837c6cab7a13b3c0043fbe8eb720 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net: Add functions for handling padding frame and adding to length (diff) | |
download | linux-dev-a94d9e224e3c48f57559183582c6410e7acf1d8b.tar.xz linux-dev-a94d9e224e3c48f57559183582c6410e7acf1d8b.zip |
ethernet/intel: Use eth_skb_pad and skb_put_padto helpers
Update the Intel Ethernet drivers to use eth_skb_pad() and skb_put_padto
instead of doing their own implementations of the function.
Also this cleans up two other spots where skb_pad was called but the length
and tail pointers were being manipulated directly instead of just having
the padding length added via __skb_put.
Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions