/openbmc/linux/drivers/net/can/dev/ |
H A D | rx-offload.c | 9 #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_reschedule(&offload->napi); in can_rx_offload_napi_poll() [all …]
|
/openbmc/linux/kernel/bpf/ |
H A D | offload.c | 30 /* Protects offdevs, members of bpf_offload_netdev and offload members 95 netdev_warn(netdev, "failed to register for BPF offload\n"); in __bpf_offload_dev_netdev_register() 110 struct bpf_prog_offload *offload = prog->aux->offload; in __bpf_prog_offload_destroy() local 112 if (offload->dev_state) in __bpf_prog_offload_destroy() 113 offload->offdev->ops->destroy(prog); in __bpf_prog_offload_destroy() 115 list_del_init(&offload->offloads); in __bpf_prog_offload_destroy() 116 kfree(offload); in __bpf_prog_offload_destroy() 117 prog->aux->offload = NULL; in __bpf_prog_offload_destroy() 150 struct bpf_prog_offload *offload, *ptmp; in __bpf_offload_dev_netdev_unregister() local 169 list_for_each_entry(offload, &ondev->progs, offloads) in __bpf_offload_dev_netdev_unregister() [all …]
|
/openbmc/linux/include/linux/can/ |
H A D | rx-offload.h | 3 * 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 …]
|
/openbmc/linux/Documentation/networking/ |
H A D | xfrm_device.rst | 18 Luckily, there are NICs that offer a hardware based IPsec offload which 21 hardware offload. 23 Right now, there are two types of hardware offload that kernel supports. 24 * IPsec crypto offload: 27 * IPsec packet offload: 34 Userland access to the offload is typically through a system such as 37 like this for crypto offload: 43 offload dev eth4 dir in 45 and for packet offload 51 offload packet dev eth4 dir in [all …]
|
H A D | segmentation-offloads.rst | 12 to take advantage of segmentation offload capabilities of various NICs. 15 * TCP Segmentation Offload - TSO 16 * UDP Fragmentation Offload - UFO 18 * Generic Segmentation Offload - GSO 19 * Generic Receive Offload - GRO 20 * Partial Generic Segmentation Offload - GSO_PARTIAL 24 TCP Segmentation Offload 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 [all …]
|
H A 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 …]
|
H A D | checksum-offloads.rst | 12 take advantage of checksum offload capabilities of various NICs. 16 * TX Checksum Offload 17 * LCO: Local Checksum Offload 18 * RCO: Remote Checksum Offload 22 * RX Checksum Offload 26 TX Checksum Offload 61 A driver declares its offload capabilities in netdev->hw_features; see 71 The stack should, for the most part, assume that checksum offload is supported 74 function compares the offload features requested by the SKB (which may include 75 other offloads besides TX Checksum Offload) and, if they are not supported or [all …]
|
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 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 …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_helper.c | 40 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() 45 offload->should_burst_write = in submit_dmub_read_modify_write() 46 (offload->same_addr_count == (DMUB_READ_MODIFY_WRITE_SEQ__MAX - 1)); in submit_dmub_read_modify_write() 48 sizeof(struct dmub_cmd_read_modify_write_sequence) * offload->reg_seq_count; in submit_dmub_read_modify_write() 50 dm_execute_dmub_cmd(ctx, &offload->cmd_data, DM_DMUB_WAIT_TYPE_NO_WAIT); in submit_dmub_read_modify_write() 54 offload->reg_seq_count = 0; in submit_dmub_read_modify_write() 55 offload->same_addr_count = 0; in submit_dmub_read_modify_write() 59 struct dc_reg_helper_state *offload, in submit_dmub_burst_write() argument 62 struct dmub_rb_cmd_burst_write *cmd_buf = &offload->cmd_data.burst_write; in submit_dmub_burst_write() [all …]
|
/openbmc/linux/net/netfilter/ |
H A D | nf_flow_table_offload.c | 733 const struct flow_offload_work *offload, in nf_flow_offload_rule_alloc() argument 736 const struct nf_flowtable *flowtable = offload->flowtable; in nf_flow_offload_rule_alloc() 738 struct flow_offload *flow = offload->flow; in nf_flow_offload_rule_alloc() 802 static int nf_flow_offload_alloc(const struct flow_offload_work *offload, in nf_flow_offload_alloc() argument 805 struct net *net = read_pnet(&offload->flowtable->net); in nf_flow_offload_alloc() 807 flow_rule[0] = nf_flow_offload_rule_alloc(net, offload, in nf_flow_offload_alloc() 812 flow_rule[1] = nf_flow_offload_rule_alloc(net, offload, in nf_flow_offload_alloc() 871 static int flow_offload_tuple_add(struct flow_offload_work *offload, in flow_offload_tuple_add() argument 875 return nf_flow_offload_tuple(offload->flowtable, offload->flow, in flow_offload_tuple_add() 877 offload->flowtable->priority, in flow_offload_tuple_add() [all …]
|
/openbmc/qemu/net/ |
H A D | tap-linux.c | 166 unsigned offload; in tap_probe_has_ufo() local 168 offload = TUN_F_CSUM | TUN_F_UFO; in tap_probe_has_ufo() 170 if (ioctl(fd, TUNSETOFFLOAD, offload) < 0) in tap_probe_has_ufo() 178 unsigned offload; in tap_probe_has_uso() local 180 offload = TUN_F_CSUM | TUN_F_USO4 | TUN_F_USO6; in tap_probe_has_uso() 182 if (ioctl(fd, TUNSETOFFLOAD, offload) < 0) { in tap_probe_has_uso() 234 unsigned int offload = 0; in tap_fd_set_offload() local 242 offload |= TUN_F_CSUM; in tap_fd_set_offload() 244 offload |= TUN_F_TSO4; in tap_fd_set_offload() 246 offload |= TUN_F_TSO6; in tap_fd_set_offload() [all …]
|
/openbmc/linux/include/linux/ |
H A D | netdev_features.h | 30 NETIF_F_GRO_BIT, /* Generic receive offload */ 31 NETIF_F_LRO_BIT, /* large receive offload */ 61 NETIF_F_SCTP_CRC_BIT, /* SCTP checksum offload */ 64 NETIF_F_RXHASH_BIT, /* Receive hashing offload */ 65 NETIF_F_RXCSUM_BIT, /* Receive checksumming offload */ 75 NETIF_F_HW_TC_BIT, /* Offload TC infrastructure */ 76 NETIF_F_HW_ESP_BIT, /* Hardware ESP transformation offload */ 77 NETIF_F_HW_ESP_TX_CSUM_BIT, /* ESP with TX checksum offload */ 78 NETIF_F_RX_UDP_TUNNEL_PORT_BIT, /* Offload of RX port for UDP tunnels */ 79 NETIF_F_HW_TLS_TX_BIT, /* Hardware TLS TX offload */ [all …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/net/ethernet/netronome/ |
H A D | Kconfig | 33 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. 58 bool "NFP IPsec crypto offload support" 63 Enable driver support IPsec crypto offload on NFP NIC. 65 offload. NOTE that IPsec crypto offload on NFP NIC
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | qos_conf.c | 127 "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 …]
|
H A D | action.c | 42 /* BOS is optional in the TC action but required for offload. */ in nfp_fl_push_mpls() 46 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: BOS field must explicitly be set for MPLS push"); in nfp_fl_push_mpls() 147 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: maximum allowed action list size exceeded at LAG … in nfp_fl_pre_lag() 189 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: invalid egress interface for mirred action"); in nfp_fl_output() 198 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: egress interface does not match the required tunn… in nfp_fl_output() 203 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: cannot offload more than one tunnel mirred output… in nfp_fl_output() 225 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: pre-tunnel rules not supported in loaded firmware… in nfp_fl_output() 230 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: pre-tunnel rules require single egress dev and pt… in nfp_fl_output() 244 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: ingress and egress interfaces are on different de… in nfp_fl_output() 250 NL_SET_ERR_MSG_MOD(extack, "unsupported offload: egress interface is not an nfp port"); in nfp_fl_output() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_offload.py | 581 args = "hw-tc-offload %s" % ("on" if enable else "off") 692 start_test("Test multi-attachment XDP - %s + offload..." % 694 sim.set_xdp(obj, "offload") 705 "Offload program not reported after other activated") 710 "Offload ID changed after loading other program") 713 ret, _, err = sim.set_xdp(obj, "offload", fail=False, include_stderr=True) 723 sim.unset_xdp("offload") 731 "Offload program not reported after other activated") 734 fail(offloaded != "0", "Offload ID reported with only other program left") 737 sim.set_xdp(obj, "offload") [all …]
|
/openbmc/docs/designs/ |
H A D | power-systems-memory-preserving-reboot.md | 90 external entity to offload it at the time of a failure. 112 - Hypervisor should offload the dump to BMC to transfer to an external client. 176 #### 9 - HMC send request to dump offload 178 Once HMC is ready to offload, it creates NBD server and send dump offload 179 request to BMC. BMCWeb creates an NBD client and NBD proxy to offload the dump. 181 NBD device id. PLDM sends the offload request to the hypervisor with the dump 184 #### 10 - Hypervisor starts dump offload 190 #### 11 - Hypervisor sends down offload complete message 192 Hypervisor sends down offload complete message to BMC and BMC sends it to HMC. 204 ### Dump offload sequence [all …]
|
H A D | dump-manager.md | 35 dump manager, which is orchestrating the collection and offload, needs to 36 provide methods to create, store the dump details, and offload it. Additionally, 91 - Get a dump: Offload the dump to an external entity. 128 - When the request comes for offload, the file is downloaded from the dump base 178 - **InitiateOffload**: Initiate the offload of the dump. 188 - OffloadComplete: Set to true when offload is completed 189 - OffloadURI: The URI for offloading the dump, set while initiating the offload. 213 - InitiateOffload: Dump manager request Host to start offload 221 offload location. - BMC provides one common point for all dumps generated in 240 deleting host dumps - Create/List/Offload/Delete BMC dumps to make sure [all …]
|
/openbmc/linux/Documentation/crypto/ |
H A D | async-tx-api.rst | 34 the details of different hardware offload engine implementations. Code 36 the API will fit the chain of operations to the available offload 42 The API was initially designed to offload the memory copy and 43 xor-parity-calculations of the md-raid5 driver using the offload engines 50 the platform they are running on has offload capabilities. The 96 resources, under control of the offload engine driver, to be reused as 100 acknowledged by the application before the offload engine driver is allowed to 113 async_<operation> call. Offload engine drivers batch operations to 131 context if the offload engine driver supports interrupts, or it is 260 offload engine channel management routines [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | vxlan.sh | 5 # 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 …]
|
/openbmc/linux/net/sched/ |
H A D | sch_taprio.c | 109 struct tc_taprio_qopt_offload offload; member 417 /* txtime-assist and full offload are mutually exclusive */ in taprio_flags_valid() 545 /* Devices with full offload are expected to honor this in hardware */ 629 /* Will not be called in the full offload case, since the TX queues are 648 * the skb into smaller chunks. Drivers with full offload are in taprio_enqueue() 834 /* Will not be called in the full offload case, since the TX queues are 1371 __offload = kzalloc(struct_size(__offload, offload.entries, num_entries), in taprio_offload_alloc() 1378 return &__offload->offload; in taprio_offload_alloc() 1382 *offload) in taprio_offload_get() 1386 __offload = container_of(offload, struct __tc_taprio_qopt_offload, in taprio_offload_get() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | xlnx,axi-ethernet.yaml | 74 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.
|
/openbmc/linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
H A D | cbs.json | 18 … cbs 1: root refcnt [0-9]+ hicredit 0 locredit 0 sendslope 0 idleslope 0 offload 0.*qdisc pfifo 0:… 41 …cbs 1: root refcnt [0-9]+ hicredit 64 locredit 0 sendslope 0 idleslope 0 offload 0.*qdisc pfifo 0:… 64 …cbs 1: root refcnt [0-9]+ hicredit 0 locredit 10 sendslope 0 idleslope 0 offload 0.*qdisc pfifo 0:… 87 …bs 1: root refcnt [0-9]+ hicredit 0 locredit 0 sendslope 888 idleslope 0 offload 0.*qdisc pfifo 0:… 110 …bs 1: root refcnt [0-9]+ hicredit 0 locredit 0 sendslope 0 idleslope 666 offload 0.*qdisc pfifo 0:… 133 … 1: root refcnt [0-9]+ hicredit 10 locredit 75 sendslope 2 idleslope 666 offload 0.*qdisc pfifo 0:… 157 …cbs 1: root refcnt [0-9]+ hicredit 0 locredit 0 sendslope 10 idleslope 0 offload 0.*qdisc pfifo 0:… 181 … cbs 1: root refcnt [0-9]+ hicredit 0 locredit 0 sendslope 0 idleslope 1 offload 0.*qdisc pfifo 0:… 205 … cbs 1: root refcnt [0-9]+ hicredit 0 locredit 0 sendslope 0 idleslope 1 offload 0.*qdisc pfifo 0:…
|
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/ |
H A D | system_dump_entry.cpp | 25 lg2::info("System dump offload request id: {ID} uri: {URI} " in initiateOffload() 37 // Offload URI will be set during dump offload in delete_() 38 // Prevent delete when offload is in progress in delete_() 41 lg2::error("Dump offload is in progress id: {DUMP_ID} " in delete_()
|