linux/drivers/net/ethernet/freescale/dpaa2
Lorenzo Bianconi 43b5169d83 net, xdp: Introduce xdp_init_buff utility routine
Introduce xdp_init_buff utility routine to initialize xdp_buff fields
const over NAPI iterations (e.g. frame_sz or rxq pointer). Rely on
xdp_init_buff in all XDP capable drivers.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Alexander Duyck <alexanderduyck@fb.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Shay Agroskin <shayagr@amazon.com>
Acked-by: Martin Habets <habetsm.xilinx@gmail.com>
Acked-by: Camelia Groza <camelia.groza@nxp.com>
Acked-by: Marcin Wojtas <mw@semihalf.com>
Link: https://lore.kernel.org/bpf/7f8329b6da1434dc2b05a77f2e800b29628a8913.1608670965.git.lorenzo@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2021-01-08 13:39:24 -08:00
..
dpaa2-eth-dcb.c dpaa2-eth: add a dpaa2_eth_ prefix to all functions in dpaa2-eth-dcb.c 2020-09-01 13:23:47 -07:00
dpaa2-eth-debugfs.c dpaa2-eth: Convert to DEFINE_SHOW_ATTRIBUTE 2020-09-17 17:05:29 -07:00
dpaa2-eth-debugfs.h dpaa2: no need to check return value of debugfs_create functions 2019-08-10 15:25:48 -07:00
dpaa2-eth-devlink.c dpaa2-eth: add support for devlink parser error drop traps 2020-10-02 16:31:56 -07:00
dpaa2-eth-trace.h dpaa2-eth: fix recursive header include 2020-06-25 16:03:39 -07:00
dpaa2-eth.c net, xdp: Introduce xdp_init_buff utility routine 2021-01-08 13:39:24 -08:00
dpaa2-eth.h dpaa2-eth: add support for devlink parser error drop traps 2020-10-02 16:31:56 -07:00
dpaa2-ethtool.c dpaa2-eth: install a single steering rule when SHARED_FS is enabled 2020-09-25 17:10:27 -07:00
dpaa2-mac.c dpaa2-mac: Add a missing of_node_put after of_device_is_available 2020-12-07 17:57:19 -08:00
dpaa2-mac.h dpaa2-mac: add PCS support through the Lynx module 2020-09-24 19:49:36 -07:00
dpaa2-ptp.c dpaa2-eth: define a global ptp_qoriq structure pointer 2020-09-18 14:32:48 -07:00
dpaa2-ptp.h dpaa2-eth: define a global ptp_qoriq structure pointer 2020-09-18 14:32:48 -07:00
dpkg.h
dpmac-cmd.h dpaa2-eth: fix a build warning in dpmac.c 2020-09-18 14:36:00 -07:00
dpmac.c dpaa2-eth: add ethtool MAC counters 2019-11-07 15:31:53 -08:00
dpmac.h dpaa2-eth: add ethtool MAC counters 2019-11-07 15:31:53 -08:00
dpni-cmd.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-10-05 18:40:01 -07:00
dpni.c dpaa2-eth: add APIs of 1588 single step timestamping 2020-09-18 14:32:47 -07:00
dpni.h dpaa2-eth: install a single steering rule when SHARED_FS is enabled 2020-09-25 17:10:27 -07:00
dprtc-cmd.h dpaa2-ptp: add external trigger event support 2019-12-16 15:56:41 -08:00
dprtc.c dpaa2-ptp: add interrupt support 2019-06-15 13:43:06 -07:00
dprtc.h dpaa2-ptp: add external trigger event support 2019-12-16 15:56:41 -08:00
Kconfig dpaa2-eth: Fix compile error due to missing devlink support 2020-11-24 14:57:55 -08:00
Makefile dpaa2-eth: add basic devlink support 2020-10-02 16:31:56 -07:00