Changeset 38038


Ignore:
Timestamp:
2013-09-18T17:19:25+02:00 (4 years ago)
Author:
hauke
Message:

brcm47xx: bgmac: b44: add support for Byte Queue Limits

This adds support for Byte Queue Limits in bgmac and b44, now it is
possible to use more advanced network queue control algorithms.

Signed-off-by: Hauke Mehrtens <hauke@…>

Location:
trunk/target/linux/brcm47xx/patches-3.10
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm47xx/patches-3.10/770-bgmac-phylib.patch

    r38004 r38038  
    1111--- a/drivers/net/ethernet/broadcom/bgmac.c 
    1212+++ b/drivers/net/ethernet/broadcom/bgmac.c 
    13 @@ -1219,27 +1219,14 @@ static int bgmac_set_mac_address(struct 
     13@@ -1229,27 +1229,14 @@ static int bgmac_set_mac_address(struct 
    1414 static int bgmac_ioctl(struct net_device *net_dev, struct ifreq *ifr, int cmd) 
    1515 { 
     
    4646  
    4747 static const struct net_device_ops bgmac_netdev_ops = { 
    48 @@ -1261,61 +1248,18 @@ static int bgmac_get_settings(struct net 
     48@@ -1271,61 +1258,18 @@ static int bgmac_get_settings(struct net 
    4949 { 
    5050        struct bgmac *bgmac = netdev_priv(net_dev); 
     
    112112 static void bgmac_get_drvinfo(struct net_device *net_dev, 
    113113                              struct ethtool_drvinfo *info) 
    114 @@ -1326,6 +1270,7 @@ static void bgmac_get_drvinfo(struct net 
     114@@ -1336,6 +1280,7 @@ static void bgmac_get_drvinfo(struct net 
    115115  
    116116 static const struct ethtool_ops bgmac_ethtool_ops = { 
     
    120120 }; 
    121121  
    122 @@ -1344,10 +1289,42 @@ static int bgmac_mii_write(struct mii_bu 
     122@@ -1354,10 +1299,42 @@ static int bgmac_mii_write(struct mii_bu 
    123123        return bgmac_phy_write(bus->priv, mii_id, regnum, value); 
    124124 } 
     
    163163        mii_bus = mdiobus_alloc(); 
    164164        if (!mii_bus) 
    165 @@ -1378,7 +1355,29 @@ static int bgmac_mii_register(struct bgm 
     165@@ -1388,7 +1365,29 @@ static int bgmac_mii_register(struct bgm 
    166166  
    167167        bgmac->mii_bus = mii_bus; 
  • trunk/target/linux/brcm47xx/patches-3.10/780-b44-phylib.patch

    r37340 r38038  
    4848  
    4949 static int b44_phy_reset(struct b44 *bp) 
    50 @@ -1821,102 +1824,24 @@ static int b44_get_settings(struct net_d 
     50@@ -1831,102 +1834,24 @@ static int b44_get_settings(struct net_d 
    5151 { 
    5252        struct b44 *bp = netdev_priv(dev); 
     
    156156  
    157157 static void b44_get_ringparam(struct net_device *dev, 
    158 @@ -2092,20 +2017,81 @@ static const struct ethtool_ops b44_etht 
     158@@ -2102,20 +2027,81 @@ static const struct ethtool_ops b44_etht 
    159159  
    160160 static int b44_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) 
     
    240240 { 
    241241        struct ssb_device *sdev = bp->sdev; 
    242 @@ -2225,12 +2211,38 @@ static int b44_init_one(struct ssb_devic 
     242@@ -2235,12 +2221,38 @@ static int b44_init_one(struct ssb_devic 
    243243                goto err_out_powerdown; 
    244244        } 
     
    285285        /* By default, advertise all speed/duplex settings. */ 
    286286        bp->flags |= (B44_FLAG_ADV_10HALF | B44_FLAG_ADV_10FULL | 
    287 @@ -2262,6 +2274,16 @@ static int b44_init_one(struct ssb_devic 
     287@@ -2272,6 +2284,16 @@ static int b44_init_one(struct ssb_devic 
    288288  
    289289        return 0; 
     
    302302        ssb_bus_may_powerdown(sdev->bus); 
    303303  
    304 @@ -2275,8 +2297,12 @@ out: 
     304@@ -2285,8 +2307,12 @@ out: 
    305305 static void b44_remove_one(struct ssb_device *sdev) 
    306306 { 
Note: See TracChangeset for help on using the changeset viewer.