diff options
author | 2015-02-16 08:03:45 +0530 | |
---|---|---|
committer | 2015-02-20 14:06:57 -0500 | |
commit | 804abcdbdbb68df5ca8cf7e70366522f02298029 (patch) | |
tree | 490961cb191ae80d1b598cc893fa9e00cb02ae48 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'mv88e6171_indirect_phy' (diff) | |
download | wireguard-linux-804abcdbdbb68df5ca8cf7e70366522f02298029.tar.xz wireguard-linux-804abcdbdbb68df5ca8cf7e70366522f02298029.zip |
be2net: Refactor wrb_fill_hdr() routine
The WRB header is setup by wrb_fill_hdr() routine. This routine currently
gets some of the WRB params as args and figures out rest of the WRB params
by looking at various fields in skb (like gso, checksum, vlan-tag etc).
All these params could instead be retrieved from the skb into a structure
and passed to this routine. This separates wrb_fill_hdr() to only provide
chip-specific code to fill the WRB. This also makes it simple to support
chips with different WRB formats.
Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions