Skip to content

Commit 717ecc2

Browse files
committed
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-next
Jeff Kirsher says: ==================== This series contains updates to igb only. ==================== Signed-off-by: David S. Miller <[email protected]>
2 parents 7146b2d + c9f14bf commit 717ecc2

File tree

2 files changed

+122
-256
lines changed

2 files changed

+122
-256
lines changed

drivers/net/ethernet/intel/igb/igb.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ struct vf_data_storage {
101101
u16 pf_vlan; /* When set, guest VLAN config not allowed. */
102102
u16 pf_qos;
103103
u16 tx_rate;
104-
struct pci_dev *vfdev;
105104
};
106105

107106
#define IGB_VF_FLAG_CTS 0x00000001 /* VF is clear to send data */
@@ -169,8 +168,8 @@ struct igb_tx_buffer {
169168
unsigned int bytecount;
170169
u16 gso_segs;
171170
__be16 protocol;
172-
dma_addr_t dma;
173-
u32 length;
171+
DEFINE_DMA_UNMAP_ADDR(dma);
172+
DEFINE_DMA_UNMAP_LEN(len);
174173
u32 tx_flags;
175174
};
176175

@@ -214,7 +213,6 @@ struct igb_q_vector {
214213
struct igb_ring_container rx, tx;
215214

216215
struct napi_struct napi;
217-
int numa_node;
218216

219217
u16 itr_val;
220218
u8 set_itr;
@@ -259,7 +257,6 @@ struct igb_ring {
259257
};
260258
/* Items past this point are only used during ring alloc / free */
261259
dma_addr_t dma; /* phys address of the ring */
262-
int numa_node; /* node to alloc ring memory on */
263260
};
264261

265262
enum e1000_ring_flags_t {
@@ -374,7 +371,6 @@ struct igb_adapter {
374371
int vf_rate_link_speed;
375372
u32 rss_queues;
376373
u32 wvbr;
377-
int node;
378374
u32 *shadow_vfta;
379375

380376
#ifdef CONFIG_IGB_PTP

0 commit comments

Comments
 (0)