bnx2x.h (1758047057dbe329be712a31b79db7151b5871f8) bnx2x.h (b7a49f73059fe6147b6b78e8f674ce0d21237432)
1/* bnx2x.h: QLogic Everest network driver.
2 *
3 * Copyright (c) 2007-2013 Broadcom Corporation
4 * Copyright (c) 2014 QLogic Corporation
5 * All rights reserved
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by

--- 1836 unchanged lines hidden (view full) ---

1845 struct bnx2x_link_report_data vf_link_vars;
1846 struct list_head vlan_reg;
1847 u16 vlan_cnt;
1848 u16 vlan_credit;
1849 bool accept_any_vlan;
1850
1851 /* Vxlan/Geneve related information */
1852 u16 udp_tunnel_ports[BNX2X_UDP_PORT_MAX];
1/* bnx2x.h: QLogic Everest network driver.
2 *
3 * Copyright (c) 2007-2013 Broadcom Corporation
4 * Copyright (c) 2014 QLogic Corporation
5 * All rights reserved
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by

--- 1836 unchanged lines hidden (view full) ---

1845 struct bnx2x_link_report_data vf_link_vars;
1846 struct list_head vlan_reg;
1847 u16 vlan_cnt;
1848 u16 vlan_credit;
1849 bool accept_any_vlan;
1850
1851 /* Vxlan/Geneve related information */
1852 u16 udp_tunnel_ports[BNX2X_UDP_PORT_MAX];
1853
1854#define FW_CAP_INVALIDATE_VF_FP_HSI BIT(0)
1855 u32 fw_cap;
1856
1857 u32 fw_major;
1858 u32 fw_minor;
1859 u32 fw_rev;
1860 u32 fw_eng;
1853};
1854
1855/* Tx queues may be less or equal to Rx queues */
1856extern int num_queues;
1857#define BNX2X_NUM_QUEUES(bp) (bp->num_queues)
1858#define BNX2X_NUM_ETH_QUEUES(bp) ((bp)->num_ethernet_queues)
1859#define BNX2X_NUM_NON_CNIC_QUEUES(bp) (BNX2X_NUM_QUEUES(bp) - \
1860 (bp)->num_cnic_queues)

--- 659 unchanged lines hidden (view full) ---

2520
2521#define BNX2X_MAX_PHC_DRIFT 31000000
2522#define BNX2X_PTP_TX_TIMEOUT
2523
2524/* Re-configure all previously configured vlan filters.
2525 * Meant for implicit re-load flows.
2526 */
2527int bnx2x_vlan_reconfigure_vid(struct bnx2x *bp);
1861};
1862
1863/* Tx queues may be less or equal to Rx queues */
1864extern int num_queues;
1865#define BNX2X_NUM_QUEUES(bp) (bp->num_queues)
1866#define BNX2X_NUM_ETH_QUEUES(bp) ((bp)->num_ethernet_queues)
1867#define BNX2X_NUM_NON_CNIC_QUEUES(bp) (BNX2X_NUM_QUEUES(bp) - \
1868 (bp)->num_cnic_queues)

--- 659 unchanged lines hidden (view full) ---

2528
2529#define BNX2X_MAX_PHC_DRIFT 31000000
2530#define BNX2X_PTP_TX_TIMEOUT
2531
2532/* Re-configure all previously configured vlan filters.
2533 * Meant for implicit re-load flows.
2534 */
2535int bnx2x_vlan_reconfigure_vid(struct bnx2x *bp);
2528
2536int bnx2x_init_firmware(struct bnx2x *bp);
2537void bnx2x_release_firmware(struct bnx2x *bp);
2529#endif /* bnx2x.h */
2538#endif /* bnx2x.h */