| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) 2014-2015 Hisilicon Limited. |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 5 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 6 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 7 | | - * (at your option) any later version. |
|---|
| 8 | 4 | */ |
|---|
| 9 | 5 | |
|---|
| 10 | 6 | #include <linux/etherdevice.h> |
|---|
| .. | .. |
|---|
| 16 | 12 | #include "hns_dsaf_main.h" |
|---|
| 17 | 13 | #include "hns_dsaf_ppe.h" |
|---|
| 18 | 14 | #include "hns_dsaf_rcb.h" |
|---|
| 19 | | - |
|---|
| 20 | | -#define AE_NAME_PORT_ID_IDX 6 |
|---|
| 21 | 15 | |
|---|
| 22 | 16 | static struct hns_mac_cb *hns_get_mac_cb(struct hnae_handle *handle) |
|---|
| 23 | 17 | { |
|---|