Home
last modified time | relevance | path

Searched refs:offload (Results 1 – 25 of 202) sorted by relevance

123456789

/linux/drivers/net/can/dev/
H A Drx-offload.c24 can_rx_offload_le(struct can_rx_offload *offload, in can_rx_offload_le() argument
27 if (offload->inc) in can_rx_offload_le()
34 can_rx_offload_inc(struct can_rx_offload *offload, unsigned int *val) in can_rx_offload_inc() argument
36 if (offload->inc) in can_rx_offload_inc()
44 struct can_rx_offload *offload = container_of(napi, in can_rx_offload_napi_poll() local
47 struct net_device *dev = offload->dev; in can_rx_offload_napi_poll()
53 (skb = skb_dequeue(&offload->skb_queue))) { in can_rx_offload_napi_poll()
69 if (!skb_queue_empty(&offload->skb_queue)) in can_rx_offload_napi_poll()
70 napi_schedule(&offload->napi); in can_rx_offload_napi_poll()
141 can_rx_offload_offload_one(struct can_rx_offload *offload, unsigned int n) in can_rx_offload_offload_one() argument
[all …]
/linux/kernel/bpf/
H A Doffload.c101 struct bpf_prog_offload *offload = prog->aux->offload; in __bpf_prog_offload_destroy() local
103 if (offload->dev_state) in __bpf_prog_offload_destroy()
104 offload->offdev->ops->destroy(prog); in __bpf_prog_offload_destroy()
106 list_del_init(&offload->offloads); in __bpf_prog_offload_destroy()
107 kfree(offload); in __bpf_prog_offload_destroy()
108 prog->aux->offload = NULL; in __bpf_prog_offload_destroy()
141 struct bpf_prog_offload *offload, *ptmp; in __bpf_offload_dev_netdev_unregister() local
160 list_for_each_entry(offload, &ondev->progs, offloads) in __bpf_offload_dev_netdev_unregister()
161 offload->netdev = altdev->netdev; in __bpf_offload_dev_netdev_unregister()
168 list_for_each_entry_safe(offload, ptmp, &ondev->progs, offloads) in __bpf_offload_dev_netdev_unregister()
[all …]
/linux/drivers/spi/
H A Dspi-offload.c36 struct spi_offload *offload; member
68 struct spi_offload *offload; in devm_spi_offload_alloc() local
71 offload = devm_kzalloc(dev, sizeof(*offload), GFP_KERNEL); in devm_spi_offload_alloc()
72 if (!offload) in devm_spi_offload_alloc()
79 offload->provider_dev = dev; in devm_spi_offload_alloc()
80 offload->priv = priv; in devm_spi_offload_alloc()
82 return offload; in devm_spi_offload_alloc()
90 resource->controller->put_offload(resource->offload); in spi_offload_put()
111 struct spi_offload *offload; in devm_spi_offload_get() local
124 offload = spi->controller->get_offload(spi, config); in devm_spi_offload_get()
[all …]
H A Dspi-axi-spi-engine.c177 struct spi_offload *offload; member
314 if (msg->offload && xfer->rx_buf) in spi_engine_precompile_message()
348 if (msg->offload) { in spi_engine_precompile_message()
349 struct spi_engine_offload *priv = msg->offload->priv; in spi_engine_precompile_message()
392 if (msg->offload) { in spi_engine_compile_message()
393 priv = msg->offload->priv; in spi_engine_compile_message()
487 (!msg->offload || priv->multi_lane_mode != SPI_MULTI_LANE_MODE_STRIPE)) { in spi_engine_compile_message()
718 struct spi_engine_offload *priv = msg->offload->priv; in spi_engine_offload_prepare()
791 static void spi_engine_offload_unprepare(struct spi_offload *offload) in spi_engine_offload_unprepare() argument
793 struct spi_engine_offload *priv = offload->priv; in spi_engine_offload_unprepare()
[all …]
/linux/include/linux/can/
H A Drx-offload.h18 struct sk_buff *(*mailbox_read)(struct can_rx_offload *offload,
35 struct can_rx_offload *offload);
37 struct can_rx_offload *offload,
40 struct can_rx_offload *offload,
42 int can_rx_offload_irq_offload_timestamp(struct can_rx_offload *offload,
44 int can_rx_offload_irq_offload_fifo(struct can_rx_offload *offload);
45 int can_rx_offload_queue_timestamp(struct can_rx_offload *offload,
47 unsigned int can_rx_offload_get_echo_skb_queue_timestamp(struct can_rx_offload *offload,
50 int can_rx_offload_queue_tail(struct can_rx_offload *offload,
52 unsigned int can_rx_offload_get_echo_skb_queue_tail(struct can_rx_offload *offload,
[all …]
/linux/net/netfilter/
H A Dnf_flow_table_offload.c734 const struct flow_offload_work *offload, in nf_flow_offload_rule_alloc() argument
737 const struct nf_flowtable *flowtable = offload->flowtable; in nf_flow_offload_rule_alloc()
739 struct flow_offload *flow = offload->flow; in nf_flow_offload_rule_alloc()
803 static int nf_flow_offload_alloc(const struct flow_offload_work *offload, in nf_flow_offload_alloc() argument
806 struct net *net = read_pnet(&offload->flowtable->net); in nf_flow_offload_alloc()
808 flow_rule[0] = nf_flow_offload_rule_alloc(net, offload, in nf_flow_offload_alloc()
813 flow_rule[1] = nf_flow_offload_rule_alloc(net, offload, in nf_flow_offload_alloc()
872 static int flow_offload_tuple_add(struct flow_offload_work *offload, in flow_offload_tuple_add() argument
876 return nf_flow_offload_tuple(offload->flowtable, offload->flow, in flow_offload_tuple_add()
878 offload->flowtable->priority, in flow_offload_tuple_add()
[all …]
/linux/drivers/net/dsa/sja1105/
H A Dsja1105_tas.c31 const struct tc_taprio_qopt_offload *offload; in sja1105_tas_set_runtime_params() local
33 offload = tas_data->offload[port]; in sja1105_tas_set_runtime_params()
34 if (!offload) in sja1105_tas_set_runtime_params()
39 if (max_cycle_time < offload->cycle_time) in sja1105_tas_set_runtime_params()
40 max_cycle_time = offload->cycle_time; in sja1105_tas_set_runtime_params()
41 if (latest_base_time < offload->base_time) in sja1105_tas_set_runtime_params()
42 latest_base_time = offload->base_time; in sja1105_tas_set_runtime_params()
43 if (earliest_base_time > offload->base_time) { in sja1105_tas_set_runtime_params()
44 earliest_base_time = offload->base_time; in sja1105_tas_set_runtime_params()
45 its_cycle_time = offload->cycle_time; in sja1105_tas_set_runtime_params()
[all …]
/linux/drivers/net/wireless/ath/ath12k/
H A Dwow.c619 struct wmi_arp_ns_offload_arg *offload) in ath12k_wow_generate_ns_mc_addr() argument
623 for (i = 0; i < offload->ipv6_count; i++) { in ath12k_wow_generate_ns_mc_addr()
624 offload->self_ipv6_addr[i][0] = 0xff; in ath12k_wow_generate_ns_mc_addr()
625 offload->self_ipv6_addr[i][1] = 0x02; in ath12k_wow_generate_ns_mc_addr()
626 offload->self_ipv6_addr[i][11] = 0x01; in ath12k_wow_generate_ns_mc_addr()
627 offload->self_ipv6_addr[i][12] = 0xff; in ath12k_wow_generate_ns_mc_addr()
628 offload->self_ipv6_addr[i][13] = in ath12k_wow_generate_ns_mc_addr()
629 offload->ipv6_addr[i][13]; in ath12k_wow_generate_ns_mc_addr()
630 offload->self_ipv6_addr[i][14] = in ath12k_wow_generate_ns_mc_addr()
631 offload->ipv6_addr[i][14]; in ath12k_wow_generate_ns_mc_addr()
[all …]
/linux/drivers/net/ethernet/netronome/
H A DKconfig33 bool "NFP4000/NFP6000 TC Flower offload support"
39 Enable driver support for TC Flower offload on NFP4000 and NFP6000.
40 Say Y, if you are planning to make use of TC Flower offload
42 TC Flower offload requires specific FW to work.
58 bool "NFP IPsec crypto offload support"
63 Enable driver support IPsec crypto offload on NFP NIC.
65 offload. NOTE that IPsec crypto offload on NFP NIC
/linux/drivers/net/can/usb/
H A Dnct6694_canfd.c135 struct can_rx_offload offload; member
146 static inline struct nct6694_canfd_priv *rx_offload_to_priv(struct can_rx_offload *offload) in rx_offload_to_priv() argument
148 return container_of(offload, struct nct6694_canfd_priv, offload); in rx_offload_to_priv()
175 static void nct6694_canfd_rx_offload(struct can_rx_offload *offload, in nct6694_canfd_rx_offload() argument
178 struct nct6694_canfd_priv *priv = rx_offload_to_priv(offload); in nct6694_canfd_rx_offload()
181 ret = can_rx_offload_queue_tail(offload, skb); in nct6694_canfd_rx_offload()
205 nct6694_canfd_rx_offload(&priv->offload, skb); in nct6694_canfd_handle_lost_msg()
265 nct6694_canfd_rx_offload(&priv->offload, skb); in nct6694_canfd_handle_rx()
308 nct6694_canfd_rx_offload(&priv->offload, skb); in nct6694_canfd_handle_state_change()
366 nct6694_canfd_rx_offload(&priv->offload, skb); in nct6694_canfd_handle_bus_err()
[all …]
/linux/drivers/net/ethernet/huawei/hinic3/
H A Dhinic3_tx.c399 u32 offload = 0; in hinic3_tx_offload() local
409 offload = HINIC3_TX_OFFLOAD_INVALID; in hinic3_tx_offload()
410 return offload; in hinic3_tx_offload()
412 offload |= HINIC3_TX_OFFLOAD_TSO; in hinic3_tx_offload()
416 offload |= HINIC3_TX_OFFLOAD_CSUM; in hinic3_tx_offload()
424 offload |= HINIC3_TX_OFFLOAD_VLAN; in hinic3_tx_offload()
429 offload = HINIC3_TX_OFFLOAD_INVALID; in hinic3_tx_offload()
430 return offload; in hinic3_tx_offload()
433 return offload; in hinic3_tx_offload()
449 u32 offload, u16 num_sge, u16 *curr_pi) in hinic3_set_wqe_combo() argument
[all …]
/linux/Documentation/sound/soc/
H A Dusb.rst77 The struct snd_soc_usb_device is created by the USB sound offload driver.
109 to be called by the USB offload driver residing in USB SND.
122 audio device removal. This is intended to be called by the USB offload
160 - ``dev``: USB device to look up offload path mapping
163 - ``direction``: direction to fetch offload routing information
165 - ``route``: mapping of sound card and pcm indexes for the offload path. This is
172 offload for the device. ``route`` may be a pointer to a kcontrol value output array,
264 parameters or settings to be accessed by the USB offload driver that
301 | --> Propagate connect event to USB offload driver in USB SND
320 In the case where the USB offload driver is unbound, while USB SND is ready,
[all …]
/linux/net/sched/
H A Dsch_taprio.c116 struct tc_taprio_qopt_offload offload; member
1379 __offload = kzalloc_flex(*__offload, offload.entries, num_entries); in taprio_offload_alloc()
1385 return &__offload->offload; in taprio_offload_alloc()
1389 *offload) in taprio_offload_get()
1393 __offload = container_of(offload, struct __tc_taprio_qopt_offload, in taprio_offload_get()
1394 offload); in taprio_offload_get()
1398 return offload; in taprio_offload_get()
1402 void taprio_offload_free(struct tc_taprio_qopt_offload *offload) in taprio_offload_free() argument
1406 __offload = container_of(offload, struct __tc_taprio_qopt_offload, in taprio_offload_free()
1407 offload); in taprio_offload_free()
[all …]
H A Dsch_htb.c182 bool offload; member
1011 if (cl->leaf.q && !q->offload) in htb_reset()
1059 bool offload; in htb_init() local
1084 offload = nla_get_flag(tb[TCA_HTB_OFFLOAD]); in htb_init()
1086 if (offload) { in htb_init()
1117 if (!offload) in htb_init()
1149 q->offload = true; in htb_init()
1198 if (q->offload) in htb_attach()
1210 if (q->offload) in htb_dump()
1232 if (q->offload && nla_put_flag(skb, TCA_HTB_OFFLOAD)) in htb_dump()
[all …]
/linux/drivers/net/can/
H A Dat91_can.c153 struct can_rx_offload offload; member
168 static inline struct at91_priv *rx_offload_to_priv(struct can_rx_offload *offload) in rx_offload_to_priv() argument
170 return container_of(offload, struct at91_priv, offload); in rx_offload_to_priv()
571 err = can_rx_offload_queue_timestamp(&priv->offload, skb, timestamp); in at91_rx_overflow_err()
585 static struct sk_buff *at91_mailbox_read(struct can_rx_offload *offload, in at91_mailbox_read() argument
589 const struct at91_priv *priv = rx_offload_to_priv(offload); in at91_mailbox_read()
603 skb = alloc_can_skb(offload->dev, &cf); in at91_mailbox_read()
632 at91_rx_overflow_err(offload->dev); in at91_mailbox_read()
748 err = can_rx_offload_queue_timestamp(&priv->offload, skb, timestamp); in at91_irq_err_line()
813 err = can_rx_offload_queue_timestamp(&priv->offload, skb, timestamp); in at91_irq_err_frame()
[all …]
H A Dbxcan.c167 struct can_rx_offload offload; member
356 struct bxcan_priv *rx_offload_to_priv(struct can_rx_offload *offload) in rx_offload_to_priv() argument
358 return container_of(offload, struct bxcan_priv, offload); in rx_offload_to_priv()
361 static struct sk_buff *bxcan_mailbox_read(struct can_rx_offload *offload, in bxcan_mailbox_read() argument
365 struct bxcan_priv *priv = rx_offload_to_priv(offload); in bxcan_mailbox_read()
381 skb = alloc_can_skb(offload->dev, &cf); in bxcan_mailbox_read()
423 can_rx_offload_irq_offload_fifo(&priv->offload); in bxcan_rx_isr()
424 can_rx_offload_irq_finish(&priv->offload); in bxcan_rx_isr()
510 err = can_rx_offload_queue_timestamp(&priv->offload, skb, in bxcan_handle_state_change()
595 err = can_rx_offload_queue_timestamp(&priv->offload, skb, in bxcan_handle_bus_err()
[all …]
/linux/Documentation/iio/
H A Dad7606.rst29 SPI offload wiring
31 When used with a SPI offload, the supported wiring configuration is:
51 to the SPI offload. The SPI offload will have ``trigger-sources`` property
55 .. seealso:: `SPI offload support`_
155 SPI offload support
159 `AXI SPI Engine`_ to provide SPI offload support.
163 When SPI offload is being used, some attributes will be different.
168 * Buffer data format may be different compared to when offload is not used,
/linux/Documentation/networking/
H A Dnf_flowtable.rst9 also provides hardware offload support. The flowtable supports for the layer 3
16 path, from the second packet on, you might decide to offload the flow to the
60 |-----| | 'flow offload' rule |
105 The 'flow offload' action from the forward chain 'y' adds an entry to the
183 Hardware offload
186 If your network device provides hardware offload support, you can turn it on by
187 means of the 'offload' flag in your flowtable definition, e.g.
194 flags offload;
200 a chance to offload the flow to the network device.
204 refers to the software offload mode, so there is a distinction between [OFFLOAD]
[all …]
/linux/net/tls/
H A DKconfig21 bool "Transport Layer Security HW offload"
28 Enable kernel support for HW offload of the TLS protocol.
37 Enable kernel support for legacy HW offload of the TLS protocol,
/linux/Documentation/crypto/
H A Dasync-tx-api.rst34 the details of different hardware offload engine implementations. Code
36 the API will fit the chain of operations to the available offload
42 The API was initially designed to offload the memory copy and
43 xor-parity-calculations of the md-raid5 driver using the offload engines
50 the platform they are running on has offload capabilities. The
96 resources, under control of the offload engine driver, to be reused as
100 acknowledged by the application before the offload engine driver is allowed to
131 context if the offload engine driver supports interrupts, or it is
260 offload engine channel management routines
262 location for offload engine drivers
[all …]
/linux/Documentation/scsi/
H A Dbnx2fc.rst6 Broadcom FCoE offload through bnx2fc is full stateful hardware offload that
12 Despite the fact that the Broadcom's FCoE offload is fully offloaded, it does
14 interface (e.g. eth0) associated with the FCoE offload initiator must be 'up'.
18 Furthermore, the Broadcom FCoE offload solution creates VLAN interfaces to
/linux/drivers/net/netdevsim/
H A Dbpf.c68 state = env->prog->aux->offload->dev_priv; in nsim_bpf_verify_insn()
99 state = prog->aux->offload->dev_priv; in nsim_prog_set_loaded()
147 if (prog && !prog->aux->offload && !ns->bpf_tc_non_bound_accept) { in nsim_bpf_setup_tc_block_cb()
251 prog->aux->offload->dev_priv = state; in nsim_bpf_create_prog()
259 bpf_offload_dev_priv(prog->aux->offload->offdev); in nsim_bpf_verifier_prep()
269 struct nsim_bpf_bound_prog *state = prog->aux->offload->dev_priv; in nsim_bpf_translate()
280 state = prog->aux->offload->dev_priv; in nsim_bpf_destroy_prog()
301 if (bpf->prog && bpf->prog->aux->offload) { in nsim_setup_prog_checks()
326 state = bpf->prog->aux->offload->dev_priv; in nsim_setup_prog_hw_checks()
/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Doffload.c197 prog->aux->offload->dev_priv = nfp_prog; in nfp_bpf_verifier_prep()
201 nfp_prog->bpf = bpf_offload_dev_priv(prog->aux->offload->offdev); in nfp_bpf_verifier_prep()
219 struct nfp_net *nn = netdev_priv(prog->aux->offload->netdev); in nfp_bpf_translate()
220 struct nfp_prog *nfp_prog = prog->aux->offload->dev_priv; in nfp_bpf_translate()
225 if (prog->aux->offload->opt_failed) in nfp_bpf_translate()
239 prog->aux->offload->jited_len = nfp_prog->prog_len * sizeof(u64); in nfp_bpf_translate()
240 prog->aux->offload->jited_image = nfp_prog->prog; in nfp_bpf_translate()
247 struct nfp_prog *nfp_prog = prog->aux->offload->dev_priv; in nfp_bpf_destroy()
498 struct nfp_prog *nfp_prog = prog->aux->offload->dev_priv; in nfp_net_bpf_load()
/linux/tools/testing/selftests/net/
H A Dnetdevice.sh137 ethtool --offload "$netdev" "$feature" off
145 ethtool --offload "$netdev" "$feature" on
154 ethtool --offload "$netdev" "$feature" "$VALUE"
/linux/drivers/scsi/bnx2fc/
H A DKconfig3 tristate "QLogic FCoE offload support"
13 This driver supports FCoE offload for the QLogic devices.

123456789