Home
last modified time | relevance | path

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

12345678

/kernel/linux/linux-5.10/drivers/net/can/dev/
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()
66 if (!skb_queue_empty(&offload->skb_queue)) in can_rx_offload_napi_poll()
67 napi_reschedule(&offload->napi); in can_rx_offload_napi_poll()
70 can_led_event(offload->dev, CAN_LED_EVENT_RX); in can_rx_offload_napi_poll()
[all …]
/kernel/linux/linux-5.10/kernel/bpf/
Doffload.c83 struct bpf_prog_offload *offload; in bpf_prog_offload_init() local
93 offload = kzalloc(sizeof(*offload), GFP_USER); in bpf_prog_offload_init()
94 if (!offload) in bpf_prog_offload_init()
97 offload->prog = prog; in bpf_prog_offload_init()
99 offload->netdev = dev_get_by_index(current->nsproxy->net_ns, in bpf_prog_offload_init()
101 err = bpf_dev_offload_check(offload->netdev); in bpf_prog_offload_init()
106 ondev = bpf_offload_find_netdev(offload->netdev); in bpf_prog_offload_init()
111 offload->offdev = ondev->offdev; in bpf_prog_offload_init()
112 prog->aux->offload = offload; in bpf_prog_offload_init()
113 list_add_tail(&offload->offloads, &ondev->progs); in bpf_prog_offload_init()
[all …]
/kernel/linux/linux-5.10/include/linux/can/
Drx-offload.h18 struct sk_buff *(*mailbox_read)(struct can_rx_offload *offload,
34 struct can_rx_offload *offload);
36 struct can_rx_offload *offload,
39 struct can_rx_offload *offload,
41 int can_rx_offload_irq_offload_timestamp(struct can_rx_offload *offload,
43 int can_rx_offload_irq_offload_fifo(struct can_rx_offload *offload);
44 int can_rx_offload_queue_sorted(struct can_rx_offload *offload,
46 unsigned int can_rx_offload_get_echo_skb(struct can_rx_offload *offload,
48 int can_rx_offload_queue_tail(struct can_rx_offload *offload,
50 void can_rx_offload_del(struct can_rx_offload *offload);
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
Ddc_helper.c39 struct dc_reg_helper_state *offload, in submit_dmub_read_modify_write() argument
42 struct dmub_rb_cmd_read_modify_write *cmd_buf = &offload->cmd_data.read_modify_write; in submit_dmub_read_modify_write()
45 offload->should_burst_write = in submit_dmub_read_modify_write()
46 (offload->same_addr_count == (DMUB_READ_MODIFY_WRITE_SEQ__MAX - 1)); in submit_dmub_read_modify_write()
48 sizeof(struct dmub_cmd_read_modify_write_sequence) * offload->reg_seq_count; in submit_dmub_read_modify_write()
53 dc_dmub_srv_cmd_queue(ctx->dmub_srv, &offload->cmd_data); in submit_dmub_read_modify_write()
59 offload->reg_seq_count = 0; in submit_dmub_read_modify_write()
60 offload->same_addr_count = 0; in submit_dmub_read_modify_write()
64 struct dc_reg_helper_state *offload, in submit_dmub_burst_write() argument
67 struct dmub_rb_cmd_burst_write *cmd_buf = &offload->cmd_data.burst_write; in submit_dmub_burst_write()
[all …]
/kernel/linux/linux-5.10/net/netfilter/
Dnf_flow_table_offload.c577 const struct flow_offload_work *offload, in nf_flow_offload_rule_alloc() argument
580 const struct nf_flowtable *flowtable = offload->flowtable; in nf_flow_offload_rule_alloc()
581 const struct flow_offload *flow = offload->flow; in nf_flow_offload_rule_alloc()
643 static int nf_flow_offload_alloc(const struct flow_offload_work *offload, in nf_flow_offload_alloc() argument
646 struct net *net = read_pnet(&offload->flowtable->net); in nf_flow_offload_alloc()
648 flow_rule[0] = nf_flow_offload_rule_alloc(net, offload, in nf_flow_offload_alloc()
653 flow_rule[1] = nf_flow_offload_rule_alloc(net, offload, in nf_flow_offload_alloc()
712 static int flow_offload_tuple_add(struct flow_offload_work *offload, in flow_offload_tuple_add() argument
716 return nf_flow_offload_tuple(offload->flowtable, offload->flow, in flow_offload_tuple_add()
717 flow_rule, dir, offload->priority, in flow_offload_tuple_add()
[all …]
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
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 …]
/kernel/linux/linux-5.10/Documentation/networking/
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
54 NETIF_F_HW_ESP_TX_CSUM will signal the availability of the offload.
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
[all …]
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
116 Before enabling any hardware segmentation offload a corresponding software
[all …]
Dtls-offload.rst4 Kernel TLS offload
10 Linux kernel provides TLS connection offload infrastructure. Once a TCP
24 * Packet-based NIC offload mode (``TLS_HW``) - the NIC handles crypto
28 (``ethtool`` flags ``tls-hw-tx-offload`` and ``tls-hw-rx-offload``).
29 * Full TCP NIC offload mode (``TLS_HW_RECORD``) - mode of operation where
36 offload opt-in or opt-out on per-connection basis is not currently supported.
48 for crypto offload based on the socket the packet is attached to,
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
[all …]
Dnf_flowtable.rst15 in both directions), then you can decide to offload the flow to the flowtable
16 from the forward chain via the 'flow offload' action available in nftables.
29 Flowtables are populated via the 'flow offload' nftables action, so the user can
57 |-----| | 'flow offload' rule |
88 ip protocol tcp flow offload @f
100 The 'flow offload' action from the forward chain 'y' adds an entry to the
Dswitchdev.rst14 model for switch devices which offload the forwarding (data) plane from the
153 router port, used to offload L3 forwarding. Two or more ports can be bonded
170 The idea is to offload the L2 data forwarding (switching) path from the kernel
215 command will label these entries "offload"::
219 00:02:00:00:02:00 dev sw1p1 master br0 offload
222 00:02:00:00:03:00 dev sw1p2 master br0 offload
353 Routes offloaded to the device are labeled with "offload" in the ip route
358 11.0.0.0/30 dev sw1p1 proto kernel scope link src 11.0.0.2 offload
359 11.0.0.4/30 via 11.0.0.1 dev sw1p1 proto zebra metric 20 offload
360 11.0.0.8/30 dev sw1p2 proto kernel scope link src 11.0.0.10 offload
[all …]
/kernel/linux/linux-5.10/drivers/net/can/
Dti_hecc.c189 struct can_rx_offload offload; member
533 struct ti_hecc_priv *rx_offload_to_priv(struct can_rx_offload *offload) in rx_offload_to_priv() argument
535 return container_of(offload, struct ti_hecc_priv, offload); in rx_offload_to_priv()
538 static struct sk_buff *ti_hecc_mailbox_read(struct can_rx_offload *offload, in ti_hecc_mailbox_read() argument
542 struct ti_hecc_priv *priv = rx_offload_to_priv(offload); in ti_hecc_mailbox_read()
554 skb = alloc_can_skb(offload->dev, &cf); in ti_hecc_mailbox_read()
636 err = can_rx_offload_queue_sorted(&priv->offload, skb, in ti_hecc_error()
671 err = can_rx_offload_queue_sorted(&priv->offload, skb, timestamp); in ti_hecc_change_state()
759 can_rx_offload_get_echo_skb(&priv->offload, in ti_hecc_interrupt()
775 can_rx_offload_irq_offload_timestamp(&priv->offload, in ti_hecc_interrupt()
[all …]
Dflexcan.c340 struct can_rx_offload offload; member
858 err = can_rx_offload_queue_sorted(&priv->offload, skb, timestamp); in flexcan_irq_bus_err()
905 err = can_rx_offload_queue_sorted(&priv->offload, skb, timestamp); in flexcan_irq_state()
940 static inline struct flexcan_priv *rx_offload_to_priv(struct can_rx_offload *offload) in rx_offload_to_priv() argument
942 return container_of(offload, struct flexcan_priv, offload); in rx_offload_to_priv()
945 static struct sk_buff *flexcan_mailbox_read(struct can_rx_offload *offload, in flexcan_mailbox_read() argument
949 struct flexcan_priv *priv = rx_offload_to_priv(offload); in flexcan_mailbox_read()
974 offload->dev->stats.rx_over_errors++; in flexcan_mailbox_read()
975 offload->dev->stats.rx_errors++; in flexcan_mailbox_read()
991 skb = alloc_canfd_skb(offload->dev, &cfd); in flexcan_mailbox_read()
[all …]
/kernel/linux/linux-5.10/net/tls/
DKconfig21 bool "Transport Layer Security HW offload"
26 Enable kernel support for HW offload of the TLS protocol.
35 Enable kernel support for legacy HW offload of the TLS protocol,
/kernel/linux/linux-5.10/net/sched/
Dsch_taprio.c87 struct tc_taprio_qopt_offload offload; member
1131 __offload = kzalloc(struct_size(__offload, offload.entries, num_entries), in taprio_offload_alloc()
1138 return &__offload->offload; in taprio_offload_alloc()
1142 *offload) in taprio_offload_get()
1146 __offload = container_of(offload, struct __tc_taprio_qopt_offload, in taprio_offload_get()
1147 offload); in taprio_offload_get()
1151 return offload; in taprio_offload_get()
1155 void taprio_offload_free(struct tc_taprio_qopt_offload *offload) in taprio_offload_free() argument
1159 __offload = container_of(offload, struct __tc_taprio_qopt_offload, in taprio_offload_free()
1160 offload); in taprio_offload_free()
[all …]
Dsch_cbs.c70 bool offload; member
256 if (!q->offload) in cbs_disable_offload()
381 if (!qopt->offload) { in cbs_change()
395 q->offload = qopt->offload; in cbs_change()
465 opt.offload = q->offload; in cbs_dump()
/kernel/linux/linux-5.10/drivers/net/netdevsim/
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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/
DKconfig32 bool "NFP4000/NFP6000 TC Flower offload support"
38 Enable driver support for TC Flower offload on NFP4000 and NFP6000.
39 Say Y, if you are planning to make use of TC Flower offload
41 TC Flower offload requires specific FW to work.
/kernel/linux/linux-5.10/Documentation/scsi/
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
/kernel/linux/linux-5.10/Documentation/crypto/
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 …]
/kernel/linux/linux-5.10/drivers/scsi/bnx2fc/
DKconfig3 tristate "QLogic FCoE offload support"
14 This driver supports FCoE offload for the QLogic devices.
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/
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()
/kernel/linux/linux-5.10/drivers/crypto/ccp/
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.
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dqcom,q6asm.txt39 Usage: Required for Compress offload dais
47 Usage: Required for Compress offload dais
49 Definition: present for Compress offload dais
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/crypto/
Dpicochip-spacc.txt3 Picochip picoXcell devices contain crypto offload engines that may be used for
7 - compatible : "picochip,spacc-ipsec" for the IPSEC offload engine

12345678