Home
last modified time | relevance | path

Searched full:offload (Results 1 – 25 of 840) sorted by relevance

12345678910>>...34

/linux/drivers/net/can/dev/
H A Drx-offload.c9 #include <linux/can/rx-offload.h>
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()
[all …]
/linux/drivers/spi/
H A Dspi-offload.c14 * 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 = devm_kzalloc(dev, sizeof(*offload), GFP_KERNEL); in devm_spi_offload_alloc()
[all …]
/linux/include/linux/can/
H A Drx-offload.h3 * linux/can/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,
[all …]
/linux/net/netfilter/
H A Dnf_flow_table_offload.c799 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/wireless/ath/ath12k/
H A Dwow.c619 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/dsa/sja1105/
H A 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 …]
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dqos_conf.c127 "Offload not supported when exceed action is not drop"); in nfp_policer_validate()
135 "Offload not supported when conform action is not continue or ok"); in nfp_policer_validate()
142 "Offload not supported when conform action is not pipe or ok"); in nfp_policer_validate()
150 "Offload not supported when conform action is ok, but action is not last"); in nfp_policer_validate()
157 "Offload not supported when peakrate/avrate/overhead is configured"); in nfp_policer_validate()
185 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: qos rate limit offload not supported on higher le… in nfp_flower_install_rate_limiter()
194 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: qos rate limit offload not supported on shared bl… in nfp_flower_install_rate_limiter()
199 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: qos rate limit offload not supported on non-VF po… in nfp_flower_install_rate_limiter()
206 "unsupported offload: qos rate limit offload only support action number 1 or 2"); in nfp_flower_install_rate_limiter()
212 "unsupported offload: qos rate limit offload requires a single action"); in nfp_flower_install_rate_limiter()
[all …]
/linux/Documentation/networking/
H 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
111 You can identify offloaded flows through the [OFFLOAD] tag when listing your
117 …rt=52728 dport=5201 src=192.168.10.2 dst=192.168.10.1 sport=5201 dport=52728 [OFFLOAD] mark=0 use=2
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;
[all …]
/linux/drivers/usb/core/
H A Doffload.c4 * offload.c - USB offload related functions
19 * Incrementing the offload_usage of a usb_device indicates that offload is
22 * management policy based on offload activity.
63 * management policy based on offload activity.
101 * usb_offload_check - check offload activities on a USB device
102 * @udev: the USB device to check its offload activity.
104 * Check if there are any offload activity on the USB device right now. This
112 * Returns true on any offload activity, false otherwise.
142 * ensures that offload activities cannot be started or stopped during critical
/linux/tools/testing/selftests/net/
H A Dbpf_offload.py523 args = "hw-tc-offload %s" % ("on" if enable else "off")
633 start_test("Test multi-attachment XDP - %s + offload..." %
635 sim.set_xdp(obj, "offload")
646 "Offload program not reported after other activated")
651 "Offload ID changed after loading other program")
654 ret, _, err = sim.set_xdp(obj, "offload", fail=False, include_stderr=True)
664 sim.unset_xdp("offload")
672 "Offload program not reported after other activated")
675 fail(offloaded != "0", "Offload ID reported with only other program left")
678 sim.set_xdp(obj, "offload")
981 offload = bpf_pinned("/sys/fs/bpf/offload") global() variable
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A DKconfig103 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/tools/testing/selftests/drivers/net/hw/
H A Dipsec_vxlan.py3 """Traffic test for VXLAN + IPsec crypto-offload."""
31 """Skips if iproute2 lacks xfrm offload support."""
33 if "offload" not in out.stdout + out.stderr:
34 raise KsftSkipEx("iproute2 too old, missing xfrm offload")
38 """Skips if device lacks esp-hw-offload support."""
44 if not feat.get("esp-hw-offload", {}).get("active"):
45 raise KsftSkipEx("Device does not support esp-hw-offload")
55 """Sets up VXLAN tunnel with IPsec transport-mode crypto-offload."""
94 f"mode transport offload crypto dev {cfg.ifname} dir out")
102 f"mode transport offload crypto dev {cfg.ifname} dir in")
[all …]
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dvxlan.sh5 # as sanitization of invalid configurations and offload indication.
428 # we offload must share certain properties such as source IP and
491 log_test "vxlan flood entry offload indication"
508 log_test "vxlan entry offload indication - initial state"
519 log_test "vxlan entry offload indication - after removal from bridge"
533 log_test "vxlan entry offload indication - after re-add to bridge"
544 log_test "vxlan entry offload indication - after removal from vxlan"
558 log_test "vxlan entry offload indication - after re-add to vxlan"
749 log_test "offload indication - attach vxlan first"
755 log_test "offload indication - set vxlan down"
[all …]
/linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
H A Dcbs.json17 … cbs 1: root refcnt [0-9]+ hicredit 0 locredit 0 sendslope 0 idleslope 0 offload 0.*qdisc pfifo 0:…
38 …cbs 1: root refcnt [0-9]+ hicredit 64 locredit 0 sendslope 0 idleslope 0 offload 0.*qdisc pfifo 0:…
59 …cbs 1: root refcnt [0-9]+ hicredit 0 locredit 10 sendslope 0 idleslope 0 offload 0.*qdisc pfifo 0:…
80 …bs 1: root refcnt [0-9]+ hicredit 0 locredit 0 sendslope 888 idleslope 0 offload 0.*qdisc pfifo 0:…
101 …bs 1: root refcnt [0-9]+ hicredit 0 locredit 0 sendslope 0 idleslope 666 offload 0.*qdisc pfifo 0:…
122 … 1: root refcnt [0-9]+ hicredit 10 locredit 75 sendslope 2 idleslope 666 offload 0.*qdisc pfifo 0:…
144 …cbs 1: root refcnt [0-9]+ hicredit 0 locredit 0 sendslope 10 idleslope 0 offload 0.*qdisc pfifo 0:…
166 … cbs 1: root refcnt [0-9]+ hicredit 0 locredit 0 sendslope 0 idleslope 1 offload 0.*qdisc pfifo 0:…
188 … cbs 1: root refcnt [0-9]+ hicredit 0 locredit 0 sendslope 0 idleslope 1 offload 0.*qdisc pfifo 0:…
H A Detf.json17 …"matchPattern": "qdisc etf 1: root refcnt [0-9]+ clockid TAI delta 0 offload off deadline_mode off…
38 …"matchPattern": "qdisc etf 1: root refcnt [0-9]+ clockid TAI delta 100 offload off deadline_mode o…
59 …"matchPattern": "qdisc etf 1: root refcnt [0-9]+ clockid TAI delta 0 offload off deadline_mode on …
80 …"matchPattern": "qdisc etf 1: root refcnt [0-9]+ clockid TAI delta 0 offload off deadline_mode off…
102 …"matchPattern": "qdisc etf 1: root refcnt [0-9]+ clockid TAI delta 0 offload off deadline_mode off…
/linux/net/sched/
H A Dsch_taprio.c116 struct tc_taprio_qopt_offload offload; member
539 /* Devices with full offload are expected to honor this in hardware */
624 /* Will not be called in the full offload case, since the TX queues are
643 * the skb into smaller chunks. Drivers with full offload are in taprio_enqueue()
830 /* Will not be called in the full offload case, since the TX queues are
1381 __offload = kzalloc_flex(*__offload, offload.entries, num_entries); in taprio_offload_alloc()
1387 return &__offload->offload; in taprio_offload_alloc()
1391 *offload) in taprio_offload_get()
1395 __offload = container_of(offload, struct __tc_taprio_qopt_offload, in taprio_offload_get()
1396 offload); in taprio_offload_get()
[all …]
/linux/drivers/net/ethernet/huawei/hinic3/
H A Dhinic3_tx.c206 /* 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 |= HINIC3_TX_OFFLOAD_VLAN; in hinic3_tx_offload()
[all …]
/linux/drivers/net/can/usb/
H A Dnct6694_canfd.c9 #include <linux/can/rx-offload.h>
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()
[all …]
/linux/drivers/iio/adc/
H A Dad7944.c19 #include <linux/spi/offload/consumer.h>
62 struct spi_offload *offload; member
169 * Notes on the offload channels:
172 * offload trigger.
173 * - The storagebits value depends on the SPI offload provider. Currently there
280 * sample rate. It requires the SPI controller to have offload support and a
309 adc->offload_msg.offload = adc->offload; in ad7944_3wire_cs_mode_init_offload_msg()
313 return dev_err_probe(dev, ret, "failed to prepare offload msg\n"); in ad7944_3wire_cs_mode_init_offload_msg()
500 ret = spi_offload_trigger_enable(adc->offload, adc->offload_trigger, in ad7944_offload_buffer_postenable()
512 spi_offload_trigger_disable(adc->offload, adc->offload_trigger); in ad7944_offload_buffer_predisable()
[all …]
/linux/Documentation/devicetree/bindings/net/
H A Dxlnx,axi-ethernet.yaml74 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/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dmacsec.c292 "MACsec offload: Failed to create MACsec object (err = %d)\n", in mlx5e_macsec_create_object()
452 "MACsec offload is supported only when validate_frame is in strict mode\n"); in mlx5e_macsec_secy_features_validate()
457 netdev_err(netdev, "MACsec offload is supported only when icv_len is %d\n", in mlx5e_macsec_secy_features_validate()
464 "MACsec offload is supported only when protect_frames is set\n"); in mlx5e_macsec_secy_features_validate()
469 netdev_err(netdev, "MACsec offload: encrypt off isn't supported\n"); in mlx5e_macsec_secy_features_validate()
522 netdev_err(ctx->netdev, "MACsec offload: Failed to find device context\n"); in mlx5e_macsec_add_txsa()
528 netdev_err(ctx->netdev, "MACsec offload tx_sa: %d already exist\n", assoc_num); in mlx5e_macsec_add_txsa()
595 netdev_err(netdev, "MACsec offload: Failed to find device context\n"); in mlx5e_macsec_upd_txsa()
602 netdev_err(netdev, "MACsec offload: TX sa 0x%x doesn't exist\n", assoc_num); in mlx5e_macsec_upd_txsa()
608 netdev_err(netdev, "MACsec offload: update TX sa %d PN isn't supported\n", in mlx5e_macsec_upd_txsa()
[all …]
/linux/drivers/crypto/intel/keembay/
H A DKconfig9 Support for Intel Keem Bay Offload and Crypto Subsystem (OCS) AES and
23 Support for Intel Keem Bay Offload and Crypto Subsystem (OCS)
34 Support for Intel Keem Bay Offload and Crypto Subsystem (OCS)
50 Support for Intel Keem Bay Offload and Crypto Subsystem (OCS)
69 Support for Intel Keem Bay Offload and Crypto Subsystem (OCS) Hash
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_matchall.h15 enum cxgb4_matchall_state state; /* Current MATCHALL offload state */
21 enum cxgb4_matchall_state state; /* Current MATCHALL offload state */
32 struct cxgb4_matchall_egress_entry egress; /* Egress offload info */
33 struct cxgb4_matchall_ingress_entry ingress; /* Ingress offload info */
/linux/Documentation/iio/
H A Dad7606.rst29 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/scsi/
H 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

12345678910>>...34