Home
last modified time | relevance | path

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

12345

/Linux-v4.19/drivers/net/can/
Drx-offload.c32 static inline bool can_rx_offload_le(struct can_rx_offload *offload, unsigned int a, unsigned int b) in can_rx_offload_le() argument
34 if (offload->inc) in can_rx_offload_le()
40 static inline unsigned int can_rx_offload_inc(struct can_rx_offload *offload, unsigned int *val) in can_rx_offload_inc() argument
42 if (offload->inc) in can_rx_offload_inc()
50 struct can_rx_offload *offload = container_of(napi, struct can_rx_offload, napi); in can_rx_offload_napi_poll() local
51 struct net_device *dev = offload->dev; in can_rx_offload_napi_poll()
57 (skb = skb_dequeue(&offload->skb_queue))) { in can_rx_offload_napi_poll()
70 if (!skb_queue_empty(&offload->skb_queue)) in can_rx_offload_napi_poll()
71 napi_reschedule(&offload->napi); in can_rx_offload_napi_poll()
74 can_led_event(offload->dev, CAN_LED_EVENT_RX); in can_rx_offload_napi_poll()
[all …]
Dflexcan.c259 struct can_rx_offload offload; member
615 can_rx_offload_irq_queue_err_skb(&priv->offload, skb); in flexcan_irq_bus_err()
655 can_rx_offload_irq_queue_err_skb(&priv->offload, skb); in flexcan_irq_state()
658 static inline struct flexcan_priv *rx_offload_to_priv(struct can_rx_offload *offload) in rx_offload_to_priv() argument
660 return container_of(offload, struct flexcan_priv, offload); in rx_offload_to_priv()
663 static unsigned int flexcan_mailbox_read(struct can_rx_offload *offload, in flexcan_mailbox_read() argument
667 struct flexcan_priv *priv = rx_offload_to_priv(offload); in flexcan_mailbox_read()
687 offload->dev->stats.rx_over_errors++; in flexcan_mailbox_read()
688 offload->dev->stats.rx_errors++; in flexcan_mailbox_read()
761 ret = can_rx_offload_irq_offload_timestamp(&priv->offload, in flexcan_irq()
[all …]
/Linux-v4.19/include/linux/can/
Drx-offload.h26 unsigned int (*mailbox_read)(struct can_rx_offload *offload, struct can_frame *cf,
40 int can_rx_offload_add_timestamp(struct net_device *dev, struct can_rx_offload *offload);
41 int can_rx_offload_add_fifo(struct net_device *dev, struct can_rx_offload *offload, unsigned int we…
42 int can_rx_offload_irq_offload_timestamp(struct can_rx_offload *offload, u64 reg);
43 int can_rx_offload_irq_offload_fifo(struct can_rx_offload *offload);
44 int can_rx_offload_irq_queue_err_skb(struct can_rx_offload *offload, struct sk_buff *skb);
45 void can_rx_offload_reset(struct can_rx_offload *offload);
46 void can_rx_offload_del(struct can_rx_offload *offload);
47 void can_rx_offload_enable(struct can_rx_offload *offload);
49 static inline void can_rx_offload_schedule(struct can_rx_offload *offload) in can_rx_offload_schedule() argument
[all …]
/Linux-v4.19/kernel/bpf/
Doffload.c81 struct bpf_prog_offload *offload; in bpf_prog_offload_init() local
91 offload = kzalloc(sizeof(*offload), GFP_USER); in bpf_prog_offload_init()
92 if (!offload) in bpf_prog_offload_init()
95 offload->prog = prog; in bpf_prog_offload_init()
97 offload->netdev = dev_get_by_index(current->nsproxy->net_ns, in bpf_prog_offload_init()
99 err = bpf_dev_offload_check(offload->netdev); in bpf_prog_offload_init()
104 ondev = bpf_offload_find_netdev(offload->netdev); in bpf_prog_offload_init()
109 prog->aux->offload = offload; in bpf_prog_offload_init()
110 list_add_tail(&offload->offloads, &ondev->progs); in bpf_prog_offload_init()
111 dev_put(offload->netdev); in bpf_prog_offload_init()
[all …]
/Linux-v4.19/Documentation/networking/
Dxfrm_device.txt14 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 that can be used to convey context into the fast-path offload requests.
[all …]
Dsegmentation-offloads.txt7 to take advantage of segmentation offload capabilities of various NICs.
28 offload. For this reason TSO is normally disabled if the Tx checksum
29 offload for a given device is disabled.
31 In order to support TCP segmentation offload it is necessary to populate
48 UDP fragmentation offload allows a device to fragment an oversized UDP
50 fragmentation offload are the same as TSO. However the IPv4 ID for
62 for such instances an additional set of segmentation offload types were
92 header has requested a remote checksum offload. In this case the inner
99 Generic segmentation offload is a pure software offload that is meant to
105 Before enabling any hardware segmentation offload a corresponding software
[all …]
Dnf_flowtable.txt12 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
Dnetvsc.txt13 Checksum offload
15 The netvsc driver supports checksum offload as long as the
17 support checksum offload for TCP and UDP for both IPv4 and
18 IPv6. Windows Server 2012 only supports checksum offload for TCP.
Dswitchdev.txt8 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
341 Routes offloaded to the device are labeled with "offload" in the ip route
346 11.0.0.0/30 dev sw1p1 proto kernel scope link src 11.0.0.2 offload
347 11.0.0.4/30 via 11.0.0.1 dev sw1p1 proto zebra metric 20 offload
348 11.0.0.8/30 dev sw1p2 proto kernel scope link src 11.0.0.10 offload
[all …]
/Linux-v4.19/drivers/net/netdevsim/
Dbpf.c79 state = env->prog->aux->offload->dev_priv; in nsim_bpf_verify_insn()
102 if (!prog || !prog->aux->offload) in nsim_prog_set_loaded()
105 state = prog->aux->offload->dev_priv; in nsim_prog_set_loaded()
153 if (prog && !prog->aux->offload && !ns->bpf_tc_non_bound_accept) { in nsim_bpf_setup_tc_block_cb()
255 prog->aux->offload->dev_priv = state; in nsim_bpf_create_prog()
264 state = prog->aux->offload->dev_priv; in nsim_bpf_destroy_prog()
274 if (bpf->prog && bpf->prog->aux->offload) { in nsim_setup_prog_checks()
293 if (!bpf->prog->aux->offload) { in nsim_setup_prog_hw_checks()
302 state = bpf->prog->aux->offload->dev_priv; in nsim_setup_prog_hw_checks()
547 state = bpf->offload.prog->aux->offload->dev_priv; in nsim_bpf()
[all …]
/Linux-v4.19/Documentation/crypto/
Dasync-tx-api.txt29 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-v4.19/Documentation/devicetree/bindings/net/
Dxilinx_axienet.txt30 - xlnx,txcsum : 0 or empty for disabling TX checksum offload,
31 1 to enable partial TX checksum offload,
32 2 to enable full TX checksum offload
33 - xlnx,rxcsum : Same values as xlnx,txcsum but for RX checksum offload
/Linux-v4.19/drivers/net/ethernet/netronome/
DKconfig29 bool "NFP4000/NFP6000 TC Flower offload support"
34 Enable driver support for TC Flower offload on NFP4000 and NFP6000.
35 Say Y, if you are planning to make use of TC Flower offload
37 TC Flower offload requires specific FW to work.
/Linux-v4.19/Documentation/scsi/
Dbnx2fc.txt3 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-v4.19/drivers/scsi/bnx2fc/
DKconfig2 tristate "QLogic FCoE offload support"
12 This driver supports FCoE offload for the QLogic devices.
/Linux-v4.19/drivers/crypto/ccp/
DKconfig20 which can be used to offload encryption operations such as SHA, AES
24 tristate "Encryption and hashing offload support"
34 Coprocessor. This module supports offload of SHA and AES algorithms.
/Linux-v4.19/net/sched/
Dsch_cbs.c71 bool offload; member
244 if (!q->offload) in cbs_disable_offload()
316 if (!qopt->offload) { in cbs_change()
339 q->offload = qopt->offload; in cbs_change()
399 opt.offload = q->offload; in cbs_dump()
Dsch_etf.c27 bool offload; member
271 if (!q->offload) in etf_disable_offload()
294 if (q->offload) in etf_enable_offload()
360 q->offload = OFFLOAD_IS_ON(qopt); in etf_init()
444 if (q->offload) in etf_dump()
/Linux-v4.19/net/tls/
DKconfig19 bool "Transport Layer Security HW offload"
24 Enable kernel support for HW offload of the TLS protocol.
/Linux-v4.19/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
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/bpf/
Doffload.c229 prog->aux->offload->dev_priv = nfp_prog; in nfp_bpf_verifier_prep()
252 struct nfp_prog *nfp_prog = prog->aux->offload->dev_priv; in nfp_bpf_translate()
276 prog->aux->offload->jited_len = nfp_prog->prog_len * sizeof(u64); in nfp_bpf_translate()
277 prog->aux->offload->jited_image = nfp_prog->prog; in nfp_bpf_translate()
284 struct nfp_prog *nfp_prog = prog->aux->offload->dev_priv; in nfp_bpf_destroy()
449 return nfp_bpf_translate(nn, bpf->offload.prog); in nfp_ndo_bpf()
451 return nfp_bpf_destroy(nn, bpf->offload.prog); in nfp_ndo_bpf()
512 struct nfp_prog *nfp_prog = prog->aux->offload->dev_priv; in nfp_net_bpf_load()
/Linux-v4.19/Documentation/driver-model/
Ddesign-patterns.txt74 struct work_struct offload;
80 struct foo *foo = container_of(work, struct foo, offload);
89 queue_work(foo->wq, &foo->offload);
98 INIT_WORK(&foo->offload, foo_work);
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/
DMakefile44 flower/offload.o \
52 bpf/offload.o \
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
DKconfig98 bool "IPSec XFRM cryptography-offload accelaration"
105 Build support for IPsec cryptography-offload accelaration in the NIC.
110 bool "TLS cryptography-offload accelaration"
117 Build support for TLS cryptography-offload accelaration in the NIC.
/Linux-v4.19/net/ipv6/
DMakefile15 ipv6-offload := ip6_offload.o tcpv6_offload.o exthdrs_offload.o
53 obj-$(CONFIG_INET) += output_core.o protocol.o $(ipv6-offload)

12345