Home
last modified time | relevance | path

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

12345678910

/linux-6.3-rc2/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()
153 skb = offload->mailbox_read(offload, n, &timestamp, drop); in can_rx_offload_offload_one()
182 can_rx_offload_le(offload, i, offload->mb_last); in can_rx_offload_irq_offload_timestamp()
291 skb_queue_splice_tail_init(&offload->skb_irq_queue, &offload->skb_queue); in can_rx_offload_irq_finish()
312 skb_queue_splice_tail_init(&offload->skb_irq_queue, &offload->skb_queue); in can_rx_offload_threaded_irq_finish()
330 offload->dev = dev; in can_rx_offload_init_queue()
353 offload->mb_last > BITS_PER_LONG_LONG || !offload->mailbox_read) in can_rx_offload_add_timestamp()
356 if (offload->mb_first < offload->mb_last) { in can_rx_offload_add_timestamp()
358 weight = offload->mb_last - offload->mb_first; in can_rx_offload_add_timestamp()
[all …]
/linux-6.3-rc2/kernel/bpf/
A Doffload.c109 struct bpf_prog_offload *offload = prog->aux->offload; in __bpf_prog_offload_destroy() local
193 offload = kzalloc(sizeof(*offload), GFP_USER); in __bpf_prog_dev_bound_init()
216 prog->aux->offload = offload; in __bpf_prog_dev_bound_init()
292 offload = prog->aux->offload; in bpf_prog_offload_verifier_prep()
309 offload = env->prog->aux->offload; in bpf_prog_offload_verify_insn()
324 offload = env->prog->aux->offload; in bpf_prog_offload_finalize()
345 offload = env->prog->aux->offload; in bpf_prog_offload_replace_insn()
362 offload = env->prog->aux->offload; in bpf_prog_offload_remove_insns()
398 offload = prog->aux->offload; in bpf_prog_offload_translate()
687 offload = prog->aux->offload; in __bpf_offload_dev_match()
[all …]
/linux-6.3-rc2/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_timestamp(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-6.3-rc2/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()
678 if (offload && offload->gather_in_progress) { in reg_sequence_start_execute()
[all …]
/linux-6.3-rc2/net/netfilter/
A Dnf_flow_table_offload.c875 return nf_flow_offload_tuple(offload->flowtable, offload->flow, in flow_offload_tuple_add()
885 nf_flow_offload_tuple(offload->flowtable, offload->flow, NULL, dir, in flow_offload_tuple_del()
939 nf_flow_offload_tuple(offload->flowtable, offload->flow, NULL, dir, in flow_offload_tuple_stats()
956 offload->flow->timeout = max_t(u64, offload->flow->timeout, in flow_offload_work_stats()
996 kfree(offload); in flow_offload_work_handler()
1025 if (!offload) { in nf_flow_offload_work_alloc()
1030 offload->cmd = cmd; in nf_flow_offload_work_alloc()
1035 return offload; in nf_flow_offload_work_alloc()
1045 if (!offload) in nf_flow_offload_add()
1057 if (!offload) in nf_flow_offload_del()
[all …]
/linux-6.3-rc2/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-6.3-rc2/Documentation/networking/
A Dxfrm_device.rst20 hardware offload.
23 * IPsec crypto offload:
26 * IPsec packet offload:
36 like this for crypto offload:
42 offload dev eth4 dir in
44 and for packet offload
50 offload packet dev eth4 dir in
82 relevant to supported offload to make the offload available to the network
125 the skb and the intended offload state to ask the driver if the offload
130 Crypto offload mode:
[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-6.3-rc2/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.
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-6.3-rc2/drivers/net/can/
A Dti_hecc.c180 struct can_rx_offload offload; member
526 return container_of(offload, struct ti_hecc_priv, offload); in rx_offload_to_priv()
545 skb = alloc_can_skb(offload->dev, &cf); in ti_hecc_mailbox_read()
751 can_rx_offload_get_echo_skb(&priv->offload, in ti_hecc_interrupt()
780 can_rx_offload_irq_finish(&priv->offload); in ti_hecc_interrupt()
809 can_rx_offload_enable(&priv->offload); in ti_hecc_open()
820 can_rx_offload_disable(&priv->offload); in ti_hecc_close()
935 priv->offload.mb_first = HECC_RX_FIRST_MBOX; in ti_hecc_probe()
936 priv->offload.mb_last = HECC_RX_LAST_MBOX; in ti_hecc_probe()
955 can_rx_offload_del(&priv->offload); in ti_hecc_probe()
[all …]
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/net/sched/
A Dsch_taprio.c1358 return &__offload->offload; in taprio_offload_alloc()
1362 *offload) in taprio_offload_get()
1367 offload); in taprio_offload_get()
1371 return offload; in taprio_offload_get()
1380 offload); in taprio_offload_free()
1456 offload->num_entries = i; in taprio_sched_to_offload()
1517 if (!offload) { in taprio_enable_offload()
1522 offload->enable = 1; in taprio_enable_offload()
1539 taprio_offload_free(offload); in taprio_enable_offload()
1556 if (!offload) { in taprio_disable_offload()
[all …]
A Dsch_htb.c183 bool offload; member
1064 bool offload; in htb_init() local
1091 if (offload) { in htb_init()
1123 if (!offload) in htb_init()
1205 if (q->offload) in htb_attach()
1217 if (q->offload) in htb_dump()
1377 if (!q->offload) in htb_select_queue()
1461 if (q->offload) in htb_graft()
1531 if (q->offload) in htb_parent_to_leaf()
1729 if (q->offload) in htb_delete()
[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-6.3-rc2/include/net/
A Dpkt_sched.h211 *offload);
212 void taprio_offload_free(struct tc_taprio_qopt_offload *offload);
218 taprio_offload_get(struct tc_taprio_qopt_offload *offload) in taprio_offload_get() argument
223 static inline void taprio_offload_free(struct tc_taprio_qopt_offload *offload) in taprio_offload_free() argument
/linux-6.3-rc2/drivers/scsi/bnx2fc/
A DKconfig3 tristate "QLogic FCoE offload support"
14 This driver supports FCoE offload for the QLogic devices.
/linux-6.3-rc2/drivers/net/can/flexcan/
A Dflexcan-core.c949 return container_of(offload, struct flexcan_priv, offload); in rx_offload_to_priv()
981 offload->dev->stats.rx_over_errors++; in flexcan_mailbox_read()
982 offload->dev->stats.rx_errors++; in flexcan_mailbox_read()
998 skb = alloc_canfd_skb(offload->dev, &cfd); in flexcan_mailbox_read()
1394 priv->offload.mb_first); in flexcan_rx_offload_setup()
1580 for (i = priv->offload.mb_first; i <= priv->offload.mb_last; i++) { in flexcan_chip_start()
1739 can_rx_offload_enable(&priv->offload); in flexcan_open()
1768 can_rx_offload_disable(&priv->offload); in flexcan_open()
1771 can_rx_offload_del(&priv->offload); in flexcan_open()
1795 can_rx_offload_disable(&priv->offload); in flexcan_close()
[all …]
/linux-6.3-rc2/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-6.3-rc2/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.

Completed in 61 milliseconds

12345678910