hnae3.h (db6da59cf27b5661ced03754ae0550f8914eda9e) | hnae3.h (ed1c6f35b73ec9249c07ebbd300423155c7baac3) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0+ */ 2// Copyright (c) 2016-2017 Hisilicon Limited. 3 4#ifndef __HNAE3_H 5#define __HNAE3_H 6 7/* Names used in this framework: 8 * ae handle (handle): --- 633 unchanged lines hidden (view full) --- 642 int (*rm_uc_addr)(struct hnae3_handle *handle, 643 const unsigned char *addr); 644 int (*set_mc_addr)(struct hnae3_handle *handle, void *addr); 645 int (*add_mc_addr)(struct hnae3_handle *handle, 646 const unsigned char *addr); 647 int (*rm_mc_addr)(struct hnae3_handle *handle, 648 const unsigned char *addr); 649 void (*set_tso_stats)(struct hnae3_handle *handle, int enable); | 1/* SPDX-License-Identifier: GPL-2.0+ */ 2// Copyright (c) 2016-2017 Hisilicon Limited. 3 4#ifndef __HNAE3_H 5#define __HNAE3_H 6 7/* Names used in this framework: 8 * ae handle (handle): --- 633 unchanged lines hidden (view full) --- 642 int (*rm_uc_addr)(struct hnae3_handle *handle, 643 const unsigned char *addr); 644 int (*set_mc_addr)(struct hnae3_handle *handle, void *addr); 645 int (*add_mc_addr)(struct hnae3_handle *handle, 646 const unsigned char *addr); 647 int (*rm_mc_addr)(struct hnae3_handle *handle, 648 const unsigned char *addr); 649 void (*set_tso_stats)(struct hnae3_handle *handle, int enable); |
650 void (*update_stats)(struct hnae3_handle *handle, 651 struct net_device_stats *net_stats); | 650 void (*update_stats)(struct hnae3_handle *handle); |
652 void (*get_stats)(struct hnae3_handle *handle, u64 *data); 653 void (*get_mac_stats)(struct hnae3_handle *handle, 654 struct hns3_mac_stats *mac_stats); 655 void (*get_strings)(struct hnae3_handle *handle, 656 u32 stringset, u8 *data); 657 int (*get_sset_count)(struct hnae3_handle *handle, int stringset); 658 659 void (*get_regs)(struct hnae3_handle *handle, u32 *version, --- 284 unchanged lines hidden --- | 651 void (*get_stats)(struct hnae3_handle *handle, u64 *data); 652 void (*get_mac_stats)(struct hnae3_handle *handle, 653 struct hns3_mac_stats *mac_stats); 654 void (*get_strings)(struct hnae3_handle *handle, 655 u32 stringset, u8 *data); 656 int (*get_sset_count)(struct hnae3_handle *handle, int stringset); 657 658 void (*get_regs)(struct hnae3_handle *handle, u32 *version, --- 284 unchanged lines hidden --- |