diff options
author | Jose Abreu <Jose.Abreu@synopsys.com> | 2019-08-17 20:54:41 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-17 12:43:59 -0700 |
commit | ec222003bd948de8f3ffbca522d328af1a8452ad (patch) | |
tree | 8ab9b0c3e81c27f4ffed72dcc01dfedbe42f01e7 /include | |
parent | net: stmmac: Get correct timestamp values from XGMAC (diff) | |
download | linux-dev-ec222003bd948de8f3ffbca522d328af1a8452ad.tar.xz linux-dev-ec222003bd948de8f3ffbca522d328af1a8452ad.zip |
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 <joabreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions