Home
last modified time | relevance | path

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

123

/drivers/net/can/dev/
Drx-offload.c24 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()
66 if (!skb_queue_empty(&offload->skb_queue)) in can_rx_offload_napi_poll()
67 napi_reschedule(&offload->napi); in can_rx_offload_napi_poll()
70 can_led_event(offload->dev, CAN_LED_EVENT_RX); in can_rx_offload_napi_poll()
[all …]
DMakefile8 can-dev-y += rx-offload.o
/drivers/gpu/drm/amd/display/dc/
Ddc_helper.c40 struct dc_reg_helper_state *offload, in submit_dmub_read_modify_write() argument
43 struct dmub_rb_cmd_read_modify_write *cmd_buf = &offload->cmd_data.read_modify_write; in submit_dmub_read_modify_write()
46 offload->should_burst_write = in submit_dmub_read_modify_write()
47 (offload->same_addr_count == (DMUB_READ_MODIFY_WRITE_SEQ__MAX - 1)); in submit_dmub_read_modify_write()
49 sizeof(struct dmub_cmd_read_modify_write_sequence) * offload->reg_seq_count; in submit_dmub_read_modify_write()
54 dc_dmub_srv_cmd_queue(ctx->dmub_srv, &offload->cmd_data); in submit_dmub_read_modify_write()
60 offload->reg_seq_count = 0; in submit_dmub_read_modify_write()
61 offload->same_addr_count = 0; in submit_dmub_read_modify_write()
65 struct dc_reg_helper_state *offload, in submit_dmub_burst_write() argument
68 struct dmub_rb_cmd_burst_write *cmd_buf = &offload->cmd_data.burst_write; in submit_dmub_burst_write()
[all …]
/drivers/net/dsa/sja1105/
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 …]
/drivers/net/can/
Dti_hecc.c189 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 struct sk_buff *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()
554 skb = alloc_can_skb(offload->dev, &cf); in ti_hecc_mailbox_read()
636 err = can_rx_offload_queue_sorted(&priv->offload, skb, in ti_hecc_error()
671 err = can_rx_offload_queue_sorted(&priv->offload, skb, timestamp); in ti_hecc_change_state()
759 can_rx_offload_get_echo_skb(&priv->offload, in ti_hecc_interrupt()
775 can_rx_offload_irq_offload_timestamp(&priv->offload, in ti_hecc_interrupt()
[all …]
Dflexcan.c356 struct can_rx_offload offload; member
940 err = can_rx_offload_queue_sorted(&priv->offload, skb, timestamp); in flexcan_irq_bus_err()
987 err = can_rx_offload_queue_sorted(&priv->offload, skb, timestamp); in flexcan_irq_state()
1022 static inline struct flexcan_priv *rx_offload_to_priv(struct can_rx_offload *offload) in rx_offload_to_priv() argument
1024 return container_of(offload, struct flexcan_priv, offload); in rx_offload_to_priv()
1027 static struct sk_buff *flexcan_mailbox_read(struct can_rx_offload *offload, in flexcan_mailbox_read() argument
1031 struct flexcan_priv *priv = rx_offload_to_priv(offload); in flexcan_mailbox_read()
1056 offload->dev->stats.rx_over_errors++; in flexcan_mailbox_read()
1057 offload->dev->stats.rx_errors++; in flexcan_mailbox_read()
1073 skb = alloc_canfd_skb(offload->dev, &cfd); in flexcan_mailbox_read()
[all …]
/drivers/net/netdevsim/
Dbpf.c68 state = env->prog->aux->offload->dev_priv; in nsim_bpf_verify_insn()
96 if (!prog || !prog->aux->offload) in nsim_prog_set_loaded()
99 state = prog->aux->offload->dev_priv; in nsim_prog_set_loaded()
147 if (prog && !prog->aux->offload && !ns->bpf_tc_non_bound_accept) { in nsim_bpf_setup_tc_block_cb()
249 prog->aux->offload->dev_priv = state; in nsim_bpf_create_prog()
257 bpf_offload_dev_priv(prog->aux->offload->offdev); in nsim_bpf_verifier_prep()
267 struct nsim_bpf_bound_prog *state = prog->aux->offload->dev_priv; in nsim_bpf_translate()
277 state = prog->aux->offload->dev_priv; in nsim_bpf_destroy_prog()
295 if (bpf->prog && bpf->prog->aux->offload) { in nsim_setup_prog_checks()
314 if (!bpf->prog->aux->offload) { in nsim_setup_prog_hw_checks()
[all …]
/drivers/net/ethernet/netronome/
DKconfig33 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.
/drivers/net/ethernet/netronome/nfp/bpf/
Doffload.c199 prog->aux->offload->dev_priv = nfp_prog; in nfp_bpf_verifier_prep()
203 nfp_prog->bpf = bpf_offload_dev_priv(prog->aux->offload->offdev); in nfp_bpf_verifier_prep()
221 struct nfp_net *nn = netdev_priv(prog->aux->offload->netdev); in nfp_bpf_translate()
222 struct nfp_prog *nfp_prog = prog->aux->offload->dev_priv; in nfp_bpf_translate()
227 if (prog->aux->offload->opt_failed) in nfp_bpf_translate()
241 prog->aux->offload->jited_len = nfp_prog->prog_len * sizeof(u64); in nfp_bpf_translate()
242 prog->aux->offload->jited_image = nfp_prog->prog; in nfp_bpf_translate()
249 struct nfp_prog *nfp_prog = prog->aux->offload->dev_priv; in nfp_bpf_destroy()
499 struct nfp_prog *nfp_prog = prog->aux->offload->dev_priv; in nfp_net_bpf_load()
/drivers/crypto/ccp/
DKconfig20 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.
/drivers/scsi/bnx2fc/
DKconfig3 tristate "QLogic FCoE offload support"
14 This driver supports FCoE offload for the QLogic devices.
/drivers/misc/bcm-vk/
DKconfig11 multiple specific offload processing tasks in parallel.
12 Such offload tasks assist in such operations as video
/drivers/dma/mediatek/
DKconfig13 memory-to-memory transfer to offload from CPU through ring-
27 memory-to-memory transfer to offload from CPU.
/drivers/net/
Dmacsec.c113 enum macsec_offload offload; member
346 if (macsec->offload == MACSEC_OFFLOAD_MAC || in macsec_is_offloaded()
347 macsec->offload == MACSEC_OFFLOAD_PHY) in macsec_is_offloaded()
354 static bool macsec_check_offload(enum macsec_offload offload, in macsec_check_offload() argument
360 if (offload == MACSEC_OFFLOAD_PHY) in macsec_check_offload()
363 else if (offload == MACSEC_OFFLOAD_MAC) in macsec_check_offload()
370 static const struct macsec_ops *__macsec_get_ops(enum macsec_offload offload, in __macsec_get_ops() argument
376 ctx->offload = offload; in __macsec_get_ops()
378 if (offload == MACSEC_OFFLOAD_PHY) in __macsec_get_ops()
380 else if (offload == MACSEC_OFFLOAD_MAC) in __macsec_get_ops()
[all …]
/drivers/hid/intel-ish-hid/
DKconfig11 The Integrated Sensor Hub (ISH) enables the ability to offload
25 The Integrated Sensor Hub (ISH) enables the kernel to offload
/drivers/net/ethernet/netronome/nfp/
DMakefile52 flower/offload.o \
62 bpf/offload.o \
/drivers/net/ethernet/chelsio/inline_crypto/
DKconfig29 tristate "Chelsio IPSec XFRM Tx crypto offload"
47 This flag enables support for kernel tls offload over Chelsio T6
/drivers/net/ethernet/mellanox/mlx5/core/
DKconfig106 bool "MLX5 TC connection tracking offload support"
116 bool "MLX5 TC sample offload support"
169 bool "IPSec XFRM cryptography-offload acceleration"
175 Build support for IPsec cryptography-offload acceleration in the NIC.
207 Build support for TLS cryptography-offload acceleration in the NIC.
/drivers/net/ethernet/intel/ice/
Dice_txrx.c2186 struct ice_tx_offload_params offload = { 0 }; in ice_xmit_frame_ring() local
2215 offload.tx_ring = tx_ring; in ice_xmit_frame_ring()
2228 tso = ice_tso(first, &offload); in ice_xmit_frame_ring()
2233 csum = ice_tx_csum(first, &offload); in ice_xmit_frame_ring()
2243 offload.cd_qw1 |= (u64)(ICE_TX_DESC_DTYPE_CTX | in ice_xmit_frame_ring()
2247 ice_tstamp(tx_ring, skb, first, &offload); in ice_xmit_frame_ring()
2249 if (offload.cd_qw1 & ICE_TX_DESC_DTYPE_CTX) { in ice_xmit_frame_ring()
2259 cdesc->tunneling_params = cpu_to_le32(offload.cd_tunnel_params); in ice_xmit_frame_ring()
2260 cdesc->l2tag2 = cpu_to_le16(offload.cd_l2tag2); in ice_xmit_frame_ring()
2262 cdesc->qw1 = cpu_to_le64(offload.cd_qw1); in ice_xmit_frame_ring()
[all …]
/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-core.c1293 can_rx_offload_get_echo_skb(&priv->offload, in mcp251xfd_handle_tefif_one()
1527 err = can_rx_offload_queue_sorted(&priv->offload, skb, hw_rx_obj->ts); in mcp251xfd_handle_rxif_one()
1679 err = can_rx_offload_queue_sorted(&priv->offload, skb, timestamp); in mcp251xfd_handle_rxovif()
1784 err = can_rx_offload_queue_sorted(&priv->offload, skb, timestamp); in mcp251xfd_handle_ivmif()
1857 err = can_rx_offload_queue_sorted(&priv->offload, skb, timestamp); in mcp251xfd_handle_cerrif()
2199 can_rx_offload_threaded_irq_finish(&priv->offload); in mcp251xfd_irq()
2294 can_rx_offload_threaded_irq_finish(&priv->offload); in mcp251xfd_irq()
2303 can_rx_offload_threaded_irq_finish(&priv->offload); in mcp251xfd_irq()
2530 can_rx_offload_enable(&priv->offload); in mcp251xfd_open()
2549 can_rx_offload_disable(&priv->offload); in mcp251xfd_open()
[all …]
/drivers/net/ethernet/broadcom/
DKconfig104 This driver supports offload features of QLogic bnx2 gigabit
231 bool "TC Flower offload support for NetXtreme-C/E"
236 offload for eswitch. This option enables SR-IOV switchdev eswitch
237 offload.
/drivers/target/iscsi/cxgbit/
DKconfig3 tristate "Chelsio iSCSI target offload driver"
/drivers/scsi/cxgbi/cxgb3i/
DKconfig12 This driver supports iSCSI offload for the Chelsio T3 devices.
/drivers/scsi/qedf/
DKconfig11 This driver supports FCoE offload for the QLogic FastLinQ
/drivers/scsi/qedi/
DKconfig12 This driver supports iSCSI offload for the QLogic FastLinQ

123