mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
nvethernet: add support for MGBE
Adds support for MGBE based on MAC controller version. Also integrated MGBE files to Linux build system Bug 200548572 Change-Id: I1c5a63cb3b843daa60500254e1272449cc2e8e49 Signed-off-by: Bhadram Varka <vbhadram@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2252647
This commit is contained in:
committed by
Revanth Kumar Uppala
parent
93924a32f3
commit
29fb064269
@@ -278,9 +278,9 @@ struct ether_priv_data {
|
||||
/** HW supported feature list */
|
||||
struct osi_hw_features hw_feat;
|
||||
/** Array of DMA Transmit channel NAPI */
|
||||
struct ether_tx_napi *tx_napi[OSI_EQOS_MAX_NUM_CHANS];
|
||||
struct ether_tx_napi *tx_napi[OSI_MGBE_MAX_NUM_CHANS];
|
||||
/** Array of DMA Receive channel NAPI */
|
||||
struct ether_rx_napi *rx_napi[OSI_EQOS_MAX_NUM_CHANS];
|
||||
struct ether_rx_napi *rx_napi[OSI_MGBE_MAX_NUM_CHANS];
|
||||
/** Network device associated with driver */
|
||||
struct net_device *ndev;
|
||||
/** Base device associated with driver */
|
||||
@@ -339,7 +339,7 @@ struct ether_priv_data {
|
||||
/** MAC loopback mode */
|
||||
unsigned int mac_loopback_mode;
|
||||
/** Array of MTL queue TX priority */
|
||||
unsigned int txq_prio[OSI_EQOS_MAX_NUM_CHANS];
|
||||
unsigned int txq_prio[OSI_MGBE_MAX_NUM_CHANS];
|
||||
|
||||
#ifdef THERMAL_CAL
|
||||
/** Pointer to thermal cooling device which this driver registers
|
||||
|
||||
Reference in New Issue
Block a user