bnxt.h (8960b38932bee8db0bc9c4d8c135f21df6cdd297) bnxt.h (4f75da3666c0c572967729a2401ac650be5581b6)
1/* Broadcom NetXtreme-C/E network driver.
2 *
3 * Copyright (c) 2014-2016 Broadcom Corporation
4 * Copyright (c) 2016-2018 Broadcom Limited
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation.

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

18#define DRV_VER_MIN 10
19#define DRV_VER_UPD 0
20
21#include <linux/interrupt.h>
22#include <linux/rhashtable.h>
23#include <net/devlink.h>
24#include <net/dst_metadata.h>
25#include <net/xdp.h>
1/* Broadcom NetXtreme-C/E network driver.
2 *
3 * Copyright (c) 2014-2016 Broadcom Corporation
4 * Copyright (c) 2016-2018 Broadcom Limited
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation.

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

18#define DRV_VER_MIN 10
19#define DRV_VER_UPD 0
20
21#include <linux/interrupt.h>
22#include <linux/rhashtable.h>
23#include <net/devlink.h>
24#include <net/dst_metadata.h>
25#include <net/xdp.h>
26#include <linux/net_dim.h>
26#include <linux/dim.h>
27
28struct tx_bd {
29 __le32 tx_bd_len_flags_type;
30 #define TX_BD_TYPE (0x3f << 0)
31 #define TX_BD_TYPE_SHORT_TX_BD (0x00 << 0)
32 #define TX_BD_TYPE_LONG_TX_BD (0x10 << 0)
33 #define TX_BD_FLAGS_PACKET_END (1 << 6)
34 #define TX_BD_FLAGS_NO_CMPL (1 << 7)

--- 1782 unchanged lines hidden ---
27
28struct tx_bd {
29 __le32 tx_bd_len_flags_type;
30 #define TX_BD_TYPE (0x3f << 0)
31 #define TX_BD_TYPE_SHORT_TX_BD (0x00 << 0)
32 #define TX_BD_TYPE_LONG_TX_BD (0x10 << 0)
33 #define TX_BD_FLAGS_PACKET_END (1 << 6)
34 #define TX_BD_FLAGS_NO_CMPL (1 << 7)

--- 1782 unchanged lines hidden ---