diff options
| author | Sriharsha Basavapatna <[email protected]> | 2015-02-16 08:03:45 +0530 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-02-20 14:06:57 -0500 |
| commit | 804abcdbdbb68df5ca8cf7e70366522f02298029 (patch) | |
| tree | 490961cb191ae80d1b598cc893fa9e00cb02ae48 /scripts/gdb/linux/modules.py | |
| parent | 69994d17abe90c4ae449dfcefbae9754f92c36bd (diff) | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions