kernel_samsung_a53x/drivers/net/ethernet/sfc
Vladimir Oltean 39ce12db8b net: vlan: introduce skb_vlan_eth_hdr()
[ Upstream commit 1f5020acb33f926030f62563c86dffca35c7b701 ]

Similar to skb_eth_hdr() introduced in commit 96cc4b69581d ("macvlan: do
not assume mac_header is set in macvlan_broadcast()"), let's introduce a
skb_vlan_eth_hdr() helper which can be used in TX-only code paths to get
to the VLAN header based on skb->data rather than based on the
skb_mac_header(skb).

We also consolidate the drivers that dereference skb->data to go through
this helper.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 9fc95fe95c3e ("net: fec: correct queue selection")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 12:11:48 +01:00
..
falcon Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bitfield.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ef10.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ef10_regs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ef10_sriov.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ef10_sriov.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ef100.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ef100.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ef100_ethtool.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ef100_ethtool.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ef100_netdev.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ef100_netdev.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ef100_nic.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ef100_nic.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ef100_regs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ef100_rx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ef100_rx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ef100_tx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ef100_tx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
efx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
efx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
efx_channels.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
efx_channels.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
efx_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
efx_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
enum.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ethtool.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ethtool_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ethtool_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
farch.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
farch_regs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
filter.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
io.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mcdi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mcdi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mcdi_filters.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mcdi_filters.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mcdi_functions.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mcdi_functions.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mcdi_mon.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mcdi_pcol.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mcdi_port.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mcdi_port.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mcdi_port_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mcdi_port_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
net_driver.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nic.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nic.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nic_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ptp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ptp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rx_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rx_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
selftest.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
selftest.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
siena.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
siena_sriov.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
siena_sriov.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sriov.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sriov.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tx_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tx_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tx_tso.c net: vlan: introduce skb_vlan_eth_hdr() 2024-11-18 12:11:48 +01:00
vfdi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
workarounds.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00