Home
last modified time | relevance | path

Searched hist:ec222003bd948de8f3ffbca522d328af1a8452ad (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac.hdiff ec222003bd948de8f3ffbca522d328af1a8452ad Sat Aug 17 13:54:41 CDT 2019 Jose Abreu <Jose.Abreu@synopsys.com> 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>
H A Dstmmac_main.cdiff ec222003bd948de8f3ffbca522d328af1a8452ad Sat Aug 17 13:54:41 CDT 2019 Jose Abreu <Jose.Abreu@synopsys.com> 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>