Skip to content

Commit

Permalink
Merge branch 'net-ll_temac-RX-TX-ring-size-and-coalesce-ethtool-param…
Browse files Browse the repository at this point in the history
…eters'

Esben Haabendal says:

====================
net: ll_temac: RX/TX ring size and coalesce ethtool parameters

This series adds support for RX/TX ring size and irq coalesce ethtool
parameters to ll_temac driver.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Mar 1, 2020
2 parents b90feaf + 227d461 commit b0251fb
Show file tree
Hide file tree
Showing 2 changed files with 154 additions and 52 deletions.
8 changes: 5 additions & 3 deletions drivers/net/ethernet/xilinx/ll_temac.h
Original file line number Diff line number Diff line change
Expand Up @@ -369,18 +369,20 @@ struct temac_local {
/* Buffer descriptors */
struct cdmac_bd *tx_bd_v;
dma_addr_t tx_bd_p;
u32 tx_bd_num;
struct cdmac_bd *rx_bd_v;
dma_addr_t rx_bd_p;
u32 rx_bd_num;
int tx_bd_ci;
int tx_bd_next;
int tx_bd_tail;
int rx_bd_ci;
int rx_bd_tail;

/* DMA channel control setup */
u32 tx_chnl_ctrl;
u32 rx_chnl_ctrl;
u8 coalesce_count_tx;
u8 coalesce_delay_tx;
u8 coalesce_count_rx;
u8 coalesce_delay_rx;

struct delayed_work restart_work;
};
Expand Down
Loading

0 comments on commit b0251fb

Please sign in to comment.