| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2005 - 2016 Broadcom |
|---|
| 3 | 4 | * All rights reserved. |
|---|
| 4 | | - * |
|---|
| 5 | | - * This program is free software; you can redistribute it and/or |
|---|
| 6 | | - * modify it under the terms of the GNU General Public License version 2 |
|---|
| 7 | | - * as published by the Free Software Foundation. The full GNU General |
|---|
| 8 | | - * Public License is included in this distribution in the file called COPYING. |
|---|
| 9 | 5 | * |
|---|
| 10 | 6 | * Contact Information: |
|---|
| 11 | 7 | * linux-drivers@emulex.com |
|---|
| .. | .. |
|---|
| 37 | 33 | #include "be_hw.h" |
|---|
| 38 | 34 | #include "be_roce.h" |
|---|
| 39 | 35 | |
|---|
| 40 | | -#define DRV_VER "12.0.0.0" |
|---|
| 41 | 36 | #define DRV_NAME "be2net" |
|---|
| 42 | 37 | #define BE_NAME "Emulex BladeEngine2" |
|---|
| 43 | 38 | #define BE3_NAME "Emulex BladeEngine3" |
|---|
| .. | .. |
|---|
| 196 | 191 | } ____cacheline_aligned_in_smp; |
|---|
| 197 | 192 | |
|---|
| 198 | 193 | struct be_aic_obj { /* Adaptive interrupt coalescing (AIC) info */ |
|---|
| 199 | | - bool enable; |
|---|
| 200 | 194 | u32 min_eqd; /* in usecs */ |
|---|
| 201 | 195 | u32 max_eqd; /* in usecs */ |
|---|
| 202 | 196 | u32 prev_eqd; /* in usecs */ |
|---|
| .. | .. |
|---|
| 593 | 587 | |
|---|
| 594 | 588 | struct be_drv_stats drv_stats; |
|---|
| 595 | 589 | struct be_aic_obj aic_obj[MAX_EVT_QS]; |
|---|
| 590 | + bool aic_enabled; |
|---|
| 596 | 591 | u8 vlan_prio_bmap; /* Available Priority BitMap */ |
|---|
| 597 | 592 | u16 recommended_prio_bits;/* Recommended Priority bits in vlan tag */ |
|---|
| 598 | 593 | struct be_dma_mem rx_filter; /* Cmd DMA mem for rx-filter */ |
|---|
| .. | .. |
|---|
| 659 | 654 | u8 hba_port_num; |
|---|
| 660 | 655 | u16 pvid; |
|---|
| 661 | 656 | __be16 vxlan_port; /* offloaded vxlan port num */ |
|---|
| 662 | | - int vxlan_port_count; /* active vxlan port count */ |
|---|
| 663 | | - struct list_head vxlan_port_list; /* vxlan port list */ |
|---|
| 664 | 657 | struct phy_info phy; |
|---|
| 665 | 658 | u8 wol_cap; |
|---|
| 666 | 659 | bool wol_en; |
|---|
| .. | .. |
|---|
| 684 | 677 | struct be_cmd_work { |
|---|
| 685 | 678 | struct work_struct work; |
|---|
| 686 | 679 | struct be_adapter *adapter; |
|---|
| 687 | | - union { |
|---|
| 688 | | - __be16 vxlan_port; |
|---|
| 689 | | - } info; |
|---|
| 690 | 680 | }; |
|---|
| 691 | 681 | |
|---|
| 692 | 682 | #define be_physfn(adapter) (!adapter->virtfn) |
|---|