/openbmc/linux/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_hw.c | diff d894be57ca92c8a8819ab544d550809e8731137b Thu Oct 20 12:55:16 CDT 2016 Jarod Wilson <jarod@redhat.com> ethernet: use net core MTU range checking in more drivers
Somehow, I missed a healthy number of ethernet drivers in the last pass. Most of these drivers either were in need of an updated max_mtu to make jumbo frames possible to enable again. In a few cases, also setting a different min_mtu to match previous lower bounds. There are also a few drivers that had no upper bounds checking, so they're getting a brand new ETH_MAX_MTU that is identical to IP_MAX_MTU, but accessible by includes all ethernet and ethernet-like drivers all have already.
acenic: - min_mtu = 0, max_mtu = 9000
amazon/ena: - min_mtu = 128, max_mtu = adapter->max_mtu
amd/xgbe: - min_mtu = 0, max_mtu = 9000
sb1250: - min_mtu = 0, max_mtu = 1518
cxgb3: - min_mtu = 81, max_mtu = 65535
cxgb4: - min_mtu = 81, max_mtu = 9600
cxgb4vf: - min_mtu = 81, max_mtu = 65535
benet: - min_mtu = 256, max_mtu = 9000
ibmveth: - min_mtu = 68, max_mtu = 65535
ibmvnic: - min_mtu = adapter->min_mtu, max_mtu = adapter->max_mtu - remove now redundant ibmvnic_change_mtu
jme: - min_mtu = 1280, max_mtu = 9202
mv643xx_eth: - min_mtu = 64, max_mtu = 9500
mlxsw: - min_mtu = 0, max_mtu = 65535 - Basically bypassing the core checks, and instead relying on dynamic checks in the respective switch drivers' ndo_change_mtu functions
ns83820: - min_mtu = 0 - remove redundant ns83820_change_mtu, only checked for mtu > 1500
netxen: - min_mtu = 0, max_mtu = 8000 (P2), max_mtu = 9600 (P3)
qlge: - min_mtu = 1500, max_mtu = 9000 - driver only supports setting mtu to 1500 or 9000, so the core check only rules out < 1500 and > 9000, qlge_change_mtu still needs to check that the value is 1500 or 9000
qualcomm/emac: - min_mtu = 46, max_mtu = 9194
xilinx_axienet: - min_mtu = 64, max_mtu = 9000
Fixes: 61e84623ace3 ("net: centralize net_device min/max MTU checking") CC: netdev@vger.kernel.org CC: Jes Sorensen <jes@trained-monkey.org> CC: Netanel Belgazal <netanel@annapurnalabs.com> CC: Tom Lendacky <thomas.lendacky@amd.com> CC: Santosh Raspatur <santosh@chelsio.com> CC: Hariprasad S <hariprasad@chelsio.com> CC: Sathya Perla <sathya.perla@broadcom.com> CC: Ajit Khaparde <ajit.khaparde@broadcom.com> CC: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> CC: Somnath Kotur <somnath.kotur@broadcom.com> CC: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> CC: John Allen <jallen@linux.vnet.ibm.com> CC: Guo-Fu Tseng <cooldavid@cooldavid.org> CC: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> CC: Jiri Pirko <jiri@mellanox.com> CC: Ido Schimmel <idosch@mellanox.com> CC: Manish Chopra <manish.chopra@qlogic.com> CC: Sony Chacko <sony.chacko@qlogic.com> CC: Rajesh Borundia <rajesh.borundia@qlogic.com> CC: Timur Tabi <timur@codeaurora.org> CC: Anirudha Sarangi <anirudh@xilinx.com> CC: John Linn <John.Linn@xilinx.com> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | netxen_nic_main.c | diff d894be57ca92c8a8819ab544d550809e8731137b Thu Oct 20 12:55:16 CDT 2016 Jarod Wilson <jarod@redhat.com> ethernet: use net core MTU range checking in more drivers
Somehow, I missed a healthy number of ethernet drivers in the last pass. Most of these drivers either were in need of an updated max_mtu to make jumbo frames possible to enable again. In a few cases, also setting a different min_mtu to match previous lower bounds. There are also a few drivers that had no upper bounds checking, so they're getting a brand new ETH_MAX_MTU that is identical to IP_MAX_MTU, but accessible by includes all ethernet and ethernet-like drivers all have already.
acenic: - min_mtu = 0, max_mtu = 9000
amazon/ena: - min_mtu = 128, max_mtu = adapter->max_mtu
amd/xgbe: - min_mtu = 0, max_mtu = 9000
sb1250: - min_mtu = 0, max_mtu = 1518
cxgb3: - min_mtu = 81, max_mtu = 65535
cxgb4: - min_mtu = 81, max_mtu = 9600
cxgb4vf: - min_mtu = 81, max_mtu = 65535
benet: - min_mtu = 256, max_mtu = 9000
ibmveth: - min_mtu = 68, max_mtu = 65535
ibmvnic: - min_mtu = adapter->min_mtu, max_mtu = adapter->max_mtu - remove now redundant ibmvnic_change_mtu
jme: - min_mtu = 1280, max_mtu = 9202
mv643xx_eth: - min_mtu = 64, max_mtu = 9500
mlxsw: - min_mtu = 0, max_mtu = 65535 - Basically bypassing the core checks, and instead relying on dynamic checks in the respective switch drivers' ndo_change_mtu functions
ns83820: - min_mtu = 0 - remove redundant ns83820_change_mtu, only checked for mtu > 1500
netxen: - min_mtu = 0, max_mtu = 8000 (P2), max_mtu = 9600 (P3)
qlge: - min_mtu = 1500, max_mtu = 9000 - driver only supports setting mtu to 1500 or 9000, so the core check only rules out < 1500 and > 9000, qlge_change_mtu still needs to check that the value is 1500 or 9000
qualcomm/emac: - min_mtu = 46, max_mtu = 9194
xilinx_axienet: - min_mtu = 64, max_mtu = 9000
Fixes: 61e84623ace3 ("net: centralize net_device min/max MTU checking") CC: netdev@vger.kernel.org CC: Jes Sorensen <jes@trained-monkey.org> CC: Netanel Belgazal <netanel@annapurnalabs.com> CC: Tom Lendacky <thomas.lendacky@amd.com> CC: Santosh Raspatur <santosh@chelsio.com> CC: Hariprasad S <hariprasad@chelsio.com> CC: Sathya Perla <sathya.perla@broadcom.com> CC: Ajit Khaparde <ajit.khaparde@broadcom.com> CC: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> CC: Somnath Kotur <somnath.kotur@broadcom.com> CC: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> CC: John Allen <jallen@linux.vnet.ibm.com> CC: Guo-Fu Tseng <cooldavid@cooldavid.org> CC: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> CC: Jiri Pirko <jiri@mellanox.com> CC: Ido Schimmel <idosch@mellanox.com> CC: Manish Chopra <manish.chopra@qlogic.com> CC: Sony Chacko <sony.chacko@qlogic.com> CC: Rajesh Borundia <rajesh.borundia@qlogic.com> CC: Timur Tabi <timur@codeaurora.org> CC: Anirudha Sarangi <anirudh@xilinx.com> CC: John Linn <John.Linn@xilinx.com> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/natsemi/ |
H A D | ns83820.c | diff d894be57ca92c8a8819ab544d550809e8731137b Thu Oct 20 12:55:16 CDT 2016 Jarod Wilson <jarod@redhat.com> ethernet: use net core MTU range checking in more drivers
Somehow, I missed a healthy number of ethernet drivers in the last pass. Most of these drivers either were in need of an updated max_mtu to make jumbo frames possible to enable again. In a few cases, also setting a different min_mtu to match previous lower bounds. There are also a few drivers that had no upper bounds checking, so they're getting a brand new ETH_MAX_MTU that is identical to IP_MAX_MTU, but accessible by includes all ethernet and ethernet-like drivers all have already.
acenic: - min_mtu = 0, max_mtu = 9000
amazon/ena: - min_mtu = 128, max_mtu = adapter->max_mtu
amd/xgbe: - min_mtu = 0, max_mtu = 9000
sb1250: - min_mtu = 0, max_mtu = 1518
cxgb3: - min_mtu = 81, max_mtu = 65535
cxgb4: - min_mtu = 81, max_mtu = 9600
cxgb4vf: - min_mtu = 81, max_mtu = 65535
benet: - min_mtu = 256, max_mtu = 9000
ibmveth: - min_mtu = 68, max_mtu = 65535
ibmvnic: - min_mtu = adapter->min_mtu, max_mtu = adapter->max_mtu - remove now redundant ibmvnic_change_mtu
jme: - min_mtu = 1280, max_mtu = 9202
mv643xx_eth: - min_mtu = 64, max_mtu = 9500
mlxsw: - min_mtu = 0, max_mtu = 65535 - Basically bypassing the core checks, and instead relying on dynamic checks in the respective switch drivers' ndo_change_mtu functions
ns83820: - min_mtu = 0 - remove redundant ns83820_change_mtu, only checked for mtu > 1500
netxen: - min_mtu = 0, max_mtu = 8000 (P2), max_mtu = 9600 (P3)
qlge: - min_mtu = 1500, max_mtu = 9000 - driver only supports setting mtu to 1500 or 9000, so the core check only rules out < 1500 and > 9000, qlge_change_mtu still needs to check that the value is 1500 or 9000
qualcomm/emac: - min_mtu = 46, max_mtu = 9194
xilinx_axienet: - min_mtu = 64, max_mtu = 9000
Fixes: 61e84623ace3 ("net: centralize net_device min/max MTU checking") CC: netdev@vger.kernel.org CC: Jes Sorensen <jes@trained-monkey.org> CC: Netanel Belgazal <netanel@annapurnalabs.com> CC: Tom Lendacky <thomas.lendacky@amd.com> CC: Santosh Raspatur <santosh@chelsio.com> CC: Hariprasad S <hariprasad@chelsio.com> CC: Sathya Perla <sathya.perla@broadcom.com> CC: Ajit Khaparde <ajit.khaparde@broadcom.com> CC: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> CC: Somnath Kotur <somnath.kotur@broadcom.com> CC: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> CC: John Allen <jallen@linux.vnet.ibm.com> CC: Guo-Fu Tseng <cooldavid@cooldavid.org> CC: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> CC: Jiri Pirko <jiri@mellanox.com> CC: Ido Schimmel <idosch@mellanox.com> CC: Manish Chopra <manish.chopra@qlogic.com> CC: Sony Chacko <sony.chacko@qlogic.com> CC: Rajesh Borundia <rajesh.borundia@qlogic.com> CC: Timur Tabi <timur@codeaurora.org> CC: Anirudha Sarangi <anirudh@xilinx.com> CC: John Linn <John.Linn@xilinx.com> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-main.c | diff d894be57ca92c8a8819ab544d550809e8731137b Thu Oct 20 12:55:16 CDT 2016 Jarod Wilson <jarod@redhat.com> ethernet: use net core MTU range checking in more drivers
Somehow, I missed a healthy number of ethernet drivers in the last pass. Most of these drivers either were in need of an updated max_mtu to make jumbo frames possible to enable again. In a few cases, also setting a different min_mtu to match previous lower bounds. There are also a few drivers that had no upper bounds checking, so they're getting a brand new ETH_MAX_MTU that is identical to IP_MAX_MTU, but accessible by includes all ethernet and ethernet-like drivers all have already.
acenic: - min_mtu = 0, max_mtu = 9000
amazon/ena: - min_mtu = 128, max_mtu = adapter->max_mtu
amd/xgbe: - min_mtu = 0, max_mtu = 9000
sb1250: - min_mtu = 0, max_mtu = 1518
cxgb3: - min_mtu = 81, max_mtu = 65535
cxgb4: - min_mtu = 81, max_mtu = 9600
cxgb4vf: - min_mtu = 81, max_mtu = 65535
benet: - min_mtu = 256, max_mtu = 9000
ibmveth: - min_mtu = 68, max_mtu = 65535
ibmvnic: - min_mtu = adapter->min_mtu, max_mtu = adapter->max_mtu - remove now redundant ibmvnic_change_mtu
jme: - min_mtu = 1280, max_mtu = 9202
mv643xx_eth: - min_mtu = 64, max_mtu = 9500
mlxsw: - min_mtu = 0, max_mtu = 65535 - Basically bypassing the core checks, and instead relying on dynamic checks in the respective switch drivers' ndo_change_mtu functions
ns83820: - min_mtu = 0 - remove redundant ns83820_change_mtu, only checked for mtu > 1500
netxen: - min_mtu = 0, max_mtu = 8000 (P2), max_mtu = 9600 (P3)
qlge: - min_mtu = 1500, max_mtu = 9000 - driver only supports setting mtu to 1500 or 9000, so the core check only rules out < 1500 and > 9000, qlge_change_mtu still needs to check that the value is 1500 or 9000
qualcomm/emac: - min_mtu = 46, max_mtu = 9194
xilinx_axienet: - min_mtu = 64, max_mtu = 9000
Fixes: 61e84623ace3 ("net: centralize net_device min/max MTU checking") CC: netdev@vger.kernel.org CC: Jes Sorensen <jes@trained-monkey.org> CC: Netanel Belgazal <netanel@annapurnalabs.com> CC: Tom Lendacky <thomas.lendacky@amd.com> CC: Santosh Raspatur <santosh@chelsio.com> CC: Hariprasad S <hariprasad@chelsio.com> CC: Sathya Perla <sathya.perla@broadcom.com> CC: Ajit Khaparde <ajit.khaparde@broadcom.com> CC: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> CC: Somnath Kotur <somnath.kotur@broadcom.com> CC: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> CC: John Allen <jallen@linux.vnet.ibm.com> CC: Guo-Fu Tseng <cooldavid@cooldavid.org> CC: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> CC: Jiri Pirko <jiri@mellanox.com> CC: Ido Schimmel <idosch@mellanox.com> CC: Manish Chopra <manish.chopra@qlogic.com> CC: Sony Chacko <sony.chacko@qlogic.com> CC: Rajesh Borundia <rajesh.borundia@qlogic.com> CC: Timur Tabi <timur@codeaurora.org> CC: Anirudha Sarangi <anirudh@xilinx.com> CC: John Linn <John.Linn@xilinx.com> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | xgbe-drv.c | diff d894be57ca92c8a8819ab544d550809e8731137b Thu Oct 20 12:55:16 CDT 2016 Jarod Wilson <jarod@redhat.com> ethernet: use net core MTU range checking in more drivers
Somehow, I missed a healthy number of ethernet drivers in the last pass. Most of these drivers either were in need of an updated max_mtu to make jumbo frames possible to enable again. In a few cases, also setting a different min_mtu to match previous lower bounds. There are also a few drivers that had no upper bounds checking, so they're getting a brand new ETH_MAX_MTU that is identical to IP_MAX_MTU, but accessible by includes all ethernet and ethernet-like drivers all have already.
acenic: - min_mtu = 0, max_mtu = 9000
amazon/ena: - min_mtu = 128, max_mtu = adapter->max_mtu
amd/xgbe: - min_mtu = 0, max_mtu = 9000
sb1250: - min_mtu = 0, max_mtu = 1518
cxgb3: - min_mtu = 81, max_mtu = 65535
cxgb4: - min_mtu = 81, max_mtu = 9600
cxgb4vf: - min_mtu = 81, max_mtu = 65535
benet: - min_mtu = 256, max_mtu = 9000
ibmveth: - min_mtu = 68, max_mtu = 65535
ibmvnic: - min_mtu = adapter->min_mtu, max_mtu = adapter->max_mtu - remove now redundant ibmvnic_change_mtu
jme: - min_mtu = 1280, max_mtu = 9202
mv643xx_eth: - min_mtu = 64, max_mtu = 9500
mlxsw: - min_mtu = 0, max_mtu = 65535 - Basically bypassing the core checks, and instead relying on dynamic checks in the respective switch drivers' ndo_change_mtu functions
ns83820: - min_mtu = 0 - remove redundant ns83820_change_mtu, only checked for mtu > 1500
netxen: - min_mtu = 0, max_mtu = 8000 (P2), max_mtu = 9600 (P3)
qlge: - min_mtu = 1500, max_mtu = 9000 - driver only supports setting mtu to 1500 or 9000, so the core check only rules out < 1500 and > 9000, qlge_change_mtu still needs to check that the value is 1500 or 9000
qualcomm/emac: - min_mtu = 46, max_mtu = 9194
xilinx_axienet: - min_mtu = 64, max_mtu = 9000
Fixes: 61e84623ace3 ("net: centralize net_device min/max MTU checking") CC: netdev@vger.kernel.org CC: Jes Sorensen <jes@trained-monkey.org> CC: Netanel Belgazal <netanel@annapurnalabs.com> CC: Tom Lendacky <thomas.lendacky@amd.com> CC: Santosh Raspatur <santosh@chelsio.com> CC: Hariprasad S <hariprasad@chelsio.com> CC: Sathya Perla <sathya.perla@broadcom.com> CC: Ajit Khaparde <ajit.khaparde@broadcom.com> CC: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> CC: Somnath Kotur <somnath.kotur@broadcom.com> CC: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> CC: John Allen <jallen@linux.vnet.ibm.com> CC: Guo-Fu Tseng <cooldavid@cooldavid.org> CC: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> CC: Jiri Pirko <jiri@mellanox.com> CC: Ido Schimmel <idosch@mellanox.com> CC: Manish Chopra <manish.chopra@qlogic.com> CC: Sony Chacko <sony.chacko@qlogic.com> CC: Rajesh Borundia <rajesh.borundia@qlogic.com> CC: Timur Tabi <timur@codeaurora.org> CC: Anirudha Sarangi <anirudh@xilinx.com> CC: John Linn <John.Linn@xilinx.com> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/alteon/ |
H A D | acenic.c | diff d894be57ca92c8a8819ab544d550809e8731137b Thu Oct 20 12:55:16 CDT 2016 Jarod Wilson <jarod@redhat.com> ethernet: use net core MTU range checking in more drivers
Somehow, I missed a healthy number of ethernet drivers in the last pass. Most of these drivers either were in need of an updated max_mtu to make jumbo frames possible to enable again. In a few cases, also setting a different min_mtu to match previous lower bounds. There are also a few drivers that had no upper bounds checking, so they're getting a brand new ETH_MAX_MTU that is identical to IP_MAX_MTU, but accessible by includes all ethernet and ethernet-like drivers all have already.
acenic: - min_mtu = 0, max_mtu = 9000
amazon/ena: - min_mtu = 128, max_mtu = adapter->max_mtu
amd/xgbe: - min_mtu = 0, max_mtu = 9000
sb1250: - min_mtu = 0, max_mtu = 1518
cxgb3: - min_mtu = 81, max_mtu = 65535
cxgb4: - min_mtu = 81, max_mtu = 9600
cxgb4vf: - min_mtu = 81, max_mtu = 65535
benet: - min_mtu = 256, max_mtu = 9000
ibmveth: - min_mtu = 68, max_mtu = 65535
ibmvnic: - min_mtu = adapter->min_mtu, max_mtu = adapter->max_mtu - remove now redundant ibmvnic_change_mtu
jme: - min_mtu = 1280, max_mtu = 9202
mv643xx_eth: - min_mtu = 64, max_mtu = 9500
mlxsw: - min_mtu = 0, max_mtu = 65535 - Basically bypassing the core checks, and instead relying on dynamic checks in the respective switch drivers' ndo_change_mtu functions
ns83820: - min_mtu = 0 - remove redundant ns83820_change_mtu, only checked for mtu > 1500
netxen: - min_mtu = 0, max_mtu = 8000 (P2), max_mtu = 9600 (P3)
qlge: - min_mtu = 1500, max_mtu = 9000 - driver only supports setting mtu to 1500 or 9000, so the core check only rules out < 1500 and > 9000, qlge_change_mtu still needs to check that the value is 1500 or 9000
qualcomm/emac: - min_mtu = 46, max_mtu = 9194
xilinx_axienet: - min_mtu = 64, max_mtu = 9000
Fixes: 61e84623ace3 ("net: centralize net_device min/max MTU checking") CC: netdev@vger.kernel.org CC: Jes Sorensen <jes@trained-monkey.org> CC: Netanel Belgazal <netanel@annapurnalabs.com> CC: Tom Lendacky <thomas.lendacky@amd.com> CC: Santosh Raspatur <santosh@chelsio.com> CC: Hariprasad S <hariprasad@chelsio.com> CC: Sathya Perla <sathya.perla@broadcom.com> CC: Ajit Khaparde <ajit.khaparde@broadcom.com> CC: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> CC: Somnath Kotur <somnath.kotur@broadcom.com> CC: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> CC: John Allen <jallen@linux.vnet.ibm.com> CC: Guo-Fu Tseng <cooldavid@cooldavid.org> CC: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> CC: Jiri Pirko <jiri@mellanox.com> CC: Ido Schimmel <idosch@mellanox.com> CC: Manish Chopra <manish.chopra@qlogic.com> CC: Sony Chacko <sony.chacko@qlogic.com> CC: Rajesh Borundia <rajesh.borundia@qlogic.com> CC: Timur Tabi <timur@codeaurora.org> CC: Anirudha Sarangi <anirudh@xilinx.com> CC: John Linn <John.Linn@xilinx.com> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | sb1250-mac.c | diff d894be57ca92c8a8819ab544d550809e8731137b Thu Oct 20 12:55:16 CDT 2016 Jarod Wilson <jarod@redhat.com> ethernet: use net core MTU range checking in more drivers
Somehow, I missed a healthy number of ethernet drivers in the last pass. Most of these drivers either were in need of an updated max_mtu to make jumbo frames possible to enable again. In a few cases, also setting a different min_mtu to match previous lower bounds. There are also a few drivers that had no upper bounds checking, so they're getting a brand new ETH_MAX_MTU that is identical to IP_MAX_MTU, but accessible by includes all ethernet and ethernet-like drivers all have already.
acenic: - min_mtu = 0, max_mtu = 9000
amazon/ena: - min_mtu = 128, max_mtu = adapter->max_mtu
amd/xgbe: - min_mtu = 0, max_mtu = 9000
sb1250: - min_mtu = 0, max_mtu = 1518
cxgb3: - min_mtu = 81, max_mtu = 65535
cxgb4: - min_mtu = 81, max_mtu = 9600
cxgb4vf: - min_mtu = 81, max_mtu = 65535
benet: - min_mtu = 256, max_mtu = 9000
ibmveth: - min_mtu = 68, max_mtu = 65535
ibmvnic: - min_mtu = adapter->min_mtu, max_mtu = adapter->max_mtu - remove now redundant ibmvnic_change_mtu
jme: - min_mtu = 1280, max_mtu = 9202
mv643xx_eth: - min_mtu = 64, max_mtu = 9500
mlxsw: - min_mtu = 0, max_mtu = 65535 - Basically bypassing the core checks, and instead relying on dynamic checks in the respective switch drivers' ndo_change_mtu functions
ns83820: - min_mtu = 0 - remove redundant ns83820_change_mtu, only checked for mtu > 1500
netxen: - min_mtu = 0, max_mtu = 8000 (P2), max_mtu = 9600 (P3)
qlge: - min_mtu = 1500, max_mtu = 9000 - driver only supports setting mtu to 1500 or 9000, so the core check only rules out < 1500 and > 9000, qlge_change_mtu still needs to check that the value is 1500 or 9000
qualcomm/emac: - min_mtu = 46, max_mtu = 9194
xilinx_axienet: - min_mtu = 64, max_mtu = 9000
Fixes: 61e84623ace3 ("net: centralize net_device min/max MTU checking") CC: netdev@vger.kernel.org CC: Jes Sorensen <jes@trained-monkey.org> CC: Netanel Belgazal <netanel@annapurnalabs.com> CC: Tom Lendacky <thomas.lendacky@amd.com> CC: Santosh Raspatur <santosh@chelsio.com> CC: Hariprasad S <hariprasad@chelsio.com> CC: Sathya Perla <sathya.perla@broadcom.com> CC: Ajit Khaparde <ajit.khaparde@broadcom.com> CC: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> CC: Somnath Kotur <somnath.kotur@broadcom.com> CC: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> CC: John Allen <jallen@linux.vnet.ibm.com> CC: Guo-Fu Tseng <cooldavid@cooldavid.org> CC: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> CC: Jiri Pirko <jiri@mellanox.com> CC: Ido Schimmel <idosch@mellanox.com> CC: Manish Chopra <manish.chopra@qlogic.com> CC: Sony Chacko <sony.chacko@qlogic.com> CC: Rajesh Borundia <rajesh.borundia@qlogic.com> CC: Timur Tabi <timur@codeaurora.org> CC: Anirudha Sarangi <anirudh@xilinx.com> CC: John Linn <John.Linn@xilinx.com> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac.c | diff d894be57ca92c8a8819ab544d550809e8731137b Thu Oct 20 12:55:16 CDT 2016 Jarod Wilson <jarod@redhat.com> ethernet: use net core MTU range checking in more drivers
Somehow, I missed a healthy number of ethernet drivers in the last pass. Most of these drivers either were in need of an updated max_mtu to make jumbo frames possible to enable again. In a few cases, also setting a different min_mtu to match previous lower bounds. There are also a few drivers that had no upper bounds checking, so they're getting a brand new ETH_MAX_MTU that is identical to IP_MAX_MTU, but accessible by includes all ethernet and ethernet-like drivers all have already.
acenic: - min_mtu = 0, max_mtu = 9000
amazon/ena: - min_mtu = 128, max_mtu = adapter->max_mtu
amd/xgbe: - min_mtu = 0, max_mtu = 9000
sb1250: - min_mtu = 0, max_mtu = 1518
cxgb3: - min_mtu = 81, max_mtu = 65535
cxgb4: - min_mtu = 81, max_mtu = 9600
cxgb4vf: - min_mtu = 81, max_mtu = 65535
benet: - min_mtu = 256, max_mtu = 9000
ibmveth: - min_mtu = 68, max_mtu = 65535
ibmvnic: - min_mtu = adapter->min_mtu, max_mtu = adapter->max_mtu - remove now redundant ibmvnic_change_mtu
jme: - min_mtu = 1280, max_mtu = 9202
mv643xx_eth: - min_mtu = 64, max_mtu = 9500
mlxsw: - min_mtu = 0, max_mtu = 65535 - Basically bypassing the core checks, and instead relying on dynamic checks in the respective switch drivers' ndo_change_mtu functions
ns83820: - min_mtu = 0 - remove redundant ns83820_change_mtu, only checked for mtu > 1500
netxen: - min_mtu = 0, max_mtu = 8000 (P2), max_mtu = 9600 (P3)
qlge: - min_mtu = 1500, max_mtu = 9000 - driver only supports setting mtu to 1500 or 9000, so the core check only rules out < 1500 and > 9000, qlge_change_mtu still needs to check that the value is 1500 or 9000
qualcomm/emac: - min_mtu = 46, max_mtu = 9194
xilinx_axienet: - min_mtu = 64, max_mtu = 9000
Fixes: 61e84623ace3 ("net: centralize net_device min/max MTU checking") CC: netdev@vger.kernel.org CC: Jes Sorensen <jes@trained-monkey.org> CC: Netanel Belgazal <netanel@annapurnalabs.com> CC: Tom Lendacky <thomas.lendacky@amd.com> CC: Santosh Raspatur <santosh@chelsio.com> CC: Hariprasad S <hariprasad@chelsio.com> CC: Sathya Perla <sathya.perla@broadcom.com> CC: Ajit Khaparde <ajit.khaparde@broadcom.com> CC: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> CC: Somnath Kotur <somnath.kotur@broadcom.com> CC: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> CC: John Allen <jallen@linux.vnet.ibm.com> CC: Guo-Fu Tseng <cooldavid@cooldavid.org> CC: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> CC: Jiri Pirko <jiri@mellanox.com> CC: Ido Schimmel <idosch@mellanox.com> CC: Manish Chopra <manish.chopra@qlogic.com> CC: Sony Chacko <sony.chacko@qlogic.com> CC: Rajesh Borundia <rajesh.borundia@qlogic.com> CC: Timur Tabi <timur@codeaurora.org> CC: Anirudha Sarangi <anirudh@xilinx.com> CC: John Linn <John.Linn@xilinx.com> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/include/uapi/linux/ |
H A D | if_ether.h | diff d894be57ca92c8a8819ab544d550809e8731137b Thu Oct 20 12:55:16 CDT 2016 Jarod Wilson <jarod@redhat.com> ethernet: use net core MTU range checking in more drivers
Somehow, I missed a healthy number of ethernet drivers in the last pass. Most of these drivers either were in need of an updated max_mtu to make jumbo frames possible to enable again. In a few cases, also setting a different min_mtu to match previous lower bounds. There are also a few drivers that had no upper bounds checking, so they're getting a brand new ETH_MAX_MTU that is identical to IP_MAX_MTU, but accessible by includes all ethernet and ethernet-like drivers all have already.
acenic: - min_mtu = 0, max_mtu = 9000
amazon/ena: - min_mtu = 128, max_mtu = adapter->max_mtu
amd/xgbe: - min_mtu = 0, max_mtu = 9000
sb1250: - min_mtu = 0, max_mtu = 1518
cxgb3: - min_mtu = 81, max_mtu = 65535
cxgb4: - min_mtu = 81, max_mtu = 9600
cxgb4vf: - min_mtu = 81, max_mtu = 65535
benet: - min_mtu = 256, max_mtu = 9000
ibmveth: - min_mtu = 68, max_mtu = 65535
ibmvnic: - min_mtu = adapter->min_mtu, max_mtu = adapter->max_mtu - remove now redundant ibmvnic_change_mtu
jme: - min_mtu = 1280, max_mtu = 9202
mv643xx_eth: - min_mtu = 64, max_mtu = 9500
mlxsw: - min_mtu = 0, max_mtu = 65535 - Basically bypassing the core checks, and instead relying on dynamic checks in the respective switch drivers' ndo_change_mtu functions
ns83820: - min_mtu = 0 - remove redundant ns83820_change_mtu, only checked for mtu > 1500
netxen: - min_mtu = 0, max_mtu = 8000 (P2), max_mtu = 9600 (P3)
qlge: - min_mtu = 1500, max_mtu = 9000 - driver only supports setting mtu to 1500 or 9000, so the core check only rules out < 1500 and > 9000, qlge_change_mtu still needs to check that the value is 1500 or 9000
qualcomm/emac: - min_mtu = 46, max_mtu = 9194
xilinx_axienet: - min_mtu = 64, max_mtu = 9000
Fixes: 61e84623ace3 ("net: centralize net_device min/max MTU checking") CC: netdev@vger.kernel.org CC: Jes Sorensen <jes@trained-monkey.org> CC: Netanel Belgazal <netanel@annapurnalabs.com> CC: Tom Lendacky <thomas.lendacky@amd.com> CC: Santosh Raspatur <santosh@chelsio.com> CC: Hariprasad S <hariprasad@chelsio.com> CC: Sathya Perla <sathya.perla@broadcom.com> CC: Ajit Khaparde <ajit.khaparde@broadcom.com> CC: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> CC: Somnath Kotur <somnath.kotur@broadcom.com> CC: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> CC: John Allen <jallen@linux.vnet.ibm.com> CC: Guo-Fu Tseng <cooldavid@cooldavid.org> CC: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> CC: Jiri Pirko <jiri@mellanox.com> CC: Ido Schimmel <idosch@mellanox.com> CC: Manish Chopra <manish.chopra@qlogic.com> CC: Sony Chacko <sony.chacko@qlogic.com> CC: Rajesh Borundia <rajesh.borundia@qlogic.com> CC: Timur Tabi <timur@codeaurora.org> CC: Anirudha Sarangi <anirudh@xilinx.com> CC: John Linn <John.Linn@xilinx.com> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/ |
H A D | jme.c | diff d894be57ca92c8a8819ab544d550809e8731137b Thu Oct 20 12:55:16 CDT 2016 Jarod Wilson <jarod@redhat.com> ethernet: use net core MTU range checking in more drivers
Somehow, I missed a healthy number of ethernet drivers in the last pass. Most of these drivers either were in need of an updated max_mtu to make jumbo frames possible to enable again. In a few cases, also setting a different min_mtu to match previous lower bounds. There are also a few drivers that had no upper bounds checking, so they're getting a brand new ETH_MAX_MTU that is identical to IP_MAX_MTU, but accessible by includes all ethernet and ethernet-like drivers all have already.
acenic: - min_mtu = 0, max_mtu = 9000
amazon/ena: - min_mtu = 128, max_mtu = adapter->max_mtu
amd/xgbe: - min_mtu = 0, max_mtu = 9000
sb1250: - min_mtu = 0, max_mtu = 1518
cxgb3: - min_mtu = 81, max_mtu = 65535
cxgb4: - min_mtu = 81, max_mtu = 9600
cxgb4vf: - min_mtu = 81, max_mtu = 65535
benet: - min_mtu = 256, max_mtu = 9000
ibmveth: - min_mtu = 68, max_mtu = 65535
ibmvnic: - min_mtu = adapter->min_mtu, max_mtu = adapter->max_mtu - remove now redundant ibmvnic_change_mtu
jme: - min_mtu = 1280, max_mtu = 9202
mv643xx_eth: - min_mtu = 64, max_mtu = 9500
mlxsw: - min_mtu = 0, max_mtu = 65535 - Basically bypassing the core checks, and instead relying on dynamic checks in the respective switch drivers' ndo_change_mtu functions
ns83820: - min_mtu = 0 - remove redundant ns83820_change_mtu, only checked for mtu > 1500
netxen: - min_mtu = 0, max_mtu = 8000 (P2), max_mtu = 9600 (P3)
qlge: - min_mtu = 1500, max_mtu = 9000 - driver only supports setting mtu to 1500 or 9000, so the core check only rules out < 1500 and > 9000, qlge_change_mtu still needs to check that the value is 1500 or 9000
qualcomm/emac: - min_mtu = 46, max_mtu = 9194
xilinx_axienet: - min_mtu = 64, max_mtu = 9000
Fixes: 61e84623ace3 ("net: centralize net_device min/max MTU checking") CC: netdev@vger.kernel.org CC: Jes Sorensen <jes@trained-monkey.org> CC: Netanel Belgazal <netanel@annapurnalabs.com> CC: Tom Lendacky <thomas.lendacky@amd.com> CC: Santosh Raspatur <santosh@chelsio.com> CC: Hariprasad S <hariprasad@chelsio.com> CC: Sathya Perla <sathya.perla@broadcom.com> CC: Ajit Khaparde <ajit.khaparde@broadcom.com> CC: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> CC: Somnath Kotur <somnath.kotur@broadcom.com> CC: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> CC: John Allen <jallen@linux.vnet.ibm.com> CC: Guo-Fu Tseng <cooldavid@cooldavid.org> CC: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> CC: Jiri Pirko <jiri@mellanox.com> CC: Ido Schimmel <idosch@mellanox.com> CC: Manish Chopra <manish.chopra@qlogic.com> CC: Sony Chacko <sony.chacko@qlogic.com> CC: Rajesh Borundia <rajesh.borundia@qlogic.com> CC: Timur Tabi <timur@codeaurora.org> CC: Anirudha Sarangi <anirudh@xilinx.com> CC: John Linn <John.Linn@xilinx.com> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_main.c | diff d894be57ca92c8a8819ab544d550809e8731137b Thu Oct 20 12:55:16 CDT 2016 Jarod Wilson <jarod@redhat.com> ethernet: use net core MTU range checking in more drivers
Somehow, I missed a healthy number of ethernet drivers in the last pass. Most of these drivers either were in need of an updated max_mtu to make jumbo frames possible to enable again. In a few cases, also setting a different min_mtu to match previous lower bounds. There are also a few drivers that had no upper bounds checking, so they're getting a brand new ETH_MAX_MTU that is identical to IP_MAX_MTU, but accessible by includes all ethernet and ethernet-like drivers all have already.
acenic: - min_mtu = 0, max_mtu = 9000
amazon/ena: - min_mtu = 128, max_mtu = adapter->max_mtu
amd/xgbe: - min_mtu = 0, max_mtu = 9000
sb1250: - min_mtu = 0, max_mtu = 1518
cxgb3: - min_mtu = 81, max_mtu = 65535
cxgb4: - min_mtu = 81, max_mtu = 9600
cxgb4vf: - min_mtu = 81, max_mtu = 65535
benet: - min_mtu = 256, max_mtu = 9000
ibmveth: - min_mtu = 68, max_mtu = 65535
ibmvnic: - min_mtu = adapter->min_mtu, max_mtu = adapter->max_mtu - remove now redundant ibmvnic_change_mtu
jme: - min_mtu = 1280, max_mtu = 9202
mv643xx_eth: - min_mtu = 64, max_mtu = 9500
mlxsw: - min_mtu = 0, max_mtu = 65535 - Basically bypassing the core checks, and instead relying on dynamic checks in the respective switch drivers' ndo_change_mtu functions
ns83820: - min_mtu = 0 - remove redundant ns83820_change_mtu, only checked for mtu > 1500
netxen: - min_mtu = 0, max_mtu = 8000 (P2), max_mtu = 9600 (P3)
qlge: - min_mtu = 1500, max_mtu = 9000 - driver only supports setting mtu to 1500 or 9000, so the core check only rules out < 1500 and > 9000, qlge_change_mtu still needs to check that the value is 1500 or 9000
qualcomm/emac: - min_mtu = 46, max_mtu = 9194
xilinx_axienet: - min_mtu = 64, max_mtu = 9000
Fixes: 61e84623ace3 ("net: centralize net_device min/max MTU checking") CC: netdev@vger.kernel.org CC: Jes Sorensen <jes@trained-monkey.org> CC: Netanel Belgazal <netanel@annapurnalabs.com> CC: Tom Lendacky <thomas.lendacky@amd.com> CC: Santosh Raspatur <santosh@chelsio.com> CC: Hariprasad S <hariprasad@chelsio.com> CC: Sathya Perla <sathya.perla@broadcom.com> CC: Ajit Khaparde <ajit.khaparde@broadcom.com> CC: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> CC: Somnath Kotur <somnath.kotur@broadcom.com> CC: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> CC: John Allen <jallen@linux.vnet.ibm.com> CC: Guo-Fu Tseng <cooldavid@cooldavid.org> CC: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> CC: Jiri Pirko <jiri@mellanox.com> CC: Ido Schimmel <idosch@mellanox.com> CC: Manish Chopra <manish.chopra@qlogic.com> CC: Sony Chacko <sony.chacko@qlogic.com> CC: Rajesh Borundia <rajesh.borundia@qlogic.com> CC: Timur Tabi <timur@codeaurora.org> CC: Anirudha Sarangi <anirudh@xilinx.com> CC: John Linn <John.Linn@xilinx.com> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/ibm/ |
H A D | ibmveth.c | diff d894be57ca92c8a8819ab544d550809e8731137b Thu Oct 20 12:55:16 CDT 2016 Jarod Wilson <jarod@redhat.com> ethernet: use net core MTU range checking in more drivers
Somehow, I missed a healthy number of ethernet drivers in the last pass. Most of these drivers either were in need of an updated max_mtu to make jumbo frames possible to enable again. In a few cases, also setting a different min_mtu to match previous lower bounds. There are also a few drivers that had no upper bounds checking, so they're getting a brand new ETH_MAX_MTU that is identical to IP_MAX_MTU, but accessible by includes all ethernet and ethernet-like drivers all have already.
acenic: - min_mtu = 0, max_mtu = 9000
amazon/ena: - min_mtu = 128, max_mtu = adapter->max_mtu
amd/xgbe: - min_mtu = 0, max_mtu = 9000
sb1250: - min_mtu = 0, max_mtu = 1518
cxgb3: - min_mtu = 81, max_mtu = 65535
cxgb4: - min_mtu = 81, max_mtu = 9600
cxgb4vf: - min_mtu = 81, max_mtu = 65535
benet: - min_mtu = 256, max_mtu = 9000
ibmveth: - min_mtu = 68, max_mtu = 65535
ibmvnic: - min_mtu = adapter->min_mtu, max_mtu = adapter->max_mtu - remove now redundant ibmvnic_change_mtu
jme: - min_mtu = 1280, max_mtu = 9202
mv643xx_eth: - min_mtu = 64, max_mtu = 9500
mlxsw: - min_mtu = 0, max_mtu = 65535 - Basically bypassing the core checks, and instead relying on dynamic checks in the respective switch drivers' ndo_change_mtu functions
ns83820: - min_mtu = 0 - remove redundant ns83820_change_mtu, only checked for mtu > 1500
netxen: - min_mtu = 0, max_mtu = 8000 (P2), max_mtu = 9600 (P3)
qlge: - min_mtu = 1500, max_mtu = 9000 - driver only supports setting mtu to 1500 or 9000, so the core check only rules out < 1500 and > 9000, qlge_change_mtu still needs to check that the value is 1500 or 9000
qualcomm/emac: - min_mtu = 46, max_mtu = 9194
xilinx_axienet: - min_mtu = 64, max_mtu = 9000
Fixes: 61e84623ace3 ("net: centralize net_device min/max MTU checking") CC: netdev@vger.kernel.org CC: Jes Sorensen <jes@trained-monkey.org> CC: Netanel Belgazal <netanel@annapurnalabs.com> CC: Tom Lendacky <thomas.lendacky@amd.com> CC: Santosh Raspatur <santosh@chelsio.com> CC: Hariprasad S <hariprasad@chelsio.com> CC: Sathya Perla <sathya.perla@broadcom.com> CC: Ajit Khaparde <ajit.khaparde@broadcom.com> CC: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> CC: Somnath Kotur <somnath.kotur@broadcom.com> CC: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> CC: John Allen <jallen@linux.vnet.ibm.com> CC: Guo-Fu Tseng <cooldavid@cooldavid.org> CC: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> CC: Jiri Pirko <jiri@mellanox.com> CC: Ido Schimmel <idosch@mellanox.com> CC: Manish Chopra <manish.chopra@qlogic.com> CC: Sony Chacko <sony.chacko@qlogic.com> CC: Rajesh Borundia <rajesh.borundia@qlogic.com> CC: Timur Tabi <timur@codeaurora.org> CC: Anirudha Sarangi <anirudh@xilinx.com> CC: John Linn <John.Linn@xilinx.com> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | ibmvnic.c | diff d894be57ca92c8a8819ab544d550809e8731137b Thu Oct 20 12:55:16 CDT 2016 Jarod Wilson <jarod@redhat.com> ethernet: use net core MTU range checking in more drivers
Somehow, I missed a healthy number of ethernet drivers in the last pass. Most of these drivers either were in need of an updated max_mtu to make jumbo frames possible to enable again. In a few cases, also setting a different min_mtu to match previous lower bounds. There are also a few drivers that had no upper bounds checking, so they're getting a brand new ETH_MAX_MTU that is identical to IP_MAX_MTU, but accessible by includes all ethernet and ethernet-like drivers all have already.
acenic: - min_mtu = 0, max_mtu = 9000
amazon/ena: - min_mtu = 128, max_mtu = adapter->max_mtu
amd/xgbe: - min_mtu = 0, max_mtu = 9000
sb1250: - min_mtu = 0, max_mtu = 1518
cxgb3: - min_mtu = 81, max_mtu = 65535
cxgb4: - min_mtu = 81, max_mtu = 9600
cxgb4vf: - min_mtu = 81, max_mtu = 65535
benet: - min_mtu = 256, max_mtu = 9000
ibmveth: - min_mtu = 68, max_mtu = 65535
ibmvnic: - min_mtu = adapter->min_mtu, max_mtu = adapter->max_mtu - remove now redundant ibmvnic_change_mtu
jme: - min_mtu = 1280, max_mtu = 9202
mv643xx_eth: - min_mtu = 64, max_mtu = 9500
mlxsw: - min_mtu = 0, max_mtu = 65535 - Basically bypassing the core checks, and instead relying on dynamic checks in the respective switch drivers' ndo_change_mtu functions
ns83820: - min_mtu = 0 - remove redundant ns83820_change_mtu, only checked for mtu > 1500
netxen: - min_mtu = 0, max_mtu = 8000 (P2), max_mtu = 9600 (P3)
qlge: - min_mtu = 1500, max_mtu = 9000 - driver only supports setting mtu to 1500 or 9000, so the core check only rules out < 1500 and > 9000, qlge_change_mtu still needs to check that the value is 1500 or 9000
qualcomm/emac: - min_mtu = 46, max_mtu = 9194
xilinx_axienet: - min_mtu = 64, max_mtu = 9000
Fixes: 61e84623ace3 ("net: centralize net_device min/max MTU checking") CC: netdev@vger.kernel.org CC: Jes Sorensen <jes@trained-monkey.org> CC: Netanel Belgazal <netanel@annapurnalabs.com> CC: Tom Lendacky <thomas.lendacky@amd.com> CC: Santosh Raspatur <santosh@chelsio.com> CC: Hariprasad S <hariprasad@chelsio.com> CC: Sathya Perla <sathya.perla@broadcom.com> CC: Ajit Khaparde <ajit.khaparde@broadcom.com> CC: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> CC: Somnath Kotur <somnath.kotur@broadcom.com> CC: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> CC: John Allen <jallen@linux.vnet.ibm.com> CC: Guo-Fu Tseng <cooldavid@cooldavid.org> CC: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> CC: Jiri Pirko <jiri@mellanox.com> CC: Ido Schimmel <idosch@mellanox.com> CC: Manish Chopra <manish.chopra@qlogic.com> CC: Sony Chacko <sony.chacko@qlogic.com> CC: Rajesh Borundia <rajesh.borundia@qlogic.com> CC: Timur Tabi <timur@codeaurora.org> CC: Anirudha Sarangi <anirudh@xilinx.com> CC: John Linn <John.Linn@xilinx.com> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | cxgb4vf_main.c | diff d894be57ca92c8a8819ab544d550809e8731137b Thu Oct 20 12:55:16 CDT 2016 Jarod Wilson <jarod@redhat.com> ethernet: use net core MTU range checking in more drivers
Somehow, I missed a healthy number of ethernet drivers in the last pass. Most of these drivers either were in need of an updated max_mtu to make jumbo frames possible to enable again. In a few cases, also setting a different min_mtu to match previous lower bounds. There are also a few drivers that had no upper bounds checking, so they're getting a brand new ETH_MAX_MTU that is identical to IP_MAX_MTU, but accessible by includes all ethernet and ethernet-like drivers all have already.
acenic: - min_mtu = 0, max_mtu = 9000
amazon/ena: - min_mtu = 128, max_mtu = adapter->max_mtu
amd/xgbe: - min_mtu = 0, max_mtu = 9000
sb1250: - min_mtu = 0, max_mtu = 1518
cxgb3: - min_mtu = 81, max_mtu = 65535
cxgb4: - min_mtu = 81, max_mtu = 9600
cxgb4vf: - min_mtu = 81, max_mtu = 65535
benet: - min_mtu = 256, max_mtu = 9000
ibmveth: - min_mtu = 68, max_mtu = 65535
ibmvnic: - min_mtu = adapter->min_mtu, max_mtu = adapter->max_mtu - remove now redundant ibmvnic_change_mtu
jme: - min_mtu = 1280, max_mtu = 9202
mv643xx_eth: - min_mtu = 64, max_mtu = 9500
mlxsw: - min_mtu = 0, max_mtu = 65535 - Basically bypassing the core checks, and instead relying on dynamic checks in the respective switch drivers' ndo_change_mtu functions
ns83820: - min_mtu = 0 - remove redundant ns83820_change_mtu, only checked for mtu > 1500
netxen: - min_mtu = 0, max_mtu = 8000 (P2), max_mtu = 9600 (P3)
qlge: - min_mtu = 1500, max_mtu = 9000 - driver only supports setting mtu to 1500 or 9000, so the core check only rules out < 1500 and > 9000, qlge_change_mtu still needs to check that the value is 1500 or 9000
qualcomm/emac: - min_mtu = 46, max_mtu = 9194
xilinx_axienet: - min_mtu = 64, max_mtu = 9000
Fixes: 61e84623ace3 ("net: centralize net_device min/max MTU checking") CC: netdev@vger.kernel.org CC: Jes Sorensen <jes@trained-monkey.org> CC: Netanel Belgazal <netanel@annapurnalabs.com> CC: Tom Lendacky <thomas.lendacky@amd.com> CC: Santosh Raspatur <santosh@chelsio.com> CC: Hariprasad S <hariprasad@chelsio.com> CC: Sathya Perla <sathya.perla@broadcom.com> CC: Ajit Khaparde <ajit.khaparde@broadcom.com> CC: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> CC: Somnath Kotur <somnath.kotur@broadcom.com> CC: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> CC: John Allen <jallen@linux.vnet.ibm.com> CC: Guo-Fu Tseng <cooldavid@cooldavid.org> CC: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> CC: Jiri Pirko <jiri@mellanox.com> CC: Ido Schimmel <idosch@mellanox.com> CC: Manish Chopra <manish.chopra@qlogic.com> CC: Sony Chacko <sony.chacko@qlogic.com> CC: Rajesh Borundia <rajesh.borundia@qlogic.com> CC: Timur Tabi <timur@codeaurora.org> CC: Anirudha Sarangi <anirudh@xilinx.com> CC: John Linn <John.Linn@xilinx.com> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/amazon/ena/ |
H A D | ena_netdev.c | diff d894be57ca92c8a8819ab544d550809e8731137b Thu Oct 20 12:55:16 CDT 2016 Jarod Wilson <jarod@redhat.com> ethernet: use net core MTU range checking in more drivers
Somehow, I missed a healthy number of ethernet drivers in the last pass. Most of these drivers either were in need of an updated max_mtu to make jumbo frames possible to enable again. In a few cases, also setting a different min_mtu to match previous lower bounds. There are also a few drivers that had no upper bounds checking, so they're getting a brand new ETH_MAX_MTU that is identical to IP_MAX_MTU, but accessible by includes all ethernet and ethernet-like drivers all have already.
acenic: - min_mtu = 0, max_mtu = 9000
amazon/ena: - min_mtu = 128, max_mtu = adapter->max_mtu
amd/xgbe: - min_mtu = 0, max_mtu = 9000
sb1250: - min_mtu = 0, max_mtu = 1518
cxgb3: - min_mtu = 81, max_mtu = 65535
cxgb4: - min_mtu = 81, max_mtu = 9600
cxgb4vf: - min_mtu = 81, max_mtu = 65535
benet: - min_mtu = 256, max_mtu = 9000
ibmveth: - min_mtu = 68, max_mtu = 65535
ibmvnic: - min_mtu = adapter->min_mtu, max_mtu = adapter->max_mtu - remove now redundant ibmvnic_change_mtu
jme: - min_mtu = 1280, max_mtu = 9202
mv643xx_eth: - min_mtu = 64, max_mtu = 9500
mlxsw: - min_mtu = 0, max_mtu = 65535 - Basically bypassing the core checks, and instead relying on dynamic checks in the respective switch drivers' ndo_change_mtu functions
ns83820: - min_mtu = 0 - remove redundant ns83820_change_mtu, only checked for mtu > 1500
netxen: - min_mtu = 0, max_mtu = 8000 (P2), max_mtu = 9600 (P3)
qlge: - min_mtu = 1500, max_mtu = 9000 - driver only supports setting mtu to 1500 or 9000, so the core check only rules out < 1500 and > 9000, qlge_change_mtu still needs to check that the value is 1500 or 9000
qualcomm/emac: - min_mtu = 46, max_mtu = 9194
xilinx_axienet: - min_mtu = 64, max_mtu = 9000
Fixes: 61e84623ace3 ("net: centralize net_device min/max MTU checking") CC: netdev@vger.kernel.org CC: Jes Sorensen <jes@trained-monkey.org> CC: Netanel Belgazal <netanel@annapurnalabs.com> CC: Tom Lendacky <thomas.lendacky@amd.com> CC: Santosh Raspatur <santosh@chelsio.com> CC: Hariprasad S <hariprasad@chelsio.com> CC: Sathya Perla <sathya.perla@broadcom.com> CC: Ajit Khaparde <ajit.khaparde@broadcom.com> CC: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> CC: Somnath Kotur <somnath.kotur@broadcom.com> CC: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> CC: John Allen <jallen@linux.vnet.ibm.com> CC: Guo-Fu Tseng <cooldavid@cooldavid.org> CC: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> CC: Jiri Pirko <jiri@mellanox.com> CC: Ido Schimmel <idosch@mellanox.com> CC: Manish Chopra <manish.chopra@qlogic.com> CC: Sony Chacko <sony.chacko@qlogic.com> CC: Rajesh Borundia <rajesh.borundia@qlogic.com> CC: Timur Tabi <timur@codeaurora.org> CC: Anirudha Sarangi <anirudh@xilinx.com> CC: John Linn <John.Linn@xilinx.com> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/marvell/ |
H A D | mv643xx_eth.c | diff d894be57ca92c8a8819ab544d550809e8731137b Thu Oct 20 12:55:16 CDT 2016 Jarod Wilson <jarod@redhat.com> ethernet: use net core MTU range checking in more drivers
Somehow, I missed a healthy number of ethernet drivers in the last pass. Most of these drivers either were in need of an updated max_mtu to make jumbo frames possible to enable again. In a few cases, also setting a different min_mtu to match previous lower bounds. There are also a few drivers that had no upper bounds checking, so they're getting a brand new ETH_MAX_MTU that is identical to IP_MAX_MTU, but accessible by includes all ethernet and ethernet-like drivers all have already.
acenic: - min_mtu = 0, max_mtu = 9000
amazon/ena: - min_mtu = 128, max_mtu = adapter->max_mtu
amd/xgbe: - min_mtu = 0, max_mtu = 9000
sb1250: - min_mtu = 0, max_mtu = 1518
cxgb3: - min_mtu = 81, max_mtu = 65535
cxgb4: - min_mtu = 81, max_mtu = 9600
cxgb4vf: - min_mtu = 81, max_mtu = 65535
benet: - min_mtu = 256, max_mtu = 9000
ibmveth: - min_mtu = 68, max_mtu = 65535
ibmvnic: - min_mtu = adapter->min_mtu, max_mtu = adapter->max_mtu - remove now redundant ibmvnic_change_mtu
jme: - min_mtu = 1280, max_mtu = 9202
mv643xx_eth: - min_mtu = 64, max_mtu = 9500
mlxsw: - min_mtu = 0, max_mtu = 65535 - Basically bypassing the core checks, and instead relying on dynamic checks in the respective switch drivers' ndo_change_mtu functions
ns83820: - min_mtu = 0 - remove redundant ns83820_change_mtu, only checked for mtu > 1500
netxen: - min_mtu = 0, max_mtu = 8000 (P2), max_mtu = 9600 (P3)
qlge: - min_mtu = 1500, max_mtu = 9000 - driver only supports setting mtu to 1500 or 9000, so the core check only rules out < 1500 and > 9000, qlge_change_mtu still needs to check that the value is 1500 or 9000
qualcomm/emac: - min_mtu = 46, max_mtu = 9194
xilinx_axienet: - min_mtu = 64, max_mtu = 9000
Fixes: 61e84623ace3 ("net: centralize net_device min/max MTU checking") CC: netdev@vger.kernel.org CC: Jes Sorensen <jes@trained-monkey.org> CC: Netanel Belgazal <netanel@annapurnalabs.com> CC: Tom Lendacky <thomas.lendacky@amd.com> CC: Santosh Raspatur <santosh@chelsio.com> CC: Hariprasad S <hariprasad@chelsio.com> CC: Sathya Perla <sathya.perla@broadcom.com> CC: Ajit Khaparde <ajit.khaparde@broadcom.com> CC: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> CC: Somnath Kotur <somnath.kotur@broadcom.com> CC: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> CC: John Allen <jallen@linux.vnet.ibm.com> CC: Guo-Fu Tseng <cooldavid@cooldavid.org> CC: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> CC: Jiri Pirko <jiri@mellanox.com> CC: Ido Schimmel <idosch@mellanox.com> CC: Manish Chopra <manish.chopra@qlogic.com> CC: Sony Chacko <sony.chacko@qlogic.com> CC: Rajesh Borundia <rajesh.borundia@qlogic.com> CC: Timur Tabi <timur@codeaurora.org> CC: Anirudha Sarangi <anirudh@xilinx.com> CC: John Linn <John.Linn@xilinx.com> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/xilinx/ |
H A D | xilinx_axienet_main.c | diff d894be57ca92c8a8819ab544d550809e8731137b Thu Oct 20 12:55:16 CDT 2016 Jarod Wilson <jarod@redhat.com> ethernet: use net core MTU range checking in more drivers
Somehow, I missed a healthy number of ethernet drivers in the last pass. Most of these drivers either were in need of an updated max_mtu to make jumbo frames possible to enable again. In a few cases, also setting a different min_mtu to match previous lower bounds. There are also a few drivers that had no upper bounds checking, so they're getting a brand new ETH_MAX_MTU that is identical to IP_MAX_MTU, but accessible by includes all ethernet and ethernet-like drivers all have already.
acenic: - min_mtu = 0, max_mtu = 9000
amazon/ena: - min_mtu = 128, max_mtu = adapter->max_mtu
amd/xgbe: - min_mtu = 0, max_mtu = 9000
sb1250: - min_mtu = 0, max_mtu = 1518
cxgb3: - min_mtu = 81, max_mtu = 65535
cxgb4: - min_mtu = 81, max_mtu = 9600
cxgb4vf: - min_mtu = 81, max_mtu = 65535
benet: - min_mtu = 256, max_mtu = 9000
ibmveth: - min_mtu = 68, max_mtu = 65535
ibmvnic: - min_mtu = adapter->min_mtu, max_mtu = adapter->max_mtu - remove now redundant ibmvnic_change_mtu
jme: - min_mtu = 1280, max_mtu = 9202
mv643xx_eth: - min_mtu = 64, max_mtu = 9500
mlxsw: - min_mtu = 0, max_mtu = 65535 - Basically bypassing the core checks, and instead relying on dynamic checks in the respective switch drivers' ndo_change_mtu functions
ns83820: - min_mtu = 0 - remove redundant ns83820_change_mtu, only checked for mtu > 1500
netxen: - min_mtu = 0, max_mtu = 8000 (P2), max_mtu = 9600 (P3)
qlge: - min_mtu = 1500, max_mtu = 9000 - driver only supports setting mtu to 1500 or 9000, so the core check only rules out < 1500 and > 9000, qlge_change_mtu still needs to check that the value is 1500 or 9000
qualcomm/emac: - min_mtu = 46, max_mtu = 9194
xilinx_axienet: - min_mtu = 64, max_mtu = 9000
Fixes: 61e84623ace3 ("net: centralize net_device min/max MTU checking") CC: netdev@vger.kernel.org CC: Jes Sorensen <jes@trained-monkey.org> CC: Netanel Belgazal <netanel@annapurnalabs.com> CC: Tom Lendacky <thomas.lendacky@amd.com> CC: Santosh Raspatur <santosh@chelsio.com> CC: Hariprasad S <hariprasad@chelsio.com> CC: Sathya Perla <sathya.perla@broadcom.com> CC: Ajit Khaparde <ajit.khaparde@broadcom.com> CC: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> CC: Somnath Kotur <somnath.kotur@broadcom.com> CC: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> CC: John Allen <jallen@linux.vnet.ibm.com> CC: Guo-Fu Tseng <cooldavid@cooldavid.org> CC: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> CC: Jiri Pirko <jiri@mellanox.com> CC: Ido Schimmel <idosch@mellanox.com> CC: Manish Chopra <manish.chopra@qlogic.com> CC: Sony Chacko <sony.chacko@qlogic.com> CC: Rajesh Borundia <rajesh.borundia@qlogic.com> CC: Timur Tabi <timur@codeaurora.org> CC: Anirudha Sarangi <anirudh@xilinx.com> CC: John Linn <John.Linn@xilinx.com> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_main.c | diff d894be57ca92c8a8819ab544d550809e8731137b Thu Oct 20 12:55:16 CDT 2016 Jarod Wilson <jarod@redhat.com> ethernet: use net core MTU range checking in more drivers
Somehow, I missed a healthy number of ethernet drivers in the last pass. Most of these drivers either were in need of an updated max_mtu to make jumbo frames possible to enable again. In a few cases, also setting a different min_mtu to match previous lower bounds. There are also a few drivers that had no upper bounds checking, so they're getting a brand new ETH_MAX_MTU that is identical to IP_MAX_MTU, but accessible by includes all ethernet and ethernet-like drivers all have already.
acenic: - min_mtu = 0, max_mtu = 9000
amazon/ena: - min_mtu = 128, max_mtu = adapter->max_mtu
amd/xgbe: - min_mtu = 0, max_mtu = 9000
sb1250: - min_mtu = 0, max_mtu = 1518
cxgb3: - min_mtu = 81, max_mtu = 65535
cxgb4: - min_mtu = 81, max_mtu = 9600
cxgb4vf: - min_mtu = 81, max_mtu = 65535
benet: - min_mtu = 256, max_mtu = 9000
ibmveth: - min_mtu = 68, max_mtu = 65535
ibmvnic: - min_mtu = adapter->min_mtu, max_mtu = adapter->max_mtu - remove now redundant ibmvnic_change_mtu
jme: - min_mtu = 1280, max_mtu = 9202
mv643xx_eth: - min_mtu = 64, max_mtu = 9500
mlxsw: - min_mtu = 0, max_mtu = 65535 - Basically bypassing the core checks, and instead relying on dynamic checks in the respective switch drivers' ndo_change_mtu functions
ns83820: - min_mtu = 0 - remove redundant ns83820_change_mtu, only checked for mtu > 1500
netxen: - min_mtu = 0, max_mtu = 8000 (P2), max_mtu = 9600 (P3)
qlge: - min_mtu = 1500, max_mtu = 9000 - driver only supports setting mtu to 1500 or 9000, so the core check only rules out < 1500 and > 9000, qlge_change_mtu still needs to check that the value is 1500 or 9000
qualcomm/emac: - min_mtu = 46, max_mtu = 9194
xilinx_axienet: - min_mtu = 64, max_mtu = 9000
Fixes: 61e84623ace3 ("net: centralize net_device min/max MTU checking") CC: netdev@vger.kernel.org CC: Jes Sorensen <jes@trained-monkey.org> CC: Netanel Belgazal <netanel@annapurnalabs.com> CC: Tom Lendacky <thomas.lendacky@amd.com> CC: Santosh Raspatur <santosh@chelsio.com> CC: Hariprasad S <hariprasad@chelsio.com> CC: Sathya Perla <sathya.perla@broadcom.com> CC: Ajit Khaparde <ajit.khaparde@broadcom.com> CC: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> CC: Somnath Kotur <somnath.kotur@broadcom.com> CC: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> CC: John Allen <jallen@linux.vnet.ibm.com> CC: Guo-Fu Tseng <cooldavid@cooldavid.org> CC: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> CC: Jiri Pirko <jiri@mellanox.com> CC: Ido Schimmel <idosch@mellanox.com> CC: Manish Chopra <manish.chopra@qlogic.com> CC: Sony Chacko <sony.chacko@qlogic.com> CC: Rajesh Borundia <rajesh.borundia@qlogic.com> CC: Timur Tabi <timur@codeaurora.org> CC: Anirudha Sarangi <anirudh@xilinx.com> CC: John Linn <John.Linn@xilinx.com> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/emulex/benet/ |
H A D | be_main.c | diff d894be57ca92c8a8819ab544d550809e8731137b Thu Oct 20 12:55:16 CDT 2016 Jarod Wilson <jarod@redhat.com> ethernet: use net core MTU range checking in more drivers
Somehow, I missed a healthy number of ethernet drivers in the last pass. Most of these drivers either were in need of an updated max_mtu to make jumbo frames possible to enable again. In a few cases, also setting a different min_mtu to match previous lower bounds. There are also a few drivers that had no upper bounds checking, so they're getting a brand new ETH_MAX_MTU that is identical to IP_MAX_MTU, but accessible by includes all ethernet and ethernet-like drivers all have already.
acenic: - min_mtu = 0, max_mtu = 9000
amazon/ena: - min_mtu = 128, max_mtu = adapter->max_mtu
amd/xgbe: - min_mtu = 0, max_mtu = 9000
sb1250: - min_mtu = 0, max_mtu = 1518
cxgb3: - min_mtu = 81, max_mtu = 65535
cxgb4: - min_mtu = 81, max_mtu = 9600
cxgb4vf: - min_mtu = 81, max_mtu = 65535
benet: - min_mtu = 256, max_mtu = 9000
ibmveth: - min_mtu = 68, max_mtu = 65535
ibmvnic: - min_mtu = adapter->min_mtu, max_mtu = adapter->max_mtu - remove now redundant ibmvnic_change_mtu
jme: - min_mtu = 1280, max_mtu = 9202
mv643xx_eth: - min_mtu = 64, max_mtu = 9500
mlxsw: - min_mtu = 0, max_mtu = 65535 - Basically bypassing the core checks, and instead relying on dynamic checks in the respective switch drivers' ndo_change_mtu functions
ns83820: - min_mtu = 0 - remove redundant ns83820_change_mtu, only checked for mtu > 1500
netxen: - min_mtu = 0, max_mtu = 8000 (P2), max_mtu = 9600 (P3)
qlge: - min_mtu = 1500, max_mtu = 9000 - driver only supports setting mtu to 1500 or 9000, so the core check only rules out < 1500 and > 9000, qlge_change_mtu still needs to check that the value is 1500 or 9000
qualcomm/emac: - min_mtu = 46, max_mtu = 9194
xilinx_axienet: - min_mtu = 64, max_mtu = 9000
Fixes: 61e84623ace3 ("net: centralize net_device min/max MTU checking") CC: netdev@vger.kernel.org CC: Jes Sorensen <jes@trained-monkey.org> CC: Netanel Belgazal <netanel@annapurnalabs.com> CC: Tom Lendacky <thomas.lendacky@amd.com> CC: Santosh Raspatur <santosh@chelsio.com> CC: Hariprasad S <hariprasad@chelsio.com> CC: Sathya Perla <sathya.perla@broadcom.com> CC: Ajit Khaparde <ajit.khaparde@broadcom.com> CC: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> CC: Somnath Kotur <somnath.kotur@broadcom.com> CC: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> CC: John Allen <jallen@linux.vnet.ibm.com> CC: Guo-Fu Tseng <cooldavid@cooldavid.org> CC: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> CC: Jiri Pirko <jiri@mellanox.com> CC: Ido Schimmel <idosch@mellanox.com> CC: Manish Chopra <manish.chopra@qlogic.com> CC: Sony Chacko <sony.chacko@qlogic.com> CC: Rajesh Borundia <rajesh.borundia@qlogic.com> CC: Timur Tabi <timur@codeaurora.org> CC: Anirudha Sarangi <anirudh@xilinx.com> CC: John Linn <John.Linn@xilinx.com> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum.c | diff d894be57ca92c8a8819ab544d550809e8731137b Thu Oct 20 12:55:16 CDT 2016 Jarod Wilson <jarod@redhat.com> ethernet: use net core MTU range checking in more drivers
Somehow, I missed a healthy number of ethernet drivers in the last pass. Most of these drivers either were in need of an updated max_mtu to make jumbo frames possible to enable again. In a few cases, also setting a different min_mtu to match previous lower bounds. There are also a few drivers that had no upper bounds checking, so they're getting a brand new ETH_MAX_MTU that is identical to IP_MAX_MTU, but accessible by includes all ethernet and ethernet-like drivers all have already.
acenic: - min_mtu = 0, max_mtu = 9000
amazon/ena: - min_mtu = 128, max_mtu = adapter->max_mtu
amd/xgbe: - min_mtu = 0, max_mtu = 9000
sb1250: - min_mtu = 0, max_mtu = 1518
cxgb3: - min_mtu = 81, max_mtu = 65535
cxgb4: - min_mtu = 81, max_mtu = 9600
cxgb4vf: - min_mtu = 81, max_mtu = 65535
benet: - min_mtu = 256, max_mtu = 9000
ibmveth: - min_mtu = 68, max_mtu = 65535
ibmvnic: - min_mtu = adapter->min_mtu, max_mtu = adapter->max_mtu - remove now redundant ibmvnic_change_mtu
jme: - min_mtu = 1280, max_mtu = 9202
mv643xx_eth: - min_mtu = 64, max_mtu = 9500
mlxsw: - min_mtu = 0, max_mtu = 65535 - Basically bypassing the core checks, and instead relying on dynamic checks in the respective switch drivers' ndo_change_mtu functions
ns83820: - min_mtu = 0 - remove redundant ns83820_change_mtu, only checked for mtu > 1500
netxen: - min_mtu = 0, max_mtu = 8000 (P2), max_mtu = 9600 (P3)
qlge: - min_mtu = 1500, max_mtu = 9000 - driver only supports setting mtu to 1500 or 9000, so the core check only rules out < 1500 and > 9000, qlge_change_mtu still needs to check that the value is 1500 or 9000
qualcomm/emac: - min_mtu = 46, max_mtu = 9194
xilinx_axienet: - min_mtu = 64, max_mtu = 9000
Fixes: 61e84623ace3 ("net: centralize net_device min/max MTU checking") CC: netdev@vger.kernel.org CC: Jes Sorensen <jes@trained-monkey.org> CC: Netanel Belgazal <netanel@annapurnalabs.com> CC: Tom Lendacky <thomas.lendacky@amd.com> CC: Santosh Raspatur <santosh@chelsio.com> CC: Hariprasad S <hariprasad@chelsio.com> CC: Sathya Perla <sathya.perla@broadcom.com> CC: Ajit Khaparde <ajit.khaparde@broadcom.com> CC: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com> CC: Somnath Kotur <somnath.kotur@broadcom.com> CC: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> CC: John Allen <jallen@linux.vnet.ibm.com> CC: Guo-Fu Tseng <cooldavid@cooldavid.org> CC: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> CC: Jiri Pirko <jiri@mellanox.com> CC: Ido Schimmel <idosch@mellanox.com> CC: Manish Chopra <manish.chopra@qlogic.com> CC: Sony Chacko <sony.chacko@qlogic.com> CC: Rajesh Borundia <rajesh.borundia@qlogic.com> CC: Timur Tabi <timur@codeaurora.org> CC: Anirudha Sarangi <anirudh@xilinx.com> CC: John Linn <John.Linn@xilinx.com> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|