summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro/stmmac/common.h
diff options
context:
space:
mode:
authorJoao Pinto2017-03-10 19:24:54 +0100
committerDavid S. Miller2017-03-13 07:41:03 +0100
commit4f6046f5872c7db6a152b923cee21c37a04d56b8 (patch)
treee4f6d9fe0c35c84afdd316485a89b6eef209134e /drivers/net/ethernet/stmicro/stmmac/common.h
parentnet: stmmac: configure tx queue weight (diff)
downloadkernel-qcow2-linux-4f6046f5872c7db6a152b923cee21c37a04d56b8.tar.gz
kernel-qcow2-linux-4f6046f5872c7db6a152b923cee21c37a04d56b8.tar.xz
kernel-qcow2-linux-4f6046f5872c7db6a152b923cee21c37a04d56b8.zip
net: stmmac: mtl rx queue enabled as dcb or avb
This patch introduces the enabling of RX queues as DCB or as AVB based on configuration. Signed-off-by: Joao Pinto <jpinto@synopsys.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/common.h')
-rw-r--r--drivers/net/ethernet/stmicro/stmmac/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/common.h b/drivers/net/ethernet/stmicro/stmmac/common.h
index 4eeaa5c905f2..f61611c8e8b0 100644
--- a/drivers/net/ethernet/stmicro/stmmac/common.h
+++ b/drivers/net/ethernet/stmicro/stmmac/common.h
@@ -457,7 +457,7 @@ struct stmmac_ops {
/* Enable and verify that the IPC module is supported */
int (*rx_ipc)(struct mac_device_info *hw);
/* Enable RX Queues */
- void (*rx_queue_enable)(struct mac_device_info *hw, u32 queue);
+ void (*rx_queue_enable)(struct mac_device_info *hw, u8 mode, u32 queue);
/* Program RX Algorithms */
void (*prog_mtl_rx_algorithms)(struct mac_device_info *hw, u32 rx_alg);
/* Program TX Algorithms */