projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: stmmac: replace the vlan_fail_q_en field with a flag
[platform/kernel/linux-rpi.git]
/
drivers
/
net
/
ethernet
/
stmicro
/
stmmac
/
dwmac-intel.c
diff --git
a/drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
b/drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
index
faa6f4e
..
1f1bc99
100644
(file)
--- a/
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
+++ b/
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
@@
-560,7
+560,7
@@
static int intel_mgbe_common_data(struct pci_dev *pdev,
/* Set the maxmtu to a default of JUMBO_LEN */
plat->maxmtu = JUMBO_LEN;
- plat->
vlan_fail_q_en = true
;
+ plat->
flags |= STMMAC_FLAG_VLAN_FAIL_Q_EN
;
/* Use the last Rx queue */
plat->vlan_fail_q = plat->rx_queues_to_use - 1;