kernel_samsung_a53x/drivers/net/ethernet/broadcom/bnx2x
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
..
bnx2x.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2x_cmn.c net: vlan: introduce skb_vlan_eth_hdr() 2024-11-18 12:11:48 +01:00
bnx2x_cmn.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2x_dcb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2x_dcb.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2x_dump.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2x_ethtool.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2x_fw_defs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2x_fw_file_hdr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2x_hsi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2x_init.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2x_init_ops.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2x_link.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2x_link.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2x_main.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2x_mfw_req.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2x_reg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2x_self_test.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2x_sp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2x_sp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2x_sriov.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2x_sriov.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2x_stats.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2x_stats.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2x_vfpf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2x_vfpf.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00