kernel_samsung_a53x/drivers/net/ethernet/qlogic/qlcnic
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
..
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qlcnic.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qlcnic_83xx_hw.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qlcnic_83xx_hw.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qlcnic_83xx_init.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qlcnic_83xx_vnic.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qlcnic_ctx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qlcnic_dcb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qlcnic_dcb.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qlcnic_ethtool.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qlcnic_hdr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qlcnic_hw.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qlcnic_hw.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qlcnic_init.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qlcnic_io.c net: vlan: introduce skb_vlan_eth_hdr() 2024-11-18 12:11:48 +01:00
qlcnic_main.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qlcnic_minidump.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qlcnic_sriov.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qlcnic_sriov_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qlcnic_sriov_pf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qlcnic_sysfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00