| /linux-6.15/drivers/net/can/dev/ |
| H A D | rx-offload.c | 27 if (offload->inc) in can_rx_offload_le() 36 if (offload->inc) in can_rx_offload_inc() 153 skb = offload->mailbox_read(offload, n, ×tamp, drop); in can_rx_offload_offload_one() 182 can_rx_offload_le(offload, i, offload->mb_last); in can_rx_offload_irq_offload_timestamp() 317 skb_queue_splice_tail_init(&offload->skb_irq_queue, &offload->skb_queue); in can_rx_offload_irq_finish() 338 skb_queue_splice_tail_init(&offload->skb_irq_queue, &offload->skb_queue); in can_rx_offload_threaded_irq_finish() 356 offload->dev = dev; in can_rx_offload_init_queue() 379 offload->mb_last > BITS_PER_LONG_LONG || !offload->mailbox_read) in can_rx_offload_add_timestamp() 382 if (offload->mb_first < offload->mb_last) { in can_rx_offload_add_timestamp() 384 weight = offload->mb_last - offload->mb_first; in can_rx_offload_add_timestamp() [all …]
|
| /linux-6.15/kernel/bpf/ |
| H A D | offload.c | 111 struct bpf_prog_offload *offload = prog->aux->offload; in __bpf_prog_offload_destroy() local 195 offload = kzalloc(sizeof(*offload), GFP_USER); in __bpf_prog_dev_bound_init() 220 prog->aux->offload = offload; in __bpf_prog_dev_bound_init() 303 offload = prog->aux->offload; in bpf_prog_offload_verifier_prep() 320 offload = env->prog->aux->offload; in bpf_prog_offload_verify_insn() 335 offload = env->prog->aux->offload; in bpf_prog_offload_finalize() 356 offload = env->prog->aux->offload; in bpf_prog_offload_replace_insn() 373 offload = env->prog->aux->offload; in bpf_prog_offload_remove_insns() 409 offload = prog->aux->offload; in bpf_prog_offload_translate() 708 offload = prog->aux->offload; in __bpf_offload_dev_match() [all …]
|
| /linux-6.15/drivers/spi/ |
| H A D | spi-offload.c | 71 offload = devm_kzalloc(dev, sizeof(*offload), GFP_KERNEL); in devm_spi_offload_alloc() 72 if (!offload) in devm_spi_offload_alloc() 82 return offload; in devm_spi_offload_alloc() 131 resource->offload = offload; in devm_spi_offload_get() 294 if (offload->ops && offload->ops->trigger_enable) { in spi_offload_trigger_enable() 295 ret = offload->ops->trigger_enable(offload); in spi_offload_trigger_enable() 304 offload->ops->trigger_disable(offload); in spi_offload_trigger_enable() 326 if (offload->ops && offload->ops->trigger_disable) in spi_offload_trigger_disable() 327 offload->ops->trigger_disable(offload); in spi_offload_trigger_disable() 364 chan = offload->ops->tx_stream_request_dma_chan(offload); in devm_spi_offload_tx_stream_request_dma_chan() [all …]
|
| H A D | spi-axi-spi-engine.c | 160 struct spi_offload *offload; member 271 if (msg->offload && xfer->rx_buf) in spi_engine_precompile_message() 687 if (msg->offload) { in spi_engine_optimize_message() 701 if (msg->offload) in spi_engine_unoptimize_message() 717 if (!spi_engine->offload) in spi_engine_get_offload() 723 priv = spi_engine->offload->priv; in spi_engine_get_offload() 728 return spi_engine->offload; in spi_engine_get_offload() 770 if (msg->offload) { in spi_engine_transfer_one_message() 926 spi_engine->offload = in spi_engine_probe() 929 if (IS_ERR(spi_engine->offload)) in spi_engine_probe() [all …]
|
| /linux-6.15/include/linux/can/ |
| H A D | rx-offload.h | 18 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, 55 void can_rx_offload_irq_finish(struct can_rx_offload *offload); 57 void can_rx_offload_del(struct can_rx_offload *offload); 58 void can_rx_offload_enable(struct can_rx_offload *offload); [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/ |
| H A D | dc_helper.c | 48 offload->should_burst_write = in submit_dmub_read_modify_write() 57 offload->reg_seq_count = 0; in submit_dmub_read_modify_write() 58 offload->same_addr_count = 0; in submit_dmub_read_modify_write() 74 offload->reg_seq_count = 0; in submit_dmub_burst_write() 86 offload->reg_seq_count = 0; in submit_dmub_reg_wait() 163 offload->reg_seq_count++; in dmub_reg_value_burst_set_pack() 192 if (offload->reg_seq_count) { in dmub_reg_value_pack() 194 offload->same_addr_count++; in dmub_reg_value_pack() 202 offload->reg_seq_count++; in dmub_reg_value_pack() 653 if (offload && offload->gather_in_progress) { in reg_sequence_start_execute() [all …]
|
| /linux-6.15/tools/testing/selftests/drivers/net/netdevsim/ |
| H A D | macsec-offload.sh | 26 ip link add link $NSIM_NETDEV "${MACSEC_NETDEV}" type macsec port 4 offload mac 52 ip link set "${MACSEC_NETDEV}" type macsec offload off 2> /dev/null 55 ip macsec offload "${MACSEC_NETDEV}" off 2> /dev/null 59 ip link set "${MACSEC_NETDEV}2" type macsec offload off 62 ip link set "${MACSEC_NETDEV}2" type macsec offload mac 66 ip macsec offload "${MACSEC_NETDEV}2" off 69 ip macsec offload "${MACSEC_NETDEV}2" mac 82 ip link add link $NSIM_NETDEV $MACSEC_NETDEV type macsec offload mac 85 ip link set $MACSEC_NETDEV type macsec offload off 88 ip link set $MACSEC_NETDEV type macsec offload mac [all …]
|
| /linux-6.15/net/netfilter/ |
| H A D | nf_flow_table_offload.c | 875 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.15/drivers/net/dsa/sja1105/ |
| H A D | sja1105_tas.c | 33 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() 894 offload = priv->tas_data.offload[port]; in sja1105_tas_teardown() [all …]
|
| /linux-6.15/Documentation/networking/ |
| H A D | xfrm_device.rst | 21 hardware offload. 24 * IPsec crypto offload: 27 * IPsec packet offload: 37 like this for crypto offload: 43 offload dev eth4 dir in 45 and for packet offload 51 offload packet dev eth4 dir in 83 relevant to supported offload to make the offload available to the network 126 the skb and the intended offload state to ask the driver if the offload 132 Crypto offload mode: [all …]
|
| H A D | tls-offload.rst | 4 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. 269 .. kernel-figure:: tls-offload-reorder-good.svg 294 .. kernel-figure:: tls-offload-reorder-bad.svg 501 Coexistence with standard networking offload features 515 necessary for TLS offload. [all …]
|
| H A D | segmentation-offloads.rst | 12 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 …]
|
| H A D | nf_flowtable.rst | 9 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 …]
|
| /linux-6.15/drivers/net/wireless/ath/ath12k/ |
| H A D | wow.c | 618 offload->self_ipv6_addr[i][13] = in ath12k_wow_generate_ns_mc_addr() 619 offload->ipv6_addr[i][13]; in ath12k_wow_generate_ns_mc_addr() 620 offload->self_ipv6_addr[i][14] = in ath12k_wow_generate_ns_mc_addr() 621 offload->ipv6_addr[i][14]; in ath12k_wow_generate_ns_mc_addr() 623 offload->ipv6_addr[i][15]; in ath12k_wow_generate_ns_mc_addr() 709 offload->ipv6_count = count; in ath12k_wow_prepare_ns_offload() 725 offload->ipv4_count = ipv4_cnt; in ath12k_wow_prepare_arp_offload() 741 offload = kmalloc(sizeof(*offload), GFP_KERNEL); in ath12k_wow_arp_ns_offload() 742 if (!offload) in ath12k_wow_arp_ns_offload() 751 memset(offload, 0, sizeof(*offload)); in ath12k_wow_arp_ns_offload() [all …]
|
| /linux-6.15/include/linux/spi/offload/ |
| H A D | consumer.h | 24 struct spi_offload *offload, 28 int spi_offload_trigger_enable(struct spi_offload *offload, 31 void spi_offload_trigger_disable(struct spi_offload *offload, 35 struct spi_offload *offload); 37 struct spi_offload *offload);
|
| H A D | types.h | 80 int (*trigger_enable)(struct spi_offload *offload); 85 void (*trigger_disable)(struct spi_offload *offload); 91 struct dma_chan *(*tx_stream_request_dma_chan)(struct spi_offload *offload); 97 struct dma_chan *(*rx_stream_request_dma_chan)(struct spi_offload *offload);
|
| /linux-6.15/drivers/net/ethernet/netronome/ |
| H A D | Kconfig | 33 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.15/net/sched/ |
| H A D | sch_taprio.c | 1372 *offload) in taprio_offload_get() 1377 offload); in taprio_offload_get() 1381 return offload; in taprio_offload_get() 1390 offload); in taprio_offload_free() 1466 offload->num_entries = i; in taprio_sched_to_offload() 1527 if (!offload) { in taprio_enable_offload() 1533 offload->extack = extack; in taprio_enable_offload() 1556 offload->extack = NULL; in taprio_enable_offload() 1575 if (!offload) { in taprio_disable_offload() 2364 return taprio_dump_xstats(sch, d, &offload, &offload.stats); in taprio_dump_stats() [all …]
|
| /linux-6.15/drivers/net/can/ |
| H A D | ti_hecc.c | 179 struct can_rx_offload offload; member 525 return container_of(offload, struct ti_hecc_priv, offload); in rx_offload_to_priv() 544 skb = alloc_can_skb(offload->dev, &cf); in ti_hecc_mailbox_read() 779 can_rx_offload_irq_finish(&priv->offload); in ti_hecc_interrupt() 808 can_rx_offload_enable(&priv->offload); in ti_hecc_open() 819 can_rx_offload_disable(&priv->offload); in ti_hecc_close() 933 priv->offload.mailbox_read = ti_hecc_mailbox_read; in ti_hecc_probe() 934 priv->offload.mb_first = HECC_RX_FIRST_MBOX; in ti_hecc_probe() 935 priv->offload.mb_last = HECC_RX_LAST_MBOX; in ti_hecc_probe() 954 can_rx_offload_del(&priv->offload); in ti_hecc_probe() [all …]
|
| H A D | at91_can.c | 153 struct can_rx_offload offload; member 170 return container_of(offload, struct at91_priv, offload); in rx_offload_to_priv() 603 skb = alloc_can_skb(offload->dev, &cf); in at91_mailbox_read() 632 at91_rx_overflow_err(offload->dev); in at91_mailbox_read() 867 can_rx_offload_irq_finish(&priv->offload); in at91_irq() 898 can_rx_offload_enable(&priv->offload); in at91_open() 920 can_rx_offload_disable(&priv->offload); in at91_close() 1123 priv->offload.mailbox_read = at91_mailbox_read; in at91_can_probe() 1124 priv->offload.mb_first = devtype_data->rx_first; in at91_can_probe() 1125 priv->offload.mb_last = devtype_data->rx_last; in at91_can_probe() [all …]
|
| H A D | bxcan.c | 167 struct can_rx_offload offload; member 358 return container_of(offload, struct bxcan_priv, offload); in rx_offload_to_priv() 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() 621 can_rx_offload_irq_finish(&priv->offload); in bxcan_state_change_isr() 757 can_rx_offload_enable(&priv->offload); in bxcan_open() 796 can_rx_offload_disable(&priv->offload); in bxcan_open() 828 can_rx_offload_disable(&priv->offload); in bxcan_stop() 1029 can_rx_offload_del(&priv->offload); in bxcan_probe() [all …]
|
| /linux-6.15/Documentation/iio/ |
| H A D | ad4695.rst | 50 SPI offload wiring 53 When used with a SPI offload, the supported wiring configuration is: 74 to the SPI offload. The SPI offload will have ``trigger-sources`` property 78 .. seealso:: `SPI offload support`_ 185 The chip supports per-channel oversampling when SPI offload is being used, with 217 SPI offload support 221 `AXI SPI Engine`_ to provide SPI offload support. 225 .. seealso:: `SPI offload wiring`_ 227 When SPI offload is being used, some attributes will be different. 235 * Buffer data format may be different compared to when offload is not used, [all …]
|
| /linux-6.15/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_singleq_txrx.c | 330 struct idpf_tx_offload_params *offload) in idpf_tx_singleq_build_ctx_desc() argument 335 if (offload->tso_segs) { in idpf_tx_singleq_build_ctx_desc() 338 offload->tso_len); in idpf_tx_singleq_build_ctx_desc() 363 struct idpf_tx_offload_params offload = { }; in idpf_tx_singleq_frame() local 387 offload.tx_flags |= IDPF_TX_FLAGS_IPV4; in idpf_tx_singleq_frame() 389 offload.tx_flags |= IDPF_TX_FLAGS_IPV6; in idpf_tx_singleq_frame() 391 tso = idpf_tso(skb, &offload); in idpf_tx_singleq_frame() 395 csum = idpf_tx_singleq_csum(skb, &offload); in idpf_tx_singleq_frame() 399 if (tso || offload.cd_tunneling) in idpf_tx_singleq_frame() 407 first->packets = offload.tso_segs; in idpf_tx_singleq_frame() [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/net/ |
| H A D | xlnx,axi-ethernet.yaml | 74 TX checksum offload. 0 or empty for disabling TX checksum offload, 75 1 to enable partial TX checksum offload and 2 to enable full TX 76 checksum offload. 82 RX checksum offload. 0 or empty for disabling RX checksum offload, 83 1 to enable partial RX checksum offload and 2 to enable full RX 84 checksum offload.
|
| /linux-6.15/Documentation/devicetree/bindings/spi/ |
| H A D | adi,axi-spi-engine.yaml | 46 An array of trigger source phandles for offload instances. The index in 47 the array corresponds to the offload instance number. 54 offload instance. 60 pattern: "^offload(?:[12]?[0-9]|3[01])-[tr]x$"
|