| /linux/drivers/net/can/dev/ |
| H A D | rx-offload.c | 24 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 D | offload.c | 21 /* Protects offdevs, members of bpf_offload_netdev and offload members 86 netdev_warn(netdev, "failed to register for BPF offload\n"); in __bpf_offload_dev_netdev_register() 102 * unregistration is left that has got the old copy from offload->prog. in __bpf_prog_offload_destroy() 110 if (prog->aux->offload) 111 prog->aux->offload->prog = prog; in bpf_map_offload_ndo() 117 struct bpf_prog_offload *offload = prog->aux->offload; in bpf_map_offload_ndo() 119 if (offload->dev_state) in bpf_map_offload_ndo() 120 offload->offdev->ops->destroy(prog); in bpf_map_offload_ndo() 122 list_del_init(&offload in bpf_map_offload_ndo() 101 struct bpf_prog_offload *offload = prog->aux->offload; __bpf_prog_offload_destroy() local 141 struct bpf_prog_offload *offload, *ptmp; __bpf_offload_dev_netdev_unregister() local 182 struct bpf_prog_offload *offload; __bpf_prog_dev_bound_init() local 289 struct bpf_prog_offload *offload; bpf_prog_offload_verifier_prep() local 306 struct bpf_prog_offload *offload; bpf_prog_offload_verify_insn() local 321 struct bpf_prog_offload *offload; bpf_prog_offload_finalize() local 342 struct bpf_prog_offload *offload; bpf_prog_offload_replace_insn() local 359 struct bpf_prog_offload *offload; bpf_prog_offload_remove_insns() local 395 struct bpf_prog_offload *offload; bpf_prog_offload_translate() local 691 struct bpf_prog_offload *offload; __bpf_offload_dev_match() local [all...] |
| /linux/drivers/spi/ |
| H A D | spi-offload.c | 14 * processor core to offload the work. 28 #include <linux/spi/offload/consumer.h> 29 #include <linux/spi/offload/provider.h> 30 #include <linux/spi/offload/types.h> 36 struct spi_offload *offload; member 57 * devm_spi_offload_alloc() - Allocate offload instance 61 * Offload providers should use this to allocate offload instances. 63 * Return: Pointer to new offload instance or error on failure. 68 struct spi_offload *offload; in devm_spi_offload_alloc() local 71 offload in devm_spi_offload_alloc() 111 struct spi_offload *offload; devm_spi_offload_get() local 207 devm_spi_offload_trigger_get(struct device * dev,struct spi_offload * offload,enum spi_offload_trigger_type type) devm_spi_offload_trigger_get() argument 280 spi_offload_trigger_enable(struct spi_offload * offload,struct spi_offload_trigger * trigger,struct spi_offload_trigger_config * config) spi_offload_trigger_enable() argument 320 spi_offload_trigger_disable(struct spi_offload * offload,struct spi_offload_trigger * trigger) spi_offload_trigger_disable() argument 353 devm_spi_offload_tx_stream_request_dma_chan(struct device * dev,struct spi_offload * offload) devm_spi_offload_tx_stream_request_dma_chan() argument 385 devm_spi_offload_rx_stream_request_dma_chan(struct device * dev,struct spi_offload * offload) devm_spi_offload_rx_stream_request_dma_chan() argument [all...] |
| /linux/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, 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 D | nf_flow_table_offload.c | 799 const struct flow_offload_work *offload, in nf_flow_offload_rule_alloc() argument 802 const struct nf_flowtable *flowtable = offload->flowtable; in nf_flow_offload_rule_alloc() 804 struct flow_offload *flow = offload->flow; in nf_flow_offload_rule_alloc() 868 static int nf_flow_offload_alloc(const struct flow_offload_work *offload, in nf_flow_offload_alloc() argument 871 struct net *net = read_pnet(&offload->flowtable->net); in nf_flow_offload_alloc() 873 flow_rule[0] = nf_flow_offload_rule_alloc(net, offload, in nf_flow_offload_alloc() 878 flow_rule[1] = nf_flow_offload_rule_alloc(net, offload, in nf_flow_offload_alloc() 937 static int flow_offload_tuple_add(struct flow_offload_work *offload, in flow_offload_tuple_add() argument 941 return nf_flow_offload_tuple(offload->flowtable, offload->flow, in flow_offload_tuple_add() 943 offload->flowtable->priority, in flow_offload_tuple_add() [all …]
|
| /linux/drivers/net/dsa/sja1105/ |
| H A D | sja1105_tas.c | 31 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 D | wow.c | 619 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/huawei/hinic3/ |
| H A D | hinic3_tx.c | 206 /* initialize l4 offset and offload */ 263 /* Unsupported tunnel packet, disable csum offload */ in hinic3_tx_csum() 398 u32 offload = 0; in hinic3_tx_offload() local 408 offload = HINIC3_TX_OFFLOAD_INVALID; in hinic3_tx_offload() 409 return offload; in hinic3_tx_offload() 411 offload |= HINIC3_TX_OFFLOAD_TSO; in hinic3_tx_offload() 415 offload = HINIC3_TX_OFFLOAD_INVALID; in hinic3_tx_offload() 416 return offload; in hinic3_tx_offload() 419 offload |= HINIC3_TX_OFFLOAD_CSUM; in hinic3_tx_offload() 427 offload | in hinic3_tx_offload() 452 hinic3_set_wqe_combo(struct hinic3_txq * txq,struct hinic3_sq_wqe_combo * wqe_combo,u32 offload,u16 num_sge,u16 * curr_pi) hinic3_set_wqe_combo() argument 541 u32 offload; hinic3_send_one_skb() local [all...] |
| /linux/drivers/net/can/usb/ |
| H A D | nct6694_canfd.c | 135 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 …]
|
| H A D | gs_usb.c | 307 struct can_rx_offload offload; member 542 struct can_rx_offload *offload = &dev->offload; in gs_usb_rx_offload() local 548 rc = can_rx_offload_queue_timestamp(offload, skb, ts); in gs_usb_rx_offload() 550 rc = can_rx_offload_queue_tail(offload, skb); in gs_usb_rx_offload() 561 struct can_rx_offload *offload = &dev->offload; in gs_usb_get_echo_skb() local 568 len = can_rx_offload_get_echo_skb_queue_timestamp(offload, echo_id, in gs_usb_get_echo_skb() 571 len = can_rx_offload_get_echo_skb_queue_tail(offload, echo_id, in gs_usb_get_echo_skb() 746 can_rx_offload_irq_finish(&dev->offload); in gs_usb_receive_bulk_callback() 981 can_rx_offload_enable(&dev->offload); in gs_can_open() 1104 can_rx_offload_disable(&dev->offload); in gs_can_open() [all …]
|
| /linux/net/sched/ |
| H A D | sch_taprio.c | 52 /* Each entry is a separate 368-byte sched_entry and, in full offload, is 53 * also composed into a per-entry offload array. The u16 nla_len admits 123 struct tc_taprio_qopt_offload offload; in taprio_calculate_gate_durations() 546 /* Devices with full offload are expected to honor this in hardware */ in taprio_skb_exceeds_queue_max_sdu() 631 /* Will not be called in the full offload case, since the TX queues are in taprio_enqueue() 655 * the skb into smaller chunks. Drivers with full offload are 842 /* Will not be called in the full offload case, since the TX queues are in taprio_dequeue() 1400 __offload = kzalloc_flex(*__offload, offload.entries, num_entries); in taprio_offload_get() 1406 return &__offload->offload; in taprio_offload_free() 1410 *offload) in taprio_offload_free() 116 struct tc_taprio_qopt_offload offload; global() member 1390 taprio_offload_get(struct tc_taprio_qopt_offload * offload) taprio_offload_get() argument 1404 taprio_offload_free(struct tc_taprio_qopt_offload * offload) taprio_offload_free() argument 1461 taprio_sched_to_offload(struct net_device * dev,struct sched_gate_list * sched,struct tc_taprio_qopt_offload * offload,const struct tc_taprio_caps * caps) taprio_sched_to_offload() argument 1522 struct tc_taprio_qopt_offload *offload; taprio_enable_offload() local 1587 struct tc_taprio_qopt_offload *offload; taprio_disable_offload() local 2336 taprio_dump_xstats(struct Qdisc * sch,struct gnet_dump * d,struct tc_taprio_qopt_offload * offload,struct tc_taprio_qopt_stats * stats) taprio_dump_xstats() argument 2385 struct tc_taprio_qopt_offload offload = { taprio_dump_stats() local 2501 struct tc_taprio_qopt_offload offload = { taprio_dump_class_stats() local [all...] |
| H A D | sch_htb.c | 183 bool offload; member 1016 if (cl->leaf.q && !q->offload) in htb_reset() 1064 bool offload; in htb_init() local 1089 offload = nla_get_flag(tb[TCA_HTB_OFFLOAD]); in htb_init() 1091 if (offload) { in htb_init() 1122 if (!offload) in htb_init() 1154 q->offload = true; in htb_init() 1204 if (q->offload) in htb_attach() 1233 if (q->offload && nla_put_flag(skb, TCA_HTB_OFFLOAD)) in htb_dump() 1274 if (q->offload && nla_put_flag(skb, TCA_HTB_OFFLOAD)) in htb_dump_class() [all …]
|
| H A D | sch_cbs.c | 71 bool offload; member 271 if (!q->offload) in cbs_disable_offload() 286 pr_warn("Couldn't disable CBS offload for queue %d\n", in cbs_disable_offload() 299 NL_SET_ERR_MSG(extack, "Specified device does not support cbs offload"); in cbs_enable_offload() 313 NL_SET_ERR_MSG(extack, "Specified device failed to setup cbs hardware offload"); in cbs_enable_offload() 396 if (!qopt->offload) { in cbs_change() 410 WRITE_ONCE(q->offload, qopt->offload); in cbs_change() 480 opt.offload = READ_ONCE(q->offload); in cbs_dump() [all...] |
| /linux/drivers/net/can/ |
| H A D | at91_can.c | 153 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 D | bxcan.c | 16 #include <linux/can/rx-offload.h> 167 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() [all...] |
| /linux/Documentation/iio/ |
| H A D | ad7606.rst | 29 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 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 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 …]
|
| H A D | vxlan.rst | 68 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/ethernet/mellanox/mlx5/core/ |
| H A D | Kconfig | 103 bool "MLX5 TC connection tracking offload support" 113 bool "MLX5 TC sample offload support" 144 bool "Connect-X support for MACSec offload" 149 Build support for MACsec cryptography-offload acceleration in the NIC. 157 Build support for IPsec cryptography-offload acceleration in the NIC. 165 Build support for TLS cryptography-offload acceleration in the NIC. 211 bool "Mellanox Technologies support for PSP cryptography-offload acceleration" 216 mlx5 device offload support for Google PSP Security Protocol offload. 217 Adds support for PSP encryption offload and for SPI and key generation 218 interfaces to PSP Stack which supports PSP crypto offload.
|
| /linux/net/tls/ |
| H A D | Kconfig | 20 bool "Transport Layer Security HW offload" 27 Enable kernel support for HW offload of the TLS protocol.
|
| /linux/Documentation/scsi/ |
| H A D | bnx2fc.rst | 6 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/nfp/bpf/ |
| H A D | offload.c | 197 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 D | netdevice.sh | 137 ethtool --offload "$netdev" "$feature" off 145 ethtool --offload "$netdev" "$feature" on 154 ethtool --offload "$netdev" "$feature" "$VALUE"
|
| /linux/drivers/crypto/ccp/ |
| H A D | Kconfig | 20 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/include/net/ |
| H A D | pkt_sched.h | 248 *offload); 249 void taprio_offload_free(struct tc_taprio_qopt_offload *offload); 255 taprio_offload_get(struct tc_taprio_qopt_offload *offload) in taprio_offload_get() argument 260 static inline void taprio_offload_free(struct tc_taprio_qopt_offload *offload) in taprio_offload_free() argument
|