linux/drivers/net
Vladimir Oltean e2fdfd7119 net: dpaa: avoid one skb_reset_mac_header() in dpaa_enable_tx_csum()
It appears that dpaa_enable_tx_csum() only calls skb_reset_mac_header()
to get to the VLAN header using skb_mac_header().

We can use skb_vlan_eth_hdr() to get to the VLAN header based on
skb->data directly. This avoids spending a few cycles to set
skb->mac_header.

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>
Acked-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-04-23 14:16:44 +01:00
..
appletalk
arcnet
bonding Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-04-20 16:29:51 -07:00
caif
can kvaser_usb: convert USB IDs to hexadecimal values 2023-04-04 16:48:45 +02:00
dsa net: dsa: qca8k: fix LEDS_CLASS dependency 2023-04-21 20:26:41 -07:00
ethernet net: dpaa: avoid one skb_reset_mac_header() in dpaa_enable_tx_csum() 2023-04-23 14:16:44 +01:00
fddi net: fddi: skfp: rmt: Clean up some inconsistent indenting 2023-04-11 12:46:26 +02:00
fjes
hamradio hamradio: drop ISA_DMA_API dependency 2023-04-19 13:11:41 +01:00
hippi
hyperv
ieee802154
ipa
ipvlan
mctp
mdio net: ethernet: Add missing depends on MDIO_DEVRES 2023-04-12 20:38:48 -07:00
netdevsim
pcs
phy drivers/net/phy: add driver for Microchip LAN867x 10BASE-T1S PHY 2023-04-23 13:40:59 +01:00
plip
ppp
pse-pd
slip
team
thunderbolt net: thunderbolt: Fix typos in comments 2023-04-12 21:09:12 -07:00
usb r8152: Add __GFP_NOWARN to big allocations 2023-04-07 20:12:46 -07:00
vmxnet3 net: vmxnet3: Fix NULL pointer dereference in vmxnet3_rq_rx_complete() 2023-04-19 09:03:05 +01:00
vxlan
wan
wireguard
wireless wireless-next patches for v6.4 2023-04-21 07:35:51 -07:00
wwan wwan: core: add print for wwan port attach/disconnect 2023-04-20 19:57:43 -07:00
xen-netback
Kconfig
LICENSE.SRC
Makefile
Space.c
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
loopback.c
macsec.c macsec: Don't rely solely on the dst MAC address to identify destination MACsec device 2023-04-21 08:22:15 +01:00
macvlan.c macvlan: Fix mc_filter calculation 2023-03-31 08:56:42 +01:00
macvtap.c
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
sungem_phy.c
tap.c
tun.c
veth.c veth: take into account peer device for NETDEV_XDP_ACT_NDO_XMIT xdp_features flag 2023-04-18 11:10:58 -07:00
virtio_net.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-04-20 16:29:51 -07:00
vrf.c
vsockmon.c
xen-netfront.c