diff options
| author | Marc Kleine-Budde <mkl@pengutronix.de> | 2025-06-18 14:00:08 +0200 | 
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-06-19 15:27:53 -0700 | 
| commit | e4a3659a986e06c9e93f4167caa2907443f67063 (patch) | |
| tree | 77cb64b72a1fcda31618877fe9d29f016eb1a442 /scripts/lib/abi/abi_regex.py | |
| parent | e222c08f9669d7318a4c466c7ccc09c71f3b5a9a (diff) | |
net: fec: fec_enet_rx_queue(): replace manual VLAN header calculation with skb_vlan_eth_hdr()
For better readability and maintainability, use the provided helper function
skb_vlan_eth_hdr() to replace manual the VLAN header calculation, and change
the type of vlan_header to struct vlan_ethhdr to take into account that the
Ethernet header plus VLAN header is returned.
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Link: https://patch.msgid.link/20250618-fec-cleanups-v4-8-c16f9a1af124@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/abi/abi_regex.py')
0 files changed, 0 insertions, 0 deletions
