diff options
author | Rahul Lakkireddy | 2017-10-13 15:18:13 +0200 |
---|---|---|
committer | David S. Miller | 2017-10-15 03:35:14 +0200 |
commit | ad75b7d32f2517a6cc92a5d70569c33455157453 (patch) | |
tree | cd85f2a6e0ee606618bf6b31efbbcb5076b9e8c9 /drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | |
parent | nfp: Explicitly include linux/bug.h (diff) | |
download | kernel-qcow2-linux-ad75b7d32f2517a6cc92a5d70569c33455157453.tar.gz kernel-qcow2-linux-ad75b7d32f2517a6cc92a5d70569c33455157453.tar.xz kernel-qcow2-linux-ad75b7d32f2517a6cc92a5d70569c33455157453.zip |
cxgb4: implement ethtool dump data operations
Implement operations to set/get dump data via ethtool. Also add
template header that precedes dump data, which helps in decoding
and extracting the dump data.
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/cxgb4.h')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h index 0db3ab6ad094..a749602fdc41 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h @@ -909,6 +909,9 @@ struct adapter { /* TC flower offload */ DECLARE_HASHTABLE(flower_anymatch_tbl, 9); struct timer_list flower_stats_timer; + + /* Ethtool Dump */ + struct ethtool_dump eth_dump; }; /* Support for "sched-class" command to allow a TX Scheduling Class to be |