diff options
| author | Jose Abreu <[email protected]> | 2019-08-17 20:54:41 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-08-17 12:43:59 -0700 |
| commit | ec222003bd948de8f3ffbca522d328af1a8452ad (patch) | |
| tree | 8ab9b0c3e81c27f4ffed72dcc01dfedbe42f01e7 /tools/perf/scripts/python | |
| parent | 25e80cd05ff81e51750106f1ae12364449ec38e7 (diff) | |
net: stmmac: Prepare to add Split Header support
In order to add Split Header support, stmmac_rx() needs to take into
account that packet may be split accross multiple descriptors.
Refactor the logic of this function in order to support this scenario.
Changes from v2:
- Fixup if condition detection (Jakub)
- Don't stop NAPI with unfinished packet (Jakub)
- Use napi_alloc_skb() (Jakub)
Signed-off-by: Jose Abreu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions