Home
last modified time | relevance | path

Searched +full:no +full:- +full:hw +full:- +full:checksum (Results 1 – 25 of 719) sorted by relevance

12345678910>>...29

/kernel/linux/linux-6.6/drivers/net/ethernet/intel/e1000e/
Dmanage.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
7 * e1000_calculate_checksum - Calculate checksum for buffer
9 * @length: size of EEPROM to calculate a checksum for
11 * Calculates the checksum for some buffer on a specified length. The
12 * checksum calculated is returned.
25 return (u8)(0 - sum); in e1000_calculate_checksum()
29 * e1000_mng_enable_host_if - Checks host interface is enabled
30 * @hw: pointer to the HW structure
32 * Returns 0 upon success, else -E1000_ERR_HOST_INTERFACE_COMMAND
[all …]
D82571.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
22 static s32 e1000_get_phy_id_82571(struct e1000_hw *hw);
23 static s32 e1000_setup_copper_link_82571(struct e1000_hw *hw);
24 static s32 e1000_setup_fiber_serdes_link_82571(struct e1000_hw *hw);
25 static s32 e1000_check_for_serdes_link_82571(struct e1000_hw *hw);
26 static s32 e1000_write_nvm_eewr_82571(struct e1000_hw *hw, u16 offset,
28 static s32 e1000_fix_nvm_checksum_82571(struct e1000_hw *hw);
29 static void e1000_initialize_hw_bits_82571(struct e1000_hw *hw);
30 static void e1000_clear_hw_cntrs_82571(struct e1000_hw *hw);
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/
Dmanage.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
7 * e1000_calculate_checksum - Calculate checksum for buffer
9 * @length: size of EEPROM to calculate a checksum for
11 * Calculates the checksum for some buffer on a specified length. The
12 * checksum calculated is returned.
25 return (u8)(0 - sum); in e1000_calculate_checksum()
29 * e1000_mng_enable_host_if - Checks host interface is enabled
30 * @hw: pointer to the HW structure
32 * Returns 0 upon success, else -E1000_ERR_HOST_INTERFACE_COMMAND
[all …]
D82571.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
22 static s32 e1000_get_phy_id_82571(struct e1000_hw *hw);
23 static s32 e1000_setup_copper_link_82571(struct e1000_hw *hw);
24 static s32 e1000_setup_fiber_serdes_link_82571(struct e1000_hw *hw);
25 static s32 e1000_check_for_serdes_link_82571(struct e1000_hw *hw);
26 static s32 e1000_write_nvm_eewr_82571(struct e1000_hw *hw, u16 offset,
28 static s32 e1000_fix_nvm_checksum_82571(struct e1000_hw *hw);
29 static void e1000_initialize_hw_bits_82571(struct e1000_hw *hw);
30 static void e1000_clear_hw_cntrs_82571(struct e1000_hw *hw);
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgb/
Dixgb_param.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2008 Intel Corporation. */
14 #define OPTION_UNSET -1
33 * Valid Range: 64-4096
42 * Valid Range: 64-4096
51 * Valid Range: 0-3
52 * - 0 - No Flow Control
53 * - 1 - Rx only, respond to PAUSE frames but do not generate them
54 * - 2 - Tx only, generate PAUSE frames but ignore them on receive
55 * - 3 - Full Flow Control Support
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
Digc_i225.c1 // SPDX-License-Identifier: GPL-2.0
9 * igc_get_hw_semaphore_i225 - Acquire hardware semaphore
10 * @hw: pointer to the HW structure
15 * EEPROM access and return -IGC_ERR_NVM (-1).
17 static s32 igc_acquire_nvm_i225(struct igc_hw *hw) in igc_acquire_nvm_i225() argument
19 return igc_acquire_swfw_sync_i225(hw, IGC_SWFW_EEP_SM); in igc_acquire_nvm_i225()
23 * igc_release_nvm_i225 - Release exclusive access to EEPROM
24 * @hw: pointer to the HW structure
29 static void igc_release_nvm_i225(struct igc_hw *hw) in igc_release_nvm_i225() argument
31 igc_release_swfw_sync_i225(hw, IGC_SWFW_EEP_SM); in igc_release_nvm_i225()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igc/
Digc_i225.c1 // SPDX-License-Identifier: GPL-2.0
10 * igc_acquire_nvm_i225 - Acquire exclusive access to EEPROM
11 * @hw: pointer to the HW structure
16 * EEPROM access and return -IGC_ERR_NVM (-1).
18 static s32 igc_acquire_nvm_i225(struct igc_hw *hw) in igc_acquire_nvm_i225() argument
20 return igc_acquire_swfw_sync_i225(hw, IGC_SWFW_EEP_SM); in igc_acquire_nvm_i225()
24 * igc_release_nvm_i225 - Release exclusive access to EEPROM
25 * @hw: pointer to the HW structure
30 static void igc_release_nvm_i225(struct igc_hw *hw) in igc_release_nvm_i225() argument
32 igc_release_swfw_sync_i225(hw, IGC_SWFW_EEP_SM); in igc_release_nvm_i225()
[all …]
/kernel/linux/linux-5.10/include/net/
Dudplite.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Definitions for the UDP-Lite (RFC 3828) code.
10 /* UDP-Lite socket options */
18 * Checksum computation is all in software, hence simpler getfrag.
24 return copy_from_iter_full(to, len, &msg->msg_iter) ? 0 : -EFAULT; in udplite_getfrag()
34 /* In UDPv4 a zero checksum means that the transmitter generated no in udplite_checksum_init()
35 * checksum. UDP-Lite (like IPv6) mandates checksums, hence packets in udplite_checksum_init()
36 * with a zero checksum field are illegal. */ in udplite_checksum_init()
37 if (uh->check == 0) { in udplite_checksum_init()
38 net_dbg_ratelimited("UDPLite: zeroed checksum field\n"); in udplite_checksum_init()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/
De1000_82575.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2007 - 2018 Intel Corporation. */
46 static s32 igb_set_pcie_completion_timeout(struct e1000_hw *hw);
47 static s32 igb_reset_mdicnfg_82580(struct e1000_hw *hw);
48 static s32 igb_validate_nvm_checksum_82580(struct e1000_hw *hw);
49 static s32 igb_update_nvm_checksum_82580(struct e1000_hw *hw);
50 static s32 igb_validate_nvm_checksum_i350(struct e1000_hw *hw);
51 static s32 igb_update_nvm_checksum_i350(struct e1000_hw *hw);
55 /* Due to a hw errata, if the host tries to configure the VFTA register
61 * igb_write_vfta_i350 - Write value to VLAN filter table
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
De1000_82575.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2007 - 2018 Intel Corporation. */
46 static s32 igb_set_pcie_completion_timeout(struct e1000_hw *hw);
47 static s32 igb_reset_mdicnfg_82580(struct e1000_hw *hw);
48 static s32 igb_validate_nvm_checksum_82580(struct e1000_hw *hw);
49 static s32 igb_update_nvm_checksum_82580(struct e1000_hw *hw);
50 static s32 igb_validate_nvm_checksum_i350(struct e1000_hw *hw);
51 static s32 igb_update_nvm_checksum_i350(struct e1000_hw *hw);
55 /* Due to a hw errata, if the host tries to configure the VFTA register
61 * igb_write_vfta_i350 - Write value to VLAN filter table
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_x550.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
15 static s32 ixgbe_get_invariants_X550_x(struct ixgbe_hw *hw) in ixgbe_get_invariants_X550_x() argument
17 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_get_invariants_X550_x()
18 struct ixgbe_phy_info *phy = &hw->phy; in ixgbe_get_invariants_X550_x()
19 struct ixgbe_link_info *link = &hw->link; in ixgbe_get_invariants_X550_x()
22 ixgbe_get_invariants_X540(hw); in ixgbe_get_invariants_X550_x()
24 if (mac->ops.get_media_type(hw) != ixgbe_media_type_copper) in ixgbe_get_invariants_X550_x()
25 phy->ops.set_phy_power = NULL; in ixgbe_get_invariants_X550_x()
27 link->addr = IXGBE_CS4227; in ixgbe_get_invariants_X550_x()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_x550.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
15 static s32 ixgbe_get_invariants_X550_x(struct ixgbe_hw *hw) in ixgbe_get_invariants_X550_x() argument
17 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_get_invariants_X550_x()
18 struct ixgbe_phy_info *phy = &hw->phy; in ixgbe_get_invariants_X550_x()
19 struct ixgbe_link_info *link = &hw->link; in ixgbe_get_invariants_X550_x()
22 ixgbe_get_invariants_X540(hw); in ixgbe_get_invariants_X550_x()
24 if (mac->ops.get_media_type(hw) != ixgbe_media_type_copper) in ixgbe_get_invariants_X550_x()
25 phy->ops.set_phy_power = NULL; in ixgbe_get_invariants_X550_x()
27 link->addr = IXGBE_CS4227; in ixgbe_get_invariants_X550_x()
[all …]
Dixgbe_common.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
13 static s32 ixgbe_acquire_eeprom(struct ixgbe_hw *hw);
14 static s32 ixgbe_get_eeprom_semaphore(struct ixgbe_hw *hw);
15 static void ixgbe_release_eeprom_semaphore(struct ixgbe_hw *hw);
16 static s32 ixgbe_ready_eeprom(struct ixgbe_hw *hw);
17 static void ixgbe_standby_eeprom(struct ixgbe_hw *hw);
18 static void ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, u16 data,
20 static u16 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count);
21 static void ixgbe_raise_eeprom_clk(struct ixgbe_hw *hw, u32 *eec);
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_param.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 1999 - 2010 Intel Corporation.
12 #define OPTION_UNSET -1
17 * TxDescriptors - Transmit Descriptor Count
18 * @Valid Range: PCH_GBE_MIN_TXD - PCH_GBE_MAX_TXD
26 * RxDescriptors -Receive Descriptor Count
27 * @Valid Range: PCH_GBE_MIN_RXD - PCH_GBE_MAX_RXD
35 * Speed - User Specified Speed Override
37 * - 0: auto-negotiate at all supported speeds
38 * - 10: only link at 10 Mbps
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_param.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 1999 - 2010 Intel Corporation.
12 #define OPTION_UNSET -1
17 * TxDescriptors - Transmit Descriptor Count
18 * @Valid Range: PCH_GBE_MIN_TXD - PCH_GBE_MAX_TXD
26 * RxDescriptors -Receive Descriptor Count
27 * @Valid Range: PCH_GBE_MIN_RXD - PCH_GBE_MAX_RXD
35 * Speed - User Specified Speed Override
37 * - 0: auto-negotiate at all supported speeds
38 * - 10: only link at 10 Mbps
[all …]
/kernel/linux/linux-6.6/include/linux/
Dnetdev_features.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
16 NETIF_F_IP_CSUM_BIT, /* Can checksum TCP/UDP over IPv4. */
18 NETIF_F_HW_CSUM_BIT, /* Can checksum all the packets. */
19 NETIF_F_IPV6_CSUM_BIT, /* Can checksum TCP/UDP over IPV6 */
22 NETIF_F_HW_VLAN_CTAG_TX_BIT, /* Transmit VLAN CTAG HW acceleration */
23 NETIF_F_HW_VLAN_CTAG_RX_BIT, /* Receive VLAN CTAG HW acceleration */
27 NETIF_F_LLTX_BIT, /* LockLess TX - deprecated. Please */
36 NETIF_F_GSO_ROBUST_BIT, /* ... ->SKB_GSO_DODGY */
47 NETIF_F_GSO_PARTIAL_BIT, /* ... Only segment inner-most L4
61 NETIF_F_SCTP_CRC_BIT, /* SCTP checksum offload */
[all …]
/kernel/linux/linux-5.10/include/linux/
Dnetdev_features.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
16 NETIF_F_IP_CSUM_BIT, /* Can checksum TCP/UDP over IPv4. */
18 NETIF_F_HW_CSUM_BIT, /* Can checksum all the packets. */
19 NETIF_F_IPV6_CSUM_BIT, /* Can checksum TCP/UDP over IPV6 */
22 NETIF_F_HW_VLAN_CTAG_TX_BIT, /* Transmit VLAN CTAG HW acceleration */
23 NETIF_F_HW_VLAN_CTAG_RX_BIT, /* Receive VLAN CTAG HW acceleration */
27 NETIF_F_LLTX_BIT, /* LockLess TX - deprecated. Please */
36 NETIF_F_GSO_ROBUST_BIT, /* ... ->SKB_GSO_DODGY */
47 NETIF_F_GSO_PARTIAL_BIT, /* ... Only segment inner-most L4
61 NETIF_F_SCTP_CRC_BIT, /* SCTP checksum offload */
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/alx/
Dhw.h28 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
43 /* Transmit Packet Descriptor, contains 4 32-bit words.
46 * +----------------+----------------+
47 * | vlan-tag | buf length |
48 * +----------------+----------------+
50 * +----------------+----------------+
52 * +----------------+----------------+
54 * +----------------+----------------+
56 * Word 2 and 3 combine to form a 64-bit buffer address
59 * if bit8 =='1', the definition is just for custom checksum offload.
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/atheros/alx/
Dhw.h28 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
43 /* Transmit Packet Descriptor, contains 4 32-bit words.
46 * +----------------+----------------+
47 * | vlan-tag | buf length |
48 * +----------------+----------------+
50 * +----------------+----------------+
52 * +----------------+----------------+
54 * +----------------+----------------+
56 * Word 2 and 3 combine to form a 64-bit buffer address
59 * if bit8 =='1', the definition is just for custom checksum offload.
[all …]
/kernel/linux/linux-6.6/include/net/
Dudplite.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Definitions for the UDP-Lite (RFC 3828) code.
11 /* UDP-Lite socket options */
19 * Checksum computation is all in software, hence simpler getfrag.
25 return copy_from_iter_full(to, len, &msg->msg_iter) ? 0 : -EFAULT; in udplite_getfrag()
35 /* In UDPv4 a zero checksum means that the transmitter generated no in udplite_checksum_init()
36 * checksum. UDP-Lite (like IPv6) mandates checksums, hence packets in udplite_checksum_init()
37 * with a zero checksum field are illegal. */ in udplite_checksum_init()
38 if (uh->check == 0) { in udplite_checksum_init()
39 net_dbg_ratelimited("UDPLite: zeroed checksum field\n"); in udplite_checksum_init()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/wil6210/
Dtxrx_edma.h1 /* SPDX-License-Identifier: ISC */
3 * Copyright (c) 2012-2016,2018-2019, The Linux Foundation. All rights reserved.
75 /* Enhanced Rx descriptor - MAC part
89 /* Enhanced Rx descriptor - DMA part
90 * [dword 0] - Reserved
92 * bit 0..31 : addr_low:32 The payload buffer address, bits 0-31
94 * bit 0..15 : addr_high_low:16 The payload buffer address, bits 32-47
97 * bit 0..15 : addr_high_high:16 The payload buffer address, bits 48-63
113 /* Enhanced Tx descriptor - DMA part
117 * bit 0..31 : addr_low:32 The payload buffer address, bits 0-31
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/
Dtxrx_edma.h1 /* SPDX-License-Identifier: ISC */
3 * Copyright (c) 2012-2016,2018-2019, The Linux Foundation. All rights reserved.
75 /* Enhanced Rx descriptor - MAC part
89 /* Enhanced Rx descriptor - DMA part
90 * [dword 0] - Reserved
92 * bit 0..31 : addr_low:32 The payload buffer address, bits 0-31
94 * bit 0..15 : addr_high_low:16 The payload buffer address, bits 32-47
97 * bit 0..15 : addr_high_high:16 The payload buffer address, bits 48-63
113 /* Enhanced Tx descriptor - DMA part
117 * bit 0..31 : addr_low:32 The payload buffer address, bits 0-31
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
Di40e_nvm.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2013 - 2018 Intel Corporation. */
10 * i40e_init_nvm - Initialize NVM function pointers
11 * @hw: pointer to the HW structure
19 int i40e_init_nvm(struct i40e_hw *hw) in i40e_init_nvm() argument
21 struct i40e_nvm_info *nvm = &hw->nvm; in i40e_init_nvm()
29 gens = rd32(hw, I40E_GLNVM_GENS); in i40e_init_nvm()
33 nvm->sr_size = BIT(sr_size) * I40E_SR_WORDS_IN_1KB; in i40e_init_nvm()
36 fla = rd32(hw, I40E_GLNVM_FLA); in i40e_init_nvm()
39 nvm->timeout = I40E_MAX_NVM_TIMEOUT; in i40e_init_nvm()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_nvm.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2013 - 2018 Intel Corporation. */
7 * i40e_init_nvm_ops - Initialize NVM function pointers
8 * @hw: pointer to the HW structure
16 i40e_status i40e_init_nvm(struct i40e_hw *hw) in i40e_init_nvm() argument
18 struct i40e_nvm_info *nvm = &hw->nvm; in i40e_init_nvm()
26 gens = rd32(hw, I40E_GLNVM_GENS); in i40e_init_nvm()
30 nvm->sr_size = BIT(sr_size) * I40E_SR_WORDS_IN_1KB; in i40e_init_nvm()
33 fla = rd32(hw, I40E_GLNVM_FLA); in i40e_init_nvm()
36 nvm->timeout = I40E_MAX_NVM_TIMEOUT; in i40e_init_nvm()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dftgmac100.txt4 - compatible: "faraday,ftgmac100"
10 - "aspeed,ast2400-mac"
11 - "aspeed,ast2500-mac"
12 - "aspeed,ast2600-mac"
14 - reg: Address and length of the register set for the device
15 - interrupts: Should contain ethernet controller interrupt
18 - phy-mode: See ethernet.txt file in the same directory. If the property is
21 - use-ncsi: Use the NC-SI stack instead of an MDIO PHY. Currently assumes
22 rmii (100bT) but kept as a separate property in case NC-SI grows support
24 - no-hw-checksum: Used to disable HW checksum support. Here for backward
[all …]

12345678910>>...29