Home
last modified time | relevance | path

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

123456789

/linux/drivers/net/can/dev/
A Drx-offload.c27 if (offload->inc) in can_rx_offload_le()
36 if (offload->inc) in can_rx_offload_inc()
152 skb = offload->mailbox_read(offload, n, &timestamp, drop); in can_rx_offload_offload_one()
181 can_rx_offload_le(offload, i, offload->mb_last); in can_rx_offload_irq_offload_timestamp()
290 skb_queue_splice_tail_init(&offload->skb_irq_queue, &offload->skb_queue); in can_rx_offload_irq_finish()
311 skb_queue_splice_tail_init(&offload->skb_irq_queue, &offload->skb_queue); in can_rx_offload_threaded_irq_finish()
329 offload->dev = dev; in can_rx_offload_init_queue()
351 offload->mb_last > BITS_PER_LONG_LONG || !offload->mailbox_read) in can_rx_offload_add_timestamp()
354 if (offload->mb_first < offload->mb_last) { in can_rx_offload_add_timestamp()
356 weight = offload->mb_last - offload->mb_first; in can_rx_offload_add_timestamp()
[all …]
/linux/kernel/bpf/
A Doffload.c93 offload = kzalloc(sizeof(*offload), GFP_USER); in bpf_prog_offload_init()
112 prog->aux->offload = offload; in bpf_prog_offload_init()
133 offload = prog->aux->offload; in bpf_prog_offload_verifier_prep()
150 offload = env->prog->aux->offload; in bpf_prog_offload_verify_insn()
151 if (offload) in bpf_prog_offload_verify_insn()
165 offload = env->prog->aux->offload; in bpf_prog_offload_finalize()
186 offload = env->prog->aux->offload; in bpf_prog_offload_replace_insn()
203 offload = env->prog->aux->offload; in bpf_prog_offload_remove_insns()
214 struct bpf_prog_offload *offload = prog->aux->offload; in __bpf_prog_offload_destroy() local
241 offload = prog->aux->offload; in bpf_prog_offload_translate()
[all …]
/linux/include/linux/can/
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,
44 int can_rx_offload_irq_offload_fifo(struct can_rx_offload *offload);
45 int can_rx_offload_queue_sorted(struct can_rx_offload *offload,
50 int can_rx_offload_queue_tail(struct can_rx_offload *offload,
52 void can_rx_offload_irq_finish(struct can_rx_offload *offload);
54 void can_rx_offload_del(struct can_rx_offload *offload);
55 void can_rx_offload_enable(struct can_rx_offload *offload);
[all …]
/linux/drivers/gpu/drm/amd/display/dc/
A Ddc_helper.c46 offload->should_burst_write = in submit_dmub_read_modify_write()
60 offload->reg_seq_count = 0; in submit_dmub_read_modify_write()
61 offload->same_addr_count = 0; in submit_dmub_read_modify_write()
83 offload->reg_seq_count = 0; in submit_dmub_burst_write()
99 offload->reg_seq_count = 0; in submit_dmub_reg_wait()
185 offload->reg_seq_count++; in dmub_reg_value_burst_set_pack()
214 if (offload->reg_seq_count) { in dmub_reg_value_pack()
216 offload->same_addr_count++; in dmub_reg_value_pack()
224 offload->reg_seq_count++; in dmub_reg_value_pack()
618 if (offload && offload->gather_in_progress) { in reg_sequence_start_execute()
[all …]
/linux/net/netfilter/
A Dnf_flow_table_offload.c864 return nf_flow_offload_tuple(offload->flowtable, offload->flow, in flow_offload_tuple_add()
873 nf_flow_offload_tuple(offload->flowtable, offload->flow, NULL, dir, in flow_offload_tuple_del()
924 nf_flow_offload_tuple(offload->flowtable, offload->flow, NULL, dir, in flow_offload_tuple_stats()
938 offload->flow->timeout = max_t(u64, offload->flow->timeout, in flow_offload_work_stats()
973 kfree(offload); in flow_offload_work_handler()
996 if (!offload) { in nf_flow_offload_work_alloc()
1001 offload->cmd = cmd; in nf_flow_offload_work_alloc()
1007 return offload; in nf_flow_offload_work_alloc()
1017 if (!offload) in nf_flow_offload_add()
1029 if (!offload) in nf_flow_offload_del()
[all …]
/linux/drivers/net/dsa/sja1105/
A Dsja1105_tas.c33 offload = tas_data->offload[port]; in sja1105_tas_set_runtime_params()
34 if (!offload) in sja1105_tas_set_runtime_params()
212 if (tas_data->offload[port]) { in sja1105_init_scheduling()
278 offload = tas_data->offload[port]; in sja1105_init_scheduling()
279 if (!offload) in sja1105_init_scheduling()
289 offload->cycle_time, in sja1105_init_scheduling()
396 offload = tas_data->offload[port]; in sja1105_tas_check_conflicts()
397 if (!offload) in sja1105_tas_check_conflicts()
413 div_s64_rem(offload->base_time, offload->cycle_time, &rem); in sja1105_tas_check_conflicts()
891 offload = priv->tas_data.offload[port]; in sja1105_tas_teardown()
[all …]
/linux/Documentation/networking/
A Dxfrm_device.rst16 Luckily, there are NICs that offer a hardware based IPsec offload which
19 hardware offload.
21 Userland access to the offload is typically through a system such as
30 offload dev eth4 dir in
51 The NIC driver offering ipsec offload will need to implement these
52 callbacks to make the offload available to the network stack's
71 When new SAs are set up with a request for "offload" feature, the
77 - enable the HW offload of the SA
82 -EOPNETSUPP offload not supported, try SW IPsec
94 the skb and the intended offload state to ask the driver if the offload
[all …]
A Dtls-offload.rst4 Kernel TLS offload
28 (``ethtool`` flags ``tls-hw-tx-offload`` and ``tls-hw-rx-offload``).
63 .. kernel-figure:: tls-offload-layers.svg
64 :alt: TLS offload layers
82 network device is offload-capable and attempts the offload. In case offload
84 as if the offload was never tried.
268 .. kernel-figure:: tls-offload-reorder-good.svg
293 .. kernel-figure:: tls-offload-reorder-bad.svg
511 of the simplifying TLS offload.
514 necessary for TLS offload.
[all …]
A Dsegmentation-offloads.rst12 to take advantage of segmentation offload capabilities of various NICs.
34 offload. For this reason TSO is normally disabled if the Tx checksum
35 offload for a given device is disabled.
37 In order to support TCP segmentation offload it is necessary to populate
55 UDP fragmentation offload allows a device to fragment an oversized UDP
57 fragmentation offload are the same as TSO. However the IPv4 ID for
70 for such instances an additional set of segmentation offload types were
102 header has requested a remote checksum offload. In this case the inner
110 Generic segmentation offload is a pure software offload that is meant to
124 Generic receive offload is the complement to GSO. Ideally any frame
[all …]
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
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.
206 to the hardware offload datapath being used by the flow.
208 The flowtable hardware offload infrastructure also supports for the DSA
[all …]
A Dvxlan.rst68 ability to perform TCP segmentation offload of UDP encapsulated frames
70 - `rx-udp_tunnel-port-offload`
72 perform protocol-aware offloads, like checksum validation offload of
75 For devices supporting `rx-udp_tunnel-port-offload` the list of currently
/linux/drivers/net/can/
A Dti_hecc.c189 struct can_rx_offload offload; member
535 return container_of(offload, struct ti_hecc_priv, offload); in rx_offload_to_priv()
554 skb = alloc_can_skb(offload->dev, &cf); in ti_hecc_mailbox_read()
759 can_rx_offload_get_echo_skb(&priv->offload, in ti_hecc_interrupt()
789 can_rx_offload_irq_finish(&priv->offload); in ti_hecc_interrupt()
820 can_rx_offload_enable(&priv->offload); in ti_hecc_open()
831 can_rx_offload_disable(&priv->offload); in ti_hecc_close()
945 priv->offload.mb_first = HECC_RX_FIRST_MBOX; in ti_hecc_probe()
946 priv->offload.mb_last = HECC_RX_LAST_MBOX; in ti_hecc_probe()
967 can_rx_offload_del(&priv->offload); in ti_hecc_probe()
[all …]
A Dflexcan.c354 struct can_rx_offload offload; member
1003 return container_of(offload, struct flexcan_priv, offload); in rx_offload_to_priv()
1040 offload->dev->stats.rx_over_errors++; in flexcan_mailbox_read()
1041 offload->dev->stats.rx_errors++; in flexcan_mailbox_read()
1449 priv->offload.mb_first); in flexcan_rx_offload_setup()
1635 for (i = priv->offload.mb_first; i <= priv->offload.mb_last; i++) { in flexcan_chip_start()
1796 can_rx_offload_enable(&priv->offload); in flexcan_open()
1827 can_rx_offload_disable(&priv->offload); in flexcan_open()
1830 can_rx_offload_del(&priv->offload); in flexcan_open()
1854 can_rx_offload_disable(&priv->offload); in flexcan_close()
[all …]
/linux/net/sched/
A Dsch_taprio.c1147 return &__offload->offload; in taprio_offload_alloc()
1151 *offload) in taprio_offload_get()
1156 offload); in taprio_offload_get()
1160 return offload; in taprio_offload_get()
1169 offload); in taprio_offload_free()
1246 offload->num_entries = i; in taprio_sched_to_offload()
1265 if (!offload) { in taprio_enable_offload()
1270 offload->enable = 1; in taprio_enable_offload()
1281 taprio_offload_free(offload); in taprio_enable_offload()
1301 if (!offload) { in taprio_disable_offload()
[all …]
A Dsch_htb.c183 bool offload; member
1059 bool offload; in htb_init() local
1086 if (offload) { in htb_init()
1120 if (!offload) in htb_init()
1219 if (q->offload) in htb_attach()
1231 if (q->offload) in htb_dump()
1391 if (!q->offload) in htb_select_queue()
1475 if (q->offload) in htb_graft()
1545 if (q->offload) in htb_parent_to_leaf()
1695 if (!q->offload) in htb_destroy()
[all …]
A Dsch_cbs.c71 bool offload; member
257 if (!q->offload) in cbs_disable_offload()
382 if (!qopt->offload) { in cbs_change()
396 q->offload = qopt->offload; in cbs_change()
466 opt.offload = q->offload; in cbs_dump()
/linux/drivers/net/netdevsim/
A Dbpf.c68 state = env->prog->aux->offload->dev_priv; in nsim_bpf_verify_insn()
96 if (!prog || !prog->aux->offload) in nsim_prog_set_loaded()
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()
249 prog->aux->offload->dev_priv = state; in nsim_bpf_create_prog()
257 bpf_offload_dev_priv(prog->aux->offload->offdev); in nsim_bpf_verifier_prep()
267 struct nsim_bpf_bound_prog *state = prog->aux->offload->dev_priv; in nsim_bpf_translate()
277 state = prog->aux->offload->dev_priv; in nsim_bpf_destroy_prog()
295 if (bpf->prog && bpf->prog->aux->offload) { in nsim_setup_prog_checks()
314 if (!bpf->prog->aux->offload) { in nsim_setup_prog_hw_checks()
[all …]
/linux/Documentation/crypto/
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
131 context if the offload engine driver supports interrupts, or it is
260 offload engine channel management routines
262 location for offload engine drivers
268 copy offload
[all …]
/linux/net/tls/
A DKconfig21 bool "Transport Layer Security HW offload"
27 Enable kernel support for HW offload of the TLS protocol.
36 Enable kernel support for legacy HW offload of the TLS protocol,
/linux/Documentation/scsi/
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/ethernet/netronome/
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.
/linux/drivers/net/ethernet/netronome/nfp/bpf/
A Doffload.c199 prog->aux->offload->dev_priv = nfp_prog; in nfp_bpf_verifier_prep()
203 nfp_prog->bpf = bpf_offload_dev_priv(prog->aux->offload->offdev); in nfp_bpf_verifier_prep()
221 struct nfp_net *nn = netdev_priv(prog->aux->offload->netdev); in nfp_bpf_translate()
222 struct nfp_prog *nfp_prog = prog->aux->offload->dev_priv; in nfp_bpf_translate()
227 if (prog->aux->offload->opt_failed) in nfp_bpf_translate()
241 prog->aux->offload->jited_len = nfp_prog->prog_len * sizeof(u64); in nfp_bpf_translate()
242 prog->aux->offload->jited_image = nfp_prog->prog; in nfp_bpf_translate()
249 struct nfp_prog *nfp_prog = prog->aux->offload->dev_priv; in nfp_bpf_destroy()
499 struct nfp_prog *nfp_prog = prog->aux->offload->dev_priv; in nfp_net_bpf_load()
/linux/drivers/scsi/bnx2fc/
A DKconfig3 tristate "QLogic FCoE offload support"
14 This driver supports FCoE offload for the QLogic devices.
/linux/drivers/crypto/ccp/
A DKconfig20 which can be used to offload encryption operations such as SHA, AES
24 tristate "Encryption and hashing offload support"
35 Coprocessor. This module supports offload of SHA and AES algorithms.
/linux/Documentation/devicetree/bindings/sound/
A Dqcom,q6asm.txt39 Usage: Required for Compress offload dais
47 Usage: Required for Compress offload dais
49 Definition: present for Compress offload dais

Completed in 59 milliseconds

123456789