Searched refs:xdp (Results 176 - 200 of 209) sorted by relevance

123456789

/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A DMakefile27 en_tx.o en_rx.o en_dim.o en_txrx.o en/xdp.o en_stats.o \
H A Den.h50 #include <net/xdp.h>
766 bool xdp; member in struct:mlx5e_channel
H A Den_main.c58 #include "en/xdp.h"
2485 err = c->xdp ? mlx5e_open_cq(c->mdev, params->tx_cq_moderation, &cparam->xdp_sq.cqp,
2512 if (c->xdp) {
2526 if (c->xdp)
2542 if (c->xdp)
2566 if (c->xdp)
2575 if (c->xdp)
2671 c->xdp = !!params->xdp_prog;
5044 static int mlx5e_xdp(struct net_device *dev, struct netdev_bpf *xdp) argument
5046 switch (xdp
[all...]
/linux-master/net/netfilter/
H A Dnf_conntrack_bpf.c17 #include <net/xdp.h>
/linux-master/net/core/
H A Drtnetlink.c1527 struct nlattr *xdp; local
1532 xdp = nla_nest_start_noflag(skb, IFLA_XDP);
1533 if (!xdp)
1561 nla_nest_end(skb, xdp);
1565 nla_nest_cancel(skb, xdp);
3089 struct nlattr *xdp[IFLA_XDP_MAX + 1]; local
3092 err = nla_parse_nested_deprecated(xdp, IFLA_XDP_MAX,
3098 if (xdp[IFLA_XDP_ATTACHED] || xdp[IFLA_XDP_PROG_ID]) {
3103 if (xdp[IFLA_XDP_FLAG
[all...]
H A Dnetdev-genl.c8 #include <net/xdp.h>
H A Dpage_pool.c15 #include <net/xdp.h>
/linux-master/drivers/net/hyperv/
H A Dhyperv_net.h19 #include <net/xdp.h>
245 struct xdp_buff *xdp);
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe.h32 #include <net/xdp.h>
281 struct xdp_buff *xdp; member in struct:ixgbe_rx_buffer::__anon587::__anon589
400 u16 ring_idx; /* {rx,tx,xdp}_ring back reference idx */
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_base.c579 xdp_init_buff(&ring->xdp, ice_rx_pg_size(ring) / 2, &ring->xdp_rxq);
580 ring->xdp.data = NULL;
H A Dice_main.c3044 * @xdp: XDP command
3047 struct netdev_bpf *xdp)
3049 NL_SET_ERR_MSG_MOD(xdp->extack,
3058 * @xdp: XDP command
3060 static int ice_xdp(struct net_device *dev, struct netdev_bpf *xdp) argument
3066 NL_SET_ERR_MSG_MOD(xdp->extack, "XDP can be loaded only on PF VSI");
3070 switch (xdp->command) {
3072 return ice_xdp_setup_prog(vsi, xdp->prog, xdp->extack);
3074 return ice_xsk_pool_setup(vsi, xdp
3046 ice_xdp_safe_mode(struct net_device __always_unused *dev, struct netdev_bpf *xdp) argument
[all...]
/linux-master/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c1042 int qede_xdp(struct net_device *dev, struct netdev_bpf *xdp) argument
1046 switch (xdp->command) {
1048 return qede_xdp_set(edev, xdp->prog);
H A Dqede_main.c1168 /* 1 rx + 1 xdp + max tx cos */
1653 kfree(txq->sw_tx_ring.xdp);
1677 size = sizeof(*txq->sw_tx_ring.xdp) * txq->num_tx_buffers;
1678 txq->sw_tx_ring.xdp = kzalloc(size, GFP_KERNEL);
1679 if (!txq->sw_tx_ring.xdp)
/linux-master/drivers/net/xen-netback/
H A Drx.c293 extra->u.xdp.headroom = queue->vif->xdp_headroom;
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dmlx4_en.h51 #include <net/xdp.h>
/linux-master/drivers/net/ethernet/intel/igb/
H A Digb.h22 #include <net/xdp.h>
/linux-master/drivers/net/ethernet/freescale/
H A Dfec.h25 #include <net/xdp.h>
/linux-master/tools/bpf/bpftool/
H A Dlink.c534 show_link_ifindex_json(info->xdp.ifindex, json_wtr);
929 show_link_ifindex_plain(info->xdp.ifindex);
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c1178 struct xdp_buff *xdp)
1220 if (xdp && page_is_pfmemalloc(page))
1221 xdp_buff_set_frag_pfmemalloc(xdp);
1269 struct xdp_buff *xdp, u16 idx,
1272 struct skb_shared_info *shinfo = xdp_get_shared_info_from_buff(xdp);
1275 if (!xdp_buff_has_frags(xdp))
1279 idx, agg_bufs, tpa, xdp);
1281 xdp_buff_set_frags_flag(xdp);
1335 struct xdp_buff *xdp,
1340 u8 *data = xdp
1174 __bnxt_rx_agg_pages(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, struct skb_shared_info *shinfo, u16 idx, u32 agg_bufs, bool tpa, struct xdp_buff *xdp) argument
1267 bnxt_rx_agg_pages_xdp(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, struct xdp_buff *xdp, u16 idx, u32 agg_bufs, bool tpa) argument
1334 bnxt_copy_xdp(struct bnxt_napi *bnapi, struct xdp_buff *xdp, unsigned int len, dma_addr_t mapping) argument
2014 struct xdp_buff xdp; local
[all...]
/linux-master/kernel/bpf/
H A Doffload.c28 #include <net/xdp.h>
/linux-master/drivers/net/ethernet/sfc/
H A Dnet_driver.h29 #include <net/xdp.h>
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dnet_driver.h29 #include <net/xdp.h>
/linux-master/drivers/net/netdevsim/
H A Dnetdev.c104 if (ns->xdp.prog && new_mtu > NSIM_XDP_MAX_MTU)
/linux-master/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2.h21 #include <net/xdp.h>
/linux-master/include/uapi/linux/
H A Dbpf.h1259 * fully support xdp frags.
5450 * Get the total size of a given xdp buff (linear and paged area)
5452 * The total size of a given xdp buffer.
5457 * xdp buffer. It can be used to load *len* bytes from *offset* from
5626 * skb and xdp type dynptrs may not use bpf_dynptr_data. They should
6662 } xdp; member in union:bpf_link_info::__anon2958

Completed in 1121 milliseconds

123456789