Files: src/common/*s390x*
Copyright: 2024 IBM <contact@ibm.com>
-License: GNU General Public License, version 2
- Apache License, version 2.0
+License: Apache License, version 2.0
/*
- * CRC-32 algorithm implemented with the z/Architecture
- * Vector Extension Facility.
+ * CRC-32 algorithm implemented with the z/Architecture Vector Extension
+ * Facility.
+ *
+ * Copyright 2024 IBM Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy
+ * of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ *
*
- * Copyright IBM Corp. 2024
* Author(s): Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
* Anton Blanchard <anton@au.ibm.com>
* Bryan Chan <bryan.chan@ca.ibm.com>
* Chris Zou <chriszou@ca.ibm.com>
* Aliaksei Makarau <aliaksei.makarau@ibm.com>
*/
+
#include <sys/types.h>
#include <endian.h>
#include "crc32c_s390x.h"
+/*
+ * CRC-32 algorithm implemented with the z/Architecture Vector Extension
+ * Facility.
+ *
+ * Copyright 2024 IBM Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy
+ * of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ */
+
#ifndef CEPH_COMMON_CRC32C_S390X_H
#define CEPH_COMMON_CRC32C_S390X_H
/*
* Hardware-accelerated CRC-32 variants for Linux on z Systems
*
- * Use the z/Architecture Vector Extension Facility to accelerate the
- * computing of bit-reflected CRC-32 checksums for IEEE 802.3 Ethernet
- * and Castagnoli.
+ * Use the z/Architecture Vector Extension Facility to accelerate the computing
+ * of bit-reflected CRC-32 checksums for IEEE 802.3 Ethernet and Castagnoli.
*
- * This CRC-32 implementation algorithm is bit-reflected and processes
- * the least-significant bit first (Little-Endian).
+ * This CRC-32 implementation algorithm is bit-reflected and processes the
+ * least-significant bit first (Little-Endian).
+ *
+ * Copyright 2015 IBM Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy
+ * of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
*
- * Copyright IBM Corp. 2015
* Author(s): Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
*/
/*
* Support for Vector Instructions
*
- * Assembler macros to generate .byte/.word code for particular
- * vector instructions that are supported by recent binutils.
+ * Assembler macros to generate .byte/.word code for particular vector
+ * instructions that are supported by recent binutils.
+ *
+ * Copyright 2015 IBM Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy
+ * of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
*
- * Copyright IBM Corp. 2015
* Author(s): Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
*/