Debian Codegraph @

drivers/net/ethernet/intel/ixgbe/ixgbe_x550.h

raw
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2024 Intel Corporation. */
3
4 #ifndef _IXGBE_X550_H_
5 #define _IXGBE_X550_H_
6
7 #include "ixgbe_type.h"
8
9 extern const u32 ixgbe_mvals_x550em_a[IXGBE_MVALS_IDX_LIMIT];
10
11 int ixgbe_set_fw_drv_ver_x550(struct ixgbe_hw *hw, u8 maj, u8 min,
12 u8 build, u8 sub, u16 len,
13 const char *driver_ver);
14 void ixgbe_set_source_address_pruning_x550(struct ixgbe_hw *hw,
15 bool enable,
16 unsigned int pool);
17 void ixgbe_set_ethertype_anti_spoofing_x550(struct ixgbe_hw *hw,
18 bool enable, int vf);
19
20 void ixgbe_enable_mdd_x550(struct ixgbe_hw *hw);
21 void ixgbe_disable_mdd_x550(struct ixgbe_hw *hw);
22 void ixgbe_restore_mdd_vf_x550(struct ixgbe_hw *hw, u32 vf);
23 void ixgbe_handle_mdd_x550(struct ixgbe_hw *hw, unsigned long *vf_bitmap);
24
25 #endif /* _IXGBE_X550_H_ */