/Linux-v5.4/drivers/net/can/ |
D | rx-offload.c | 21 static inline bool can_rx_offload_le(struct can_rx_offload *offload, unsigned int a, unsigned int b) in can_rx_offload_le() argument 23 if (offload->inc) in can_rx_offload_le() 29 static inline unsigned int can_rx_offload_inc(struct can_rx_offload *offload, unsigned int *val) in can_rx_offload_inc() argument 31 if (offload->inc) in can_rx_offload_inc() 39 struct can_rx_offload *offload = container_of(napi, struct can_rx_offload, napi); in can_rx_offload_napi_poll() local 40 struct net_device *dev = offload->dev; in can_rx_offload_napi_poll() 46 (skb = skb_dequeue(&offload->skb_queue))) { in can_rx_offload_napi_poll() 59 if (!skb_queue_empty(&offload->skb_queue)) in can_rx_offload_napi_poll() 60 napi_reschedule(&offload->napi); in can_rx_offload_napi_poll() 63 can_led_event(offload->dev, CAN_LED_EVENT_RX); in can_rx_offload_napi_poll() [all …]
|
D | ti_hecc.c | 189 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 unsigned int 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() 622 err = can_rx_offload_queue_sorted(&priv->offload, skb, in ti_hecc_error() 657 err = can_rx_offload_queue_sorted(&priv->offload, skb, timestamp); in ti_hecc_change_state() 745 can_rx_offload_get_echo_skb(&priv->offload, in ti_hecc_interrupt() 761 can_rx_offload_irq_offload_timestamp(&priv->offload, in ti_hecc_interrupt() 804 can_rx_offload_enable(&priv->offload); in ti_hecc_open() [all …]
|
D | flexcan.c | 269 struct can_rx_offload offload; member 729 err = can_rx_offload_queue_sorted(&priv->offload, skb, timestamp); in flexcan_irq_bus_err() 776 err = can_rx_offload_queue_sorted(&priv->offload, skb, timestamp); in flexcan_irq_state() 781 static inline struct flexcan_priv *rx_offload_to_priv(struct can_rx_offload *offload) in rx_offload_to_priv() argument 783 return container_of(offload, struct flexcan_priv, offload); in rx_offload_to_priv() 786 static unsigned int flexcan_mailbox_read(struct can_rx_offload *offload, in flexcan_mailbox_read() argument 790 struct flexcan_priv *priv = rx_offload_to_priv(offload); in flexcan_mailbox_read() 813 offload->dev->stats.rx_over_errors++; in flexcan_mailbox_read() 814 offload->dev->stats.rx_errors++; in flexcan_mailbox_read() 892 ret = can_rx_offload_irq_offload_timestamp(&priv->offload, in flexcan_irq() [all …]
|
/Linux-v5.4/kernel/bpf/ |
D | offload.c | 83 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 …]
|
/Linux-v5.4/include/linux/can/ |
D | rx-offload.h | 18 unsigned int (*mailbox_read)(struct can_rx_offload *offload, 34 struct can_rx_offload *offload); 36 struct can_rx_offload *offload, 38 int can_rx_offload_irq_offload_timestamp(struct can_rx_offload *offload, 40 int can_rx_offload_irq_offload_fifo(struct can_rx_offload *offload); 41 int can_rx_offload_queue_sorted(struct can_rx_offload *offload, 43 unsigned int can_rx_offload_get_echo_skb(struct can_rx_offload *offload, 45 int can_rx_offload_queue_tail(struct can_rx_offload *offload, 47 void can_rx_offload_reset(struct can_rx_offload *offload); 48 void can_rx_offload_del(struct can_rx_offload *offload); [all …]
|
/Linux-v5.4/drivers/net/dsa/sja1105/ |
D | sja1105_tas.c | 134 if (tas_data->offload[port]) { in sja1105_init_scheduling() 135 num_entries += tas_data->offload[port]->num_entries; in sja1105_init_scheduling() 191 const struct tc_taprio_qopt_offload *offload; in sja1105_init_scheduling() local 193 offload = tas_data->offload[port]; in sja1105_init_scheduling() 194 if (!offload) in sja1105_init_scheduling() 198 schedule_end_idx = k + offload->num_entries - 1; in sja1105_init_scheduling() 219 for (i = 0; i < offload->num_entries; i++, k++) { in sja1105_init_scheduling() 220 s64 delta_ns = offload->entries[i].interval; in sja1105_init_scheduling() 226 ~offload->entries[i].gate_mask; in sja1105_init_scheduling() 260 const struct tc_taprio_qopt_offload *offload; in sja1105_tas_check_conflicts() local [all …]
|
/Linux-v5.4/Documentation/networking/ |
D | xfrm_device.txt | 14 Luckily, there are NICs that offer a hardware based IPsec offload which 17 hardware offload. 19 Userland access to the offload is typically through a system such as 28 offload dev eth4 dir in 47 The NIC driver offering ipsec offload will need to implement these 48 callbacks to make the offload available to the network stack's 50 NETIF_F_HW_ESP_TX_CSUM will signal the availability of the offload. 65 When new SAs are set up with a request for "offload" feature, the 70 - enable the HW offload of the SA 73 -EOPNETSUPP offload not supported, try SW IPsec [all …]
|
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 116 Before enabling any hardware segmentation offload a corresponding software [all …]
|
D | tls-offload.rst | 4 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 …]
|
D | nf_flowtable.txt | 12 in both directions), then you can decide to offload the flow to the flowtable 13 from the forward chain via the 'flow offload' action available in nftables. 26 Flowtables are populated via the 'flow offload' nftables action, so the user can 52 |-----| | 'flow offload' rule | 83 ip protocol tcp flow offload @f 95 The 'flow offload' action from the forward chain 'y' adds an entry to the
|
D | switchdev.txt | 8 model for switch devices which offload the forwarding (data) plane from the 143 router port, used to offload L3 forwarding. Two or more ports can be bonded 160 The idea is to offload the L2 data forwarding (switching) path from the kernel 205 command will label these entries "offload": 209 00:02:00:00:02:00 dev sw1p1 master br0 offload 212 00:02:00:00:03:00 dev sw1p2 master br0 offload 339 Routes offloaded to the device are labeled with "offload" in the ip route 344 11.0.0.0/30 dev sw1p1 proto kernel scope link src 11.0.0.2 offload 345 11.0.0.4/30 via 11.0.0.1 dev sw1p1 proto zebra metric 20 offload 346 11.0.0.8/30 dev sw1p2 proto kernel scope link src 11.0.0.10 offload [all …]
|
/Linux-v5.4/tools/testing/selftests/drivers/net/mlxsw/ |
D | vxlan.sh | 474 | grep -q offload 490 | grep -q offload 493 | grep -q offload 504 | grep -q offload 515 | grep -q offload 518 | grep -q offload 529 | grep -q offload 540 | grep -q offload 543 | grep -q offload 561 ip route show table local | grep 198.51.100.1 | grep -q offload [all …]
|
D | rtnetlink.sh | 363 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10 | grep -q offload 367 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10 | grep -q offload 371 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10 | grep -q offload 375 ip -6 route get fibmatch 2001:db8:1::2 dev br0.10 | grep -q offload 404 ip -6 route get fibmatch 2001:db8:1::2 dev bond1 | grep -q offload 406 ip -6 route get fibmatch 2001:db8:2::2 dev bond1.10 | grep -q offload 410 ip -6 route get fibmatch 2001:db8:1::2 dev bond1 | grep -q offload 412 ip -6 route get fibmatch 2001:db8:2::2 dev bond1.10 | grep -q offload 416 ip -6 route get fibmatch 2001:db8:1::2 dev bond1 | grep -q offload 418 ip -6 route get fibmatch 2001:db8:2::2 dev bond1.10 | grep -q offload [all …]
|
/Linux-v5.4/net/sched/ |
D | sch_taprio.c | 85 struct tc_taprio_qopt_offload offload; member 1112 return &__offload->offload; in taprio_offload_alloc() 1116 *offload) in taprio_offload_get() 1120 __offload = container_of(offload, struct __tc_taprio_qopt_offload, in taprio_offload_get() 1121 offload); in taprio_offload_get() 1125 return offload; in taprio_offload_get() 1129 void taprio_offload_free(struct tc_taprio_qopt_offload *offload) in taprio_offload_free() argument 1133 __offload = container_of(offload, struct __tc_taprio_qopt_offload, in taprio_offload_free() 1134 offload); in taprio_offload_free() 1174 struct tc_taprio_qopt_offload *offload) in taprio_sched_to_offload() argument [all …]
|
D | sch_cbs.c | 70 bool offload; member 246 if (!q->offload) in cbs_disable_offload() 371 if (!qopt->offload) { in cbs_change() 385 q->offload = qopt->offload; in cbs_change() 455 opt.offload = q->offload; in cbs_dump()
|
/Linux-v5.4/drivers/net/netdevsim/ |
D | bpf.c | 67 state = env->prog->aux->offload->dev_priv; in nsim_bpf_verify_insn() 91 if (!prog || !prog->aux->offload) in nsim_prog_set_loaded() 94 state = prog->aux->offload->dev_priv; in nsim_prog_set_loaded() 142 if (prog && !prog->aux->offload && !ns->bpf_tc_non_bound_accept) { in nsim_bpf_setup_tc_block_cb() 245 prog->aux->offload->dev_priv = state; in nsim_bpf_create_prog() 253 bpf_offload_dev_priv(prog->aux->offload->offdev); in nsim_bpf_verifier_prep() 263 struct nsim_bpf_bound_prog *state = prog->aux->offload->dev_priv; in nsim_bpf_translate() 273 state = prog->aux->offload->dev_priv; in nsim_bpf_destroy_prog() 291 if (bpf->prog && bpf->prog->aux->offload) { in nsim_setup_prog_checks() 310 if (!bpf->prog->aux->offload) { in nsim_setup_prog_hw_checks() [all …]
|
/Linux-v5.4/Documentation/crypto/ |
D | async-tx-api.txt | 29 the details of different hardware offload engine implementations. Code 31 the API will fit the chain of operations to the available offload 36 The API was initially designed to offload the memory copy and 37 xor-parity-calculations of the md-raid5 driver using the offload engines 43 the platform they are running on has offload capabilities. The 78 resources, under control of the offload engine driver, to be reused as 82 acknowledged by the application before the offload engine driver is allowed to 107 context if the offload engine driver supports interrupts, or it is 220 drivers/dma/dmaengine.c: offload engine channel management routines 221 drivers/dma/: location for offload engine drivers [all …]
|
/Linux-v5.4/drivers/net/ethernet/netronome/ |
D | Kconfig | 31 bool "NFP4000/NFP6000 TC Flower offload support" 36 Enable driver support for TC Flower offload on NFP4000 and NFP6000. 37 Say Y, if you are planning to make use of TC Flower offload 39 TC Flower offload requires specific FW to work.
|
/Linux-v5.4/Documentation/scsi/ |
D | bnx2fc.txt | 3 Broadcom FCoE offload through bnx2fc is full stateful hardware offload that 9 Despite the fact that the Broadcom's FCoE offload is fully offloaded, it does 11 interface (e.g. eth0) associated with the FCoE offload initiator must be 'up'. 15 Furthermore, the Broadcom FCoE offload solution creates VLAN interfaces to
|
/Linux-v5.4/drivers/scsi/bnx2fc/ |
D | Kconfig | 3 tristate "QLogic FCoE offload support" 13 This driver supports FCoE offload for the QLogic devices.
|
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/bpf/ |
D | offload.c | 195 prog->aux->offload->dev_priv = nfp_prog; in nfp_bpf_verifier_prep() 199 nfp_prog->bpf = bpf_offload_dev_priv(prog->aux->offload->offdev); in nfp_bpf_verifier_prep() 217 struct nfp_net *nn = netdev_priv(prog->aux->offload->netdev); in nfp_bpf_translate() 218 struct nfp_prog *nfp_prog = prog->aux->offload->dev_priv; in nfp_bpf_translate() 223 if (prog->aux->offload->opt_failed) in nfp_bpf_translate() 237 prog->aux->offload->jited_len = nfp_prog->prog_len * sizeof(u64); in nfp_bpf_translate() 238 prog->aux->offload->jited_image = nfp_prog->prog; in nfp_bpf_translate() 245 struct nfp_prog *nfp_prog = prog->aux->offload->dev_priv; in nfp_bpf_destroy() 484 struct nfp_prog *nfp_prog = prog->aux->offload->dev_priv; in nfp_net_bpf_load()
|
/Linux-v5.4/Documentation/devicetree/bindings/sound/ |
D | qcom,q6asm.txt | 39 Usage: Required for Compress offload dais 47 Usage: Required for Compress offload dais 49 Definition: present for Compress offload dais
|
/Linux-v5.4/drivers/crypto/ccp/ |
D | Kconfig | 21 which can be used to offload encryption operations such as SHA, AES 25 tristate "Encryption and hashing offload support" 36 Coprocessor. This module supports offload of SHA and AES algorithms.
|
/Linux-v5.4/net/tls/ |
D | Kconfig | 21 bool "Transport Layer Security HW offload" 26 Enable kernel support for HW offload of the TLS protocol.
|
/Linux-v5.4/Documentation/devicetree/bindings/crypto/ |
D | picochip-spacc.txt | 3 Picochip picoXcell devices contain crypto offload engines that may be used for 7 - compatible : "picochip,spacc-ipsec" for the IPSEC offload engine
|