instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux kernel'inin 'drivers/net/ethernet/intel/ixgbevf/ipsec' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2018 Oracle and/or its affiliates. All rights reserved. */ #include "ixgbevf.h" #include <net/xfrm.h> #include <crypto/aead.h> #define IXGBE_IPSEC_KEY_BITS 160 static const char aes_gcm_name[] = "rfc4106(gcm(aes))"; /** * ixgbevf_ipsec_set_pf_sa - ask the PF...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ixgbevf/vf' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 1999 - 2024 Intel Corporation. */ #ifndef __IXGBE_VF_H__ #define __IXGBE_VF_H__ #include <linux/pci.h> #include <linux/delay.h> #include <linux/interrupt.h> #include <linux/if_ether.h> #include <linux/netdevice.h> #include "defines.h" #include "regs.h" #inc...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ixgbevf/regs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 1999 - 2018 Intel Corporation. */ #ifndef _IXGBEVF_REGS_H_ #define _IXGBEVF_REGS_H_ #define IXGBE_VFCTRL 0x00000 #define IXGBE_VFSTATUS 0x00008 #define IXGBE_VFLINKS 0x00010 #define IXGBE_VFFRTIMER 0x00048 #define IXGBE_VFRXMEMWRAP 0x03190 #define IXGBE_...
Linux kernel'inin 'drivers/net/ethernet/intel/ixgbevf/mbx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 1999 - 2018 Intel Corporation. */ #include "mbx.h" #include "ixgbevf.h" /** * ixgbevf_poll_for_msg - Wait for message notification * @hw: pointer to the HW structure * * returns 0 if it successfully received a message notification **/ static s32 ixgbevf...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ixgbevf/ixgbevf' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 1999 - 2024 Intel Corporation. */ #ifndef _IXGBEVF_H_ #define _IXGBEVF_H_ #include <linux/types.h> #include <linux/bitops.h> #include <linux/timer.h> #include <linux/io.h> #include <linux/netdevice.h> #include <linux/if_vlan.h> #include <linux/u64_stats_sync...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/i40e/i40e_dcb' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 2013 - 2021 Intel Corporation. */ #ifndef _I40E_DCB_H_ #define _I40E_DCB_H_ #include "i40e_type.h" #define I40E_DCBX_STATUS_NOT_STARTED 0 #define I40E_DCBX_STATUS_IN_PROGRESS 1 #define I40E_DCBX_STATUS_DONE 2 #define I40E_DCBX_STATUS_MULTIPLE_PEERS 3 #defi...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/i40e/i40e_devlink' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2023, Intel Corporation. */ #ifndef _I40E_DEVLINK_H_ #define _I40E_DEVLINK_H_ #include <linux/device.h> struct i40e_pf; struct i40e_pf *i40e_alloc_pf(struct device *dev); void i40e_free_pf(struct i40e_pf *pf); void i40e_devlink_register(struct i40e_pf *pf...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/i40e/i40e_diag' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 2013 - 2018 Intel Corporation. */ #ifndef _I40E_DIAG_H_ #define _I40E_DIAG_H_ #include <linux/types.h> #include "i40e_adminq_cmd.h" /* forward-declare the HW struct for the compiler */ struct i40e_hw; enum i40e_lb_mode { I40E_LB_MODE_NONE = 0x0, I4...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/i40e/i40e_register' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 2013 - 2021 Intel Corporation. */ #ifndef _I40E_REGISTER_H_ #define _I40E_REGISTER_H_ /* I40E_MASK is a macro used on 32 bit registers */ #define I40E_MASK(mask, shift) ((u32)(mask) << (shift)) #define I40E_GL_ATQLEN_ATQCRIT_SHIFT 30 #define I40E_GL_ATQLEN_...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/i40e/i40e_adminq_cmd' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 2013 - 2021 Intel Corporation. */ #ifndef _I40E_ADMINQ_CMD_H_ #define _I40E_ADMINQ_CMD_H_ #include <linux/net/intel/libie/adminq.h> #include <linux/bits.h> #include <linux/types.h> /* This header file defines the i40e Admin Queue commands and is shared bet...
Linux kernel'inin 'drivers/net/ethernet/intel/i40e/i40e_main' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2013 - 2021 Intel Corporation. */ #include <generated/utsrelease.h> #include <linux/crash_dump.h> #include <linux/net/intel/libie/pctype.h> #include <linux/if_bridge.h> #include <linux/if_macvlan.h> #include <linux/module.h> #include <net/pkt_cls.h> #include <ne...
Linux kernel'inin 'drivers/net/ethernet/intel/i40e/i40e_debugfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2013 - 2018 Intel Corporation. */ #ifdef CONFIG_DEBUG_FS #include <linux/fs.h> #include <linux/debugfs.h> #include <linux/if_bridge.h> #include "i40e.h" #include "i40e_virtchnl_pf.h" static struct dentry *i40e_dbg_root; enum ring_type { RING_TYPE_RX, RING_T...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/i40e/i40e_adminq' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 2013 - 2018 Intel Corporation. */ #ifndef _I40E_ADMINQ_H_ #define _I40E_ADMINQ_H_ #include <linux/mutex.h> #include "i40e_alloc.h" #include "i40e_adminq_cmd.h" #define I40E_ADMINQ_DESC(R, i) \ (&(((struct libie_aq_desc *)((R).desc_buf.va))[i])) #define ...
Linux kernel'inin 'drivers/net/ethernet/intel/i40e/i40e_ddp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2013 - 2018 Intel Corporation. */ #include <linux/firmware.h> #include "i40e.h" #define I40_DDP_FLASH_REGION 100 #define I40E_PROFILE_INFO_SIZE 48 #define I40E_MAX_PROFILE_NUM 16 #define I40E_PROFILE_LIST_SIZE \ (I40E_PROFILE_INFO_SIZE * I40E_MAX_PROFILE_N...
Linux kernel'inin 'drivers/net/ethernet/intel/i40e/i40e_ptp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2013 - 2018 Intel Corporation. */ #include <linux/ptp_classify.h> #include <linux/posix-clock.h> #include "i40e.h" #include "i40e_devids.h" /* The XL710 timesync is very much like Intel's 82599 design when it comes to * the fundamental clock design. However, t...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/i40e/i40e_prototype' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 2013 - 2021 Intel Corporation. */ #ifndef _I40E_PROTOTYPE_H_ #define _I40E_PROTOTYPE_H_ #include <linux/ethtool.h> #include <linux/avf/virtchnl.h> #include "i40e_debug.h" #include "i40e_type.h" /* Prototypes for shared code functions that are not in * the ...
Linux kernel'inin 'drivers/net/ethernet/intel/i40e/i40e_lan_hmc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2013 - 2018 Intel Corporation. */ #include "i40e_alloc.h" #include "i40e_debug.h" #include "i40e_lan_hmc.h" #include "i40e_type.h" /* lan specific interface functions */ /** * i40e_align_l2obj_base - aligns base object pointer to 512 bytes * @offset: base ad...
Linux kernel'inin 'drivers/net/ethernet/intel/i40e/i40e_common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2013 - 2021 Intel Corporation. */ #include <linux/avf/virtchnl.h> #include <linux/bitfield.h> #include <linux/delay.h> #include <linux/etherdevice.h> #include <linux/pci.h> #include "i40e_adminq_cmd.h" #include "i40e_devids.h" #include "i40e_prototype.h" #includ...
Linux kernel'inin 'drivers/net/ethernet/intel/i40e/i40e_xsk' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2018 Intel Corporation. */ #include <linux/bpf_trace.h> #include <linux/unroll.h> #include <net/xdp_sock_drv.h> #include "i40e_txrx_common.h" #include "i40e_xsk.h" void i40e_clear_rx_bi_zc(struct i40e_ring *rx_ring) { memset(rx_ring->rx_bi_zc, 0, sizeo...
Linux kernel'inin 'drivers/net/ethernet/intel/i40e/i40e_txrx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2013 - 2018 Intel Corporation. */ #include <linux/bpf_trace.h> #include <linux/net/intel/libie/pctype.h> #include <linux/net/intel/libie/rx.h> #include <linux/prefetch.h> #include <linux/sctp.h> #include <net/mpls.h> #include <net/xdp.h> #include "i40e_txrx_comm...
Linux kernel'inin 'drivers/net/ethernet/intel/i40e/i40e_ethtool' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2013 - 2018 Intel Corporation. */ /* ethtool support for i40e */ #include <linux/net/intel/libie/pctype.h> #include "i40e_devids.h" #include "i40e_diag.h" #include "i40e_txrx_common.h" #include "i40e_virtchnl_pf.h" /* ethtool statistics helpers */ /** * stru...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 2013 - 2018 Intel Corporation. */ #ifndef _I40E_VIRTCHNL_PF_H_ #define _I40E_VIRTCHNL_PF_H_ #include <linux/avf/virtchnl.h> #include <linux/netdevice.h> #include "i40e_type.h" #define I40E_MAX_VLANID 4095 #define I40E_VIRTCHNL_SUPPORTED_QTYPES 2 #define I...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/i40e/i40e_lan_hmc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 2013 - 2018 Intel Corporation. */ #ifndef _I40E_LAN_HMC_H_ #define _I40E_LAN_HMC_H_ #include "i40e_hmc.h" /* forward-declare the HW struct for the compiler */ struct i40e_hw; /* HMC element context information */ /* Rx queue context data * * The sizes o...
Linux kernel'inin 'drivers/net/ethernet/intel/i40e/i40e_dcb' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2013 - 2021 Intel Corporation. */ #include <linux/bitfield.h> #include "i40e_adminq.h" #include "i40e_alloc.h" #include "i40e_dcb.h" #include "i40e_prototype.h" /** * i40e_get_dcbx_status * @hw: pointer to the hw struct * @status: Embedded DCBX Engine Status...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/i40e/i40e_trace' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 2013 - 2018 Intel Corporation. */ /* Modeled on trace-events-sample.h */ /* The trace subsystem name for i40e will be "i40e". * * This file is named i40e_trace.h. * * Since this include file's name is different from the trace * subsystem name, we'll hav...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/i40e/i40e' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 2013 - 2021 Intel Corporation. */ #ifndef _I40E_H_ #define _I40E_H_ #include <linux/linkmode.h> #include <linux/pci.h> #include <linux/ptp_clock_kernel.h> #include <linux/types.h> #include <linux/avf/virtchnl.h> #include <linux/net/intel/i40e_client.h> #incl...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/i40e/i40e_txrx_common' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 2018 Intel Corporation. */ #ifndef I40E_TXRX_COMMON_ #define I40E_TXRX_COMMON_ #include "i40e.h" int i40e_xmit_xdp_tx_ring(struct xdp_buff *xdp, struct i40e_ring *xdp_ring); void i40e_clean_programming_status(struct i40e_ring *rx_ring, u64 qword0_raw, ...
Linux kernel'inin 'drivers/net/ethernet/intel/i40e/i40e_diag' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2013 - 2018 Intel Corporation. */ #include "i40e_diag.h" #include "i40e_prototype.h" /** * i40e_diag_reg_pattern_test * @hw: pointer to the hw struct * @reg: reg to be tested * @mask: bits to be touched **/ static int i40e_diag_reg_pattern_test(struct i40e...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/i40e/i40e_devids' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 2013 - 2018 Intel Corporation. */ #ifndef _I40E_DEVIDS_H_ #define _I40E_DEVIDS_H_ /* Device IDs */ #define I40E_DEV_ID_X710_N3000 0x0CF8 #define I40E_DEV_ID_XXV710_N3000 0x0D58 #define I40E_DEV_ID_SFP_XL710 0x1572 #define I40E_DEV_ID_QEMU 0x1574 #define I...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/i40e/i40e_hmc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 2013 - 2018 Intel Corporation. */ #ifndef _I40E_HMC_H_ #define _I40E_HMC_H_ #include <linux/wordpart.h> #include "i40e_alloc.h" #include "i40e_io.h" #include "i40e_register.h" #define I40E_HMC_MAX_BP_COUNT 512 /* forward-declare the HW struct for the comp...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/i40e/i40e_alloc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 2013 - 2018 Intel Corporation. */ #ifndef _I40E_ALLOC_H_ #define _I40E_ALLOC_H_ #include <linux/types.h> struct i40e_hw; /* memory allocation tracking */ struct i40e_dma_mem { void *va; dma_addr_t pa; u32 size; }; struct i40e_virt_mem { void *va; u32...
Linux kernel'inin 'drivers/net/ethernet/intel/i40e/i40e_devlink' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2023 Intel Corporation. */ #include <net/devlink.h> #include "i40e.h" #include "i40e_devlink.h" static int i40e_max_mac_per_vf_set(struct devlink *devlink, u32 id, struct devlink_param_gset_ctx *ctx, struct netlink_ext_ack *extack) { struc...
Linux kernel'inin 'drivers/net/ethernet/intel/i40e/i40e_client' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2013 - 2018 Intel Corporation. */ #include <linux/list.h> #include <linux/errno.h> #include <linux/net/intel/i40e_client.h> #include "i40e.h" static LIST_HEAD(i40e_devices); static DEFINE_MUTEX(i40e_device_mutex); DEFINE_IDA(i40e_client_ida); static int i40e_...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/i40e/i40e_debug' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 2023 Intel Corporation. */ #ifndef _I40E_DEBUG_H_ #define _I40E_DEBUG_H_ #include <linux/dev_printk.h> /* debug masks - set these bits in hw->debug_mask to control output */ enum i40e_debug_mask { I40E_DEBUG_INIT = 0x00000001, I40E_DEBUG_RELEASE = 0x00...
Linux kernel'inin 'drivers/net/ethernet/intel/i40e/i40e_dcb_nl' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2013 - 2021 Intel Corporation. */ #ifdef CONFIG_I40E_DCB #include <net/dcbnl.h> #include "i40e.h" #define I40E_DCBNL_STATUS_SUCCESS 0 #define I40E_DCBNL_STATUS_ERROR 1 static bool i40e_dcbnl_find_app(struct i40e_dcbx_config *cfg, struct i40e_dcb_app_priori...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/i40e/i40e_xsk' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 2018 Intel Corporation. */ #ifndef _I40E_XSK_H_ #define _I40E_XSK_H_ #include <linux/types.h> /* This value should match the pragma in the unrolled_count() * macro. Why 4? It is strictly empirical. It seems to be a good * compromise between the advantage ...
Linux kernel'inin 'drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2013 - 2018 Intel Corporation. */ #include "i40e.h" #include "i40e_lan_hmc.h" #include "i40e_virtchnl_pf.h" /*********************notification routines***********************/ /** * i40e_vc_vf_broadcast * @pf: pointer to the PF structure * @v_opcode: operat...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/i40e/i40e_io' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 2023 Intel Corporation. */ #ifndef _I40E_IO_H_ #define _I40E_IO_H_ /* get readq/writeq support for 32 bit kernels, use the low-first version */ #include <linux/io-64-nonatomic-lo-hi.h> #define wr32(a, reg, value) writel((value), ((a)->hw_addr + (reg))) #def...
Linux kernel'inin 'drivers/net/ethernet/intel/i40e/i40e_hmc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2013 - 2018 Intel Corporation. */ #include "i40e_alloc.h" #include "i40e_debug.h" #include "i40e_hmc.h" #include "i40e_type.h" /** * i40e_add_sd_table_entry - Adds a segment descriptor to the table * @hw: pointer to our hw struct * @hmc_info: pointer to the ...
Linux kernel'inin 'drivers/net/ethernet/intel/i40e/i40e_adminq' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2013 - 2018 Intel Corporation. */ #include <linux/delay.h> #include "i40e_alloc.h" #include "i40e_register.h" #include "i40e_prototype.h" static void i40e_resume_aq(struct i40e_hw *hw); /** * i40e_alloc_adminq_asq_ring - Allocate Admin Queue send rings * @...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/i40e/i40e_txrx' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 2013 - 2018 Intel Corporation. */ #ifndef _I40E_TXRX_H_ #define _I40E_TXRX_H_ #include <linux/net/intel/libie/pctype.h> #include <net/xdp.h> #include "i40e_type.h" /* Interrupt Throttling and Rate Limiting Goodies */ #define I40E_DEFAULT_IRQ_WORK 256 ...
Linux kernel'inin 'drivers/net/ethernet/intel/i40e/i40e_nvm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2013 - 2018 Intel Corporation. */ #include <linux/bitfield.h> #include <linux/delay.h> #include "i40e_alloc.h" #include "i40e_prototype.h" /** * i40e_init_nvm - Initialize NVM function pointers * @hw: pointer to the HW structure * * Setup the function point...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/i40e/i40e_type' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 2013 - 2021 Intel Corporation. */ #ifndef _I40E_TYPE_H_ #define _I40E_TYPE_H_ #include <uapi/linux/if_ether.h> #include "i40e_adminq.h" #include "i40e_hmc.h" #define I40E_MAX_VSI_QP 16 #define I40E_MAX_VF_VSI 4 #define I40E_MAX_CHAINED_RX_BUFFERS 5 #def...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_fltr' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2018-2020, Intel Corporation. */ #ifndef _ICE_FLTR_H_ #define _ICE_FLTR_H_ #include "ice_vlan.h" void ice_fltr_free_list(struct device *dev, struct list_head *h); int ice_fltr_set_vlan_vsi_promisc(struct ice_hw *hw, struct ice_vsi *vsi, u8 promisc...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_vlan_mode' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2019-2021, Intel Corporation. */ #ifndef _ICE_VLAN_MODE_H_ #define _ICE_VLAN_MODE_H_ struct ice_hw; bool ice_is_dvm_ena(struct ice_hw *hw); int ice_set_vlan_mode(struct ice_hw *hw); void ice_post_pkg_dwnld_vlan_mode_cfg(struct ice_hw *hw); #endif /* _ICE_...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_ptp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2021, Intel Corporation. */ #ifndef _ICE_PTP_H_ #define _ICE_PTP_H_ #include <linux/ptp_clock_kernel.h> #include <linux/kthread.h> #include "ice_ptp_hw.h" /* The ice hardware captures Tx hardware timestamps in the PHY. The timestamp * is stored in a buff...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_type' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2018-2023, Intel Corporation. */ #ifndef _ICE_TYPE_H_ #define _ICE_TYPE_H_ #define ICE_BYTES_PER_WORD 2 #define ICE_BYTES_PER_DWORD 4 #define ICE_CHNL_MAX_TC 16 #include "ice_hw_autogen.h" #include "ice_devids.h" #include "ice_osdep.h" #include "ice_contr...
Linux kernel'inin 'drivers/net/ethernet/intel/ice/ice_parser_rt' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (C) 2024 Intel Corporation */ #include "ice_common.h" static void ice_rt_tsr_set(struct ice_parser_rt *rt, u16 tsr) { rt->gpr[ICE_GPR_TSR_IDX] = tsr; } static void ice_rt_ho_set(struct ice_parser_rt *rt, u16 ho) { rt->gpr[ICE_GPR_HO_IDX] = ho; memcpy(&rt->gpr[...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_vsi_vlan_ops' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2019-2021, Intel Corporation. */ #ifndef _ICE_VSI_VLAN_OPS_H_ #define _ICE_VSI_VLAN_OPS_H_ #include "ice_type.h" #include "ice_vsi_vlan_lib.h" struct ice_vsi; struct ice_vsi_vlan_ops { int (*add_vlan)(struct ice_vsi *vsi, struct ice_vlan *vlan); int (*d...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_ptp_consts' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2018-2021, Intel Corporation. */ #ifndef _ICE_PTP_CONSTS_H_ #define _ICE_PTP_CONSTS_H_ /* Constant definitions related to the hardware clock used for PTP 1588 * features and functionality. */ /* Constants defined for the PTP 1588 clock hardware. */ const...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_hwmon' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2023, Intel Corporation. */ #ifndef _ICE_HWMON_H_ #define _ICE_HWMON_H_ #ifdef CONFIG_ICE_HWMON void ice_hwmon_init(struct ice_pf *pf); void ice_hwmon_exit(struct ice_pf *pf); #else /* CONFIG_ICE_HWMON */ static inline void ice_hwmon_init(struct ice_pf *pf)...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_parser' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2024 Intel Corporation */ #ifndef _ICE_PARSER_H_ #define _ICE_PARSER_H_ #define ICE_SEC_DATA_OFFSET 4 #define ICE_SID_RXPARSER_IMEM_ENTRY_SIZE 48 #define ICE_SID_RXPARSER_METADATA_INIT_ENTRY_SIZE 24 #define ICE_SID_RXPARSER_CAM_ENTRY_SIZE 16 #define I...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_vf_lib' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2018-2021, Intel Corporation. */ #ifndef _ICE_VF_LIB_H_ #define _ICE_VF_LIB_H_ #include <linux/types.h> #include <linux/hashtable.h> #include <linux/bitmap.h> #include <linux/mutex.h> #include <linux/pci.h> #include <net/devlink.h> #include <linux/avf/virtc...
Linux kernel'inin 'drivers/net/ethernet/intel/ice/ice_sched' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2018, Intel Corporation. */ #include <net/devlink.h> #include "ice_sched.h" /** * ice_sched_add_root_node - Insert the Tx scheduler root node in SW DB * @pi: port information structure * @info: Scheduler element information from firmware * * This function...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_dcb' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2019, Intel Corporation. */ #ifndef _ICE_DCB_H_ #define _ICE_DCB_H_ #include "ice_type.h" #include <scsi/iscsi_proto.h> #define ICE_DCBX_STATUS_NOT_STARTED 0 #define ICE_DCBX_STATUS_IN_PROGRESS 1 #define ICE_DCBX_STATUS_DONE 2 #define ICE_DCBX_STATUS_DIS ...
Linux kernel'inin 'drivers/net/ethernet/intel/ice/ice_dpll' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (C) 2022, Intel Corporation. */ #include "ice.h" #include "ice_lib.h" #include "ice_trace.h" #include <linux/dpll.h> #include <linux/property.h> #define ICE_CGU_STATE_ACQ_ERR_THRESHOLD 50 #define ICE_DPLL_PIN_IDX_INVALID 0xff #define ICE_DPLL_RCLK_NUM_PER_PF 1 ...
Linux kernel'inin 'drivers/net/ethernet/intel/ice/ice_ddp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2022, Intel Corporation. */ #include "ice_common.h" #include "ice.h" #include "ice_ddp.h" #include "ice_sched.h" /* For supporting double VLAN mode, it is necessary to enable or disable certain * boost tcam entries. The metadata labels names that match the fo...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_sriov' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2018, Intel Corporation. */ #ifndef _ICE_SRIOV_H_ #define _ICE_SRIOV_H_ #include "virt/fdir.h" #include "ice_vf_lib.h" #include "virt/virtchnl.h" /* Static VF transaction/status register def */ #define VF_DEVICE_STATUS 0xAA #define VF_TRANS_PENDING_M 0x20...
Linux kernel'inin 'drivers/net/ethernet/intel/ice/ice_adapter' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only // SPDX-FileCopyrightText: Copyright Red Hat #include <linux/cleanup.h> #include <linux/mutex.h> #include <linux/pci.h> #include <linux/slab.h> #include <linux/spinlock.h> #include <linux/xarray.h> #include "ice_adapter.h" #include "ice.h" static DEFINE_XARRAY(ice_adapter...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_sf_eth' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2024, Intel Corporation. */ #ifndef _ICE_SF_ETH_H_ #define _ICE_SF_ETH_H_ #include <linux/auxiliary_bus.h> #include "ice.h" struct ice_sf_dev { struct auxiliary_device adev; struct ice_dynamic_port *dyn_port; struct ice_sf_priv *priv; }; struct ice_sf_...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_repr' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2019-2021, Intel Corporation. */ #ifndef _ICE_REPR_H_ #define _ICE_REPR_H_ #include <net/dst_metadata.h> struct ice_repr_pcpu_stats { struct u64_stats_sync syncp; u64 rx_packets; u64 rx_bytes; u64 tx_packets; u64 tx_bytes; u64 tx_drops; }; enum ice_...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_vsi_vlan_lib' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2019-2021, Intel Corporation. */ #ifndef _ICE_VSI_VLAN_LIB_H_ #define _ICE_VSI_VLAN_LIB_H_ #include <linux/types.h> #include "ice_vlan.h" struct ice_vsi_vlan_info { u8 sw_flags2; u8 inner_vlan_flags; u8 outer_vlan_flags; }; struct ice_vsi; int ice_vsi...
Linux kernel'inin 'drivers/net/ethernet/intel/ice/ice_dcb_lib' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2019, Intel Corporation. */ #include "ice_dcb_lib.h" #include "ice_dcb_nl.h" #include "devlink/devlink.h" /** * ice_dcb_get_ena_tc - return bitmap of enabled TCs * @dcbcfg: DCB config to evaluate for enabled TCs */ static u8 ice_dcb_get_ena_tc(struct ice_dc...
Linux kernel'inin 'drivers/net/ethernet/intel/ice/ice_irq' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (C) 2023, Intel Corporation. */ #include "ice.h" #include "ice_lib.h" #include "ice_irq.h" /** * ice_init_irq_tracker - initialize interrupt tracker * @pf: board private structure * @max_vectors: maximum number of vectors that tracker can hold * @num_static: n...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_vf_vsi_vlan_ops' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2019-2021, Intel Corporation. */ #ifndef _ICE_VF_VSI_VLAN_OPS_H_ #define _ICE_VF_VSI_VLAN_OPS_H_ #include "ice_vsi_vlan_ops.h" struct ice_vsi; void ice_vf_vsi_cfg_dvm_legacy_vlan_mode(struct ice_vsi *vsi); void ice_vf_vsi_cfg_svm_legacy_vlan_mode(struct i...
Linux kernel'inin 'drivers/net/ethernet/intel/ice/ice_main' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2018-2023, Intel Corporation. */ /* Intel(R) Ethernet Connection E800 Series Linux Driver */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <generated/utsrelease.h> #include <linux/crash_dump.h> #include "ice.h" #include "ice_base.h" #include "ice_lib.h...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_adminq_cmd' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2018, Intel Corporation. */ #ifndef _ICE_ADMINQ_CMD_H_ #define _ICE_ADMINQ_CMD_H_ #include <linux/net/intel/libie/adminq.h> /* This header file defines the Admin Queue commands, error codes and * descriptor format. It is shared between Firmware and Softwa...
Linux kernel'inin 'drivers/net/ethernet/intel/ice/ice_flex_pipe' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2019, Intel Corporation. */ #include "ice_common.h" #include "ice_flex_pipe.h" #include "ice_flow.h" #include "ice.h" static const u32 ice_sect_lkup[ICE_BLK_COUNT][ICE_SECT_COUNT] = { /* SWITCH */ { ICE_SID_XLT0_SW, ICE_SID_XLT_KEY_BUILDER_SW, ICE_SID_...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_vlan' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2019-2021, Intel Corporation. */ #ifndef _ICE_VLAN_H_ #define _ICE_VLAN_H_ #include <linux/types.h> #include "ice_type.h" struct ice_vlan { u16 tpid; u16 vid; u8 prio; }; #define ICE_VLAN(tpid, vid, prio) ((struct ice_vlan){ tpid, vid, prio }) #endif ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_sf_vsi_vlan_ops' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2023, Intel Corporation. */ #ifndef _ICE_SF_VSI_VLAN_OPS_H_ #define _ICE_SF_VSI_VLAN_OPS_H_ #include "ice_vsi_vlan_ops.h" struct ice_vsi; void ice_sf_vsi_init_vlan_ops(struct ice_vsi *vsi); #endif /* _ICE_SF_VSI_VLAN_OPS_H_ */ ```
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_lag' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2018-2021, Intel Corporation. */ #ifndef _ICE_LAG_H_ #define _ICE_LAG_H_ #include <linux/netdevice.h> /* LAG roles for netdev */ enum ice_lag_role { ICE_LAG_NONE, ICE_LAG_PRIMARY, ICE_LAG_BACKUP, ICE_LAG_UNSET }; #define ICE_LAG_INVALID_PORT 0xFF #de...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_fw_update' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2018-2019, Intel Corporation. */ #ifndef _ICE_FW_UPDATE_H_ #define _ICE_FW_UPDATE_H_ int ice_devlink_flash_update(struct devlink *devlink, struct devlink_flash_update_params *params, struct netlink_ext_ack *extack); int ice_get_pending_updat...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_flow' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2019, Intel Corporation. */ #ifndef _ICE_FLOW_H_ #define _ICE_FLOW_H_ #include <linux/net/intel/libie/pctype.h> #include "ice_flex_type.h" #include "ice_parser.h" #define ICE_FLOW_ENTRY_HANDLE_INVAL 0 #define ICE_FLOW_FLD_OFF_INVAL 0xffff /* Generate fl...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_idc_int' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2021, Intel Corporation. */ #ifndef _ICE_IDC_INT_H_ #define _ICE_IDC_INT_H_ #include <linux/net/intel/iidc_rdma.h> #include <linux/net/intel/iidc_rdma_ice.h> struct ice_pf; void ice_send_event_to_aux(struct ice_pf *pf, struct iidc_rdma_event *event); #en...
Linux kernel'inin 'drivers/net/ethernet/intel/ice/ice_ethtool' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2018, Intel Corporation. */ /* ethtool support for ice */ #include "ice.h" #include "ice_ethtool.h" #include "ice_flow.h" #include "ice_fltr.h" #include "ice_lib.h" #include "ice_dcb_lib.h" #include <net/dcbnl.h> #include <net/libeth/rx.h> struct ice_stats { ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_osdep' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2018, Intel Corporation. */ #ifndef _ICE_OSDEP_H_ #define _ICE_OSDEP_H_ #include <linux/types.h> #include <linux/ctype.h> #include <linux/delay.h> #include <linux/io.h> #include <linux/bitops.h> #include <linux/ethtool.h> #include <linux/etherdevice.h> #inc...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_dpll' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2022, Intel Corporation. */ #ifndef _ICE_DPLL_H_ #define _ICE_DPLL_H_ #include "ice.h" #define ICE_DPLL_RCLK_NUM_MAX 4 #define ICE_CGU_R10 0x28 #define ICE_CGU_R10_SYNCE_CLKO_SEL GENMASK(8, 5) #define ICE_CGU_R10_SYNCE_CLKODIV_M1 GENMASK(13, 9) #define ...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_fdir' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2018-2020, Intel Corporation. */ #ifndef _ICE_FDIR_H_ #define _ICE_FDIR_H_ #define ICE_FDIR_TUN_PKT_OFF 50 #define ICE_FDIR_MAX_RAW_PKT_SIZE (512 + ICE_FDIR_TUN_PKT_OFF) /* macros for offsets into packets for flow director programming */ #define ICE_ETH_T...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_lib' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2018, Intel Corporation. */ #ifndef _ICE_LIB_H_ #define _ICE_LIB_H_ #include "ice.h" #include "ice_vlan.h" /* Flags used for VSI configuration and rebuild */ #define ICE_VSI_FLAG_INIT BIT(0) #define ICE_VSI_FLAG_NO_INIT 0 #define ICE_L2TSEL_QRX_CONTEXT_RE...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_vf_mbx' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2018, Intel Corporation. */ #ifndef _ICE_VF_MBX_H_ #define _ICE_VF_MBX_H_ #include "ice_type.h" #include "ice_controlq.h" /* Defining the mailbox message threshold as 63 asynchronous * pending messages. Normal VF functionality does not require * sending ...
Linux kernel'inin 'drivers/net/ethernet/intel/ice/ice_arfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (C) 2018-2020, Intel Corporation. */ #include "ice.h" #include <net/rps.h> /** * ice_is_arfs_active - helper to check is aRFS is active * @vsi: VSI to check */ static bool ice_is_arfs_active(struct ice_vsi *vsi) { return !!vsi->arfs_fltr_list; } /** * ice_is...
Linux kernel'inin 'drivers/net/ethernet/intel/ice/ice_repr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (C) 2019-2021, Intel Corporation. */ #include "ice.h" #include "ice_lib.h" #include "ice_eswitch.h" #include "devlink/devlink.h" #include "devlink/port.h" #include "ice_sriov.h" #include "ice_tc_lib.h" #include "ice_dcb_lib.h" /** * ice_repr_inc_tx_stats - increm...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_controlq' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2018, Intel Corporation. */ #ifndef _ICE_CONTROLQ_H_ #define _ICE_CONTROLQ_H_ #include "ice_adminq_cmd.h" /* Maximum buffer lengths for all control queue types */ #define ICE_AQ_MAX_BUF_LEN 4096 #define ICE_MBXQ_MAX_BUF_LEN 4096 #define ICE_SBQ_MAX_BUF_LEN...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_ptp_hw' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2021, Intel Corporation. */ #ifndef _ICE_PTP_HW_H_ #define _ICE_PTP_HW_H_ #include <linux/dpll.h> enum ice_ptp_tmr_cmd { ICE_PTP_INIT_TIME, ICE_PTP_INIT_INCVAL, ICE_PTP_ADJ_TIME, ICE_PTP_ADJ_TIME_AT_TIME, ICE_PTP_READ_TIME, ICE_PTP_NOP, }; enum ice_p...
Linux kernel'inin 'drivers/net/ethernet/intel/ice/ice_ptp_hw' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (C) 2021, Intel Corporation. */ #include <linux/delay.h> #include <linux/iopoll.h> #include "ice_common.h" #include "ice_ptp_hw.h" #include "ice_ptp_consts.h" static struct dpll_pin_frequency ice_cgu_pin_freq_common[] = { DPLL_PIN_FREQUENCY_1PPS, DPLL_PIN_FREQUE...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_arfs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2018-2020, Intel Corporation. */ #ifndef _ICE_ARFS_H_ #define _ICE_ARFS_H_ #include "ice_fdir.h" enum ice_arfs_fltr_state { ICE_ARFS_INACTIVE, ICE_ARFS_ACTIVE, ICE_ARFS_TODEL, }; struct ice_arfs_entry { struct ice_fdir_fltr fltr_info; struct hlist_no...
Linux kernel'inin 'drivers/net/ethernet/intel/ice/ice_fdir' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (C) 2018-2020, Intel Corporation. */ #include "ice_common.h" /* These are training packet headers used to program flow director filters. */ static const u8 ice_fdir_eth_pkt[22]; static const u8 ice_fdir_tcpv4_pkt[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_txrx_lib' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2019, Intel Corporation. */ #ifndef _ICE_TXRX_LIB_H_ #define _ICE_TXRX_LIB_H_ #include "ice.h" /** * ice_test_staterr - tests bits in Rx descriptor status and error fields * @status_err_n: Rx descriptor status_error0 or status_error1 bits * @stat_err_bit...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_devids' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2018-2023, Intel Corporation. */ #ifndef _ICE_DEVIDS_H_ #define _ICE_DEVIDS_H_ /* Device IDs */ #define ICE_DEV_ID_E822_SI_DFLT 0x1888 /* Intel(R) Ethernet Controller E835-CC for backplane */ #define ICE_DEV_ID_E835CC_BACKPLANE 0x1248 /* Intel(R) Et...
Linux kernel'inin 'drivers/net/ethernet/intel/ice/ice_controlq' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2018, Intel Corporation. */ #include "ice_common.h" #define ICE_CQ_INIT_REGS(qinfo, prefix) \ do { \ (qinfo)->sq.head = prefix##_ATQH; \ (qinfo)->sq.tail = prefix##_ATQT; \ (qinfo)->sq.len = prefix##_ATQLEN; \ (qinfo)->sq.bah = prefix##_ATQ...
Linux kernel'inin 'drivers/net/ethernet/intel/ice/ice_common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2018-2023, Intel Corporation. */ #include "ice_common.h" #include "ice_sched.h" #include "ice_adminq_cmd.h" #include "ice_flow.h" #include "ice_ptp_hw.h" #include <linux/packing.h> #define ICE_PF_RESET_WAIT_COUNT 300 #define ICE_MAX_NETLIST_SIZE 10 static con...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_dcb_nl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2019, Intel Corporation. */ #ifndef _ICE_DCB_NL_H_ #define _ICE_DCB_NL_H_ #ifdef CONFIG_DCB void ice_dcbnl_setup(struct ice_vsi *vsi); void ice_dcbnl_set_all(struct ice_vsi *vsi); void ice_dcbnl_flush_apps(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, ...
Linux kernel'inin 'drivers/net/ethernet/intel/ice/ice_txrx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2018, Intel Corporation. */ /* The driver transmit and receive code */ #include <linux/mm.h> #include <linux/netdevice.h> #include <linux/prefetch.h> #include <linux/bpf_trace.h> #include <linux/net/intel/libie/rx.h> #include <net/libeth/xdp.h> #include <net/d...
Linux kernel'inin 'drivers/net/ethernet/intel/ice/ice_xsk' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2019, Intel Corporation. */ #include <linux/bpf_trace.h> #include <linux/unroll.h> #include <net/libeth/xdp.h> #include <net/xdp_sock_drv.h> #include <net/xdp.h> #include "ice.h" #include "ice_base.h" #include "ice_type.h" #include "ice_xsk.h" #include "ice_txr...
Linux kernel'inin 'drivers/net/ethernet/intel/ice/ice_debugfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2022, Intel Corporation. */ #include <linux/debugfs.h> #include "ice.h" static struct dentry *ice_debugfs_root; int ice_debugfs_pf_init(struct ice_pf *pf) { const char *name = pci_name(pf->pdev); pf->ice_debugfs_pf = debugfs_create_dir(name, ice_debugfs_ro...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_trace' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2021 Intel Corporation. */ /* Modeled on trace-events-sample.h */ /* The trace subsystem name for ice will be "ice". * * This file is named ice_trace.h. * * Since this include file's name is different from the trace * subsystem name, we'll have to defi...
Linux kernel'inin 'drivers/net/ethernet/intel/ice/ice_dcb_nl' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2019, Intel Corporation. */ #include "ice.h" #include "ice_dcb.h" #include "ice_dcb_lib.h" #include "ice_dcb_nl.h" #include <net/dcbnl.h> /** * ice_dcbnl_devreset - perform enough of a ifdown/ifup to sync DCBNL info * @netdev: device associated with interfac...
Linux işletim sistemi çekirdeği için 'drivers/net/ethernet/intel/ice/ice_sbq_cmd' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2021, Intel Corporation. */ #ifndef _ICE_SBQ_CMD_H_ #define _ICE_SBQ_CMD_H_ /* This header file defines the Sideband Queue commands, error codes and * descriptor format. It is shared between Firmware and Software. */ /* Sideband Queue command structure a...
Linux kernel'inin 'drivers/net/ethernet/intel/ice/ice_sf_eth' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2024, Intel Corporation. */ #include "ice.h" #include "ice_lib.h" #include "ice_txrx.h" #include "ice_fltr.h" #include "ice_sf_eth.h" #include "devlink/devlink.h" #include "devlink/port.h" static const struct net_device_ops ice_sf_netdev_ops = { .ndo_open = ic...
Linux kernel'inin 'drivers/net/ethernet/intel/ice/ice_lib' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2018, Intel Corporation. */ #include "ice.h" #include "ice_base.h" #include "ice_flow.h" #include "ice_lib.h" #include "ice_fltr.h" #include "ice_dcb_lib.h" #include "ice_type.h" #include "ice_vsi_vlan_ops.h" /** * ice_vsi_type_str - maps VSI type enum to str...