[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200129.135931.874705887000597696.davem@davemloft.net>
Date: Wed, 29 Jan 2020 13:59:31 +0100 (CET)
From: David Miller <davem@...emloft.net>
To: lorenzo@...nel.org
Cc: netdev@...r.kernel.org, ilias.apalodimas@...aro.org,
lorenzo.bianconi@...hat.com, brouer@...hat.com,
sven.auhagen@...eatech.de, andrew@...n.ch
Subject: Re: [PATCH net] net: mvneta: fix XDP support if sw bm is used as
fallback
From: Lorenzo Bianconi <lorenzo@...nel.org>
Date: Wed, 29 Jan 2020 12:50:53 +0100
> In order to fix XDP support if sw buffer management is used as fallback
> for hw bm devices, define MVNETA_SKB_HEADROOM as maximum between
> XDP_PACKET_HEADROOM and NET_SKB_PAD and let the hw aligns the IP header
> to 4-byte boundary.
> Fix rx_offset_correction initialization if mvneta_bm_port_init fails in
> mvneta_resume routine
>
> Fixes: 0db51da7a8e9 ("net: mvneta: add basic XDP support")
> Tested-by: Sven Auhagen <sven.auhagen@...eatech.de>
> Signed-off-by: Lorenzo Bianconi <lorenzo@...nel.org>
Applied and queued up for v5.5 -stable, thanks.
Powered by blists - more mailing lists