Skip to content

Commit c248b27

Browse files
author
Paolo Abeni
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
No conflicts. Signed-off-by: Paolo Abeni <[email protected]>
2 parents 28b17f6 + 50749f2 commit c248b27

File tree

44 files changed

+295
-188
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+295
-188
lines changed

Documentation/devicetree/bindings/arm/mediatek/mediatek,mt7622-wed.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ properties:
2020
items:
2121
- enum:
2222
- mediatek,mt7622-wed
23+
- mediatek,mt7981-wed
2324
- mediatek,mt7986-wed
2425
- const: syscon
2526

Documentation/networking/rxrpc.rst

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -848,14 +848,21 @@ The kernel interface functions are as follows:
848848
returned. The caller now holds a reference on this and it must be
849849
properly ended.
850850

851-
(#) End a client call::
851+
(#) Shut down a client call::
852852

853-
void rxrpc_kernel_end_call(struct socket *sock,
853+
void rxrpc_kernel_shutdown_call(struct socket *sock,
854+
struct rxrpc_call *call);
855+
856+
This is used to shut down a previously begun call. The user_call_ID is
857+
expunged from AF_RXRPC's knowledge and will not be seen again in
858+
association with the specified call.
859+
860+
(#) Release the ref on a client call::
861+
862+
void rxrpc_kernel_put_call(struct socket *sock,
854863
struct rxrpc_call *call);
855864
856-
This is used to end a previously begun call. The user_call_ID is expunged
857-
from AF_RXRPC's knowledge and will not be seen again in association with
858-
the specified call.
865+
This is used to release the caller's ref on an rxrpc call.
859866

860867
(#) Send data through a call::
861868

MAINTAINERS

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8706,7 +8706,7 @@ F: drivers/input/touchscreen/goodix*
87068706

87078707
GOOGLE ETHERNET DRIVERS
87088708
M: Jeroen de Borst <[email protected]>
8709-
M: Catherine Sullivan <csully@google.com>
8709+
M: Praveen Kaligineedi <pkaligineedi@google.com>
87108710
R: Shailend Chand <[email protected]>
87118711
87128712
S: Supported
@@ -16817,9 +16817,8 @@ F: include/uapi/linux/if_pppol2tp.h
1681716817
F: net/l2tp/l2tp_ppp.c
1681816818

1681916819
PPP PROTOCOL DRIVERS AND COMPRESSORS
16820-
M: Paul Mackerras <[email protected]>
1682116820
16822-
S: Maintained
16821+
S: Orphan
1682316822
F: drivers/net/ppp/ppp_*
1682416823

1682516824
PPS SUPPORT

drivers/net/ethernet/amd/nmclan_cs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ static int nmclan_config(struct pcmcia_device *link)
651651
} else {
652652
pr_notice("mace id not found: %x %x should be 0x40 0x?9\n",
653653
sig[0], sig[1]);
654-
return -ENODEV;
654+
goto failed;
655655
}
656656
}
657657

drivers/net/ethernet/freescale/dpaa/dpaa_eth.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,8 @@ static int dpaa_stop(struct net_device *net_dev)
299299
{
300300
struct mac_device *mac_dev;
301301
struct dpaa_priv *priv;
302-
int i, err, error;
302+
int i, error;
303+
int err = 0;
303304

304305
priv = netdev_priv(net_dev);
305306
mac_dev = priv->mac_dev;

drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2665,6 +2665,14 @@ static int ixgbe_get_rss_hash_opts(struct ixgbe_adapter *adapter,
26652665
return 0;
26662666
}
26672667

2668+
static int ixgbe_rss_indir_tbl_max(struct ixgbe_adapter *adapter)
2669+
{
2670+
if (adapter->hw.mac.type < ixgbe_mac_X550)
2671+
return 16;
2672+
else
2673+
return 64;
2674+
}
2675+
26682676
static int ixgbe_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd,
26692677
u32 *rule_locs)
26702678
{
@@ -2673,7 +2681,8 @@ static int ixgbe_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd,
26732681

26742682
switch (cmd->cmd) {
26752683
case ETHTOOL_GRXRINGS:
2676-
cmd->data = adapter->num_rx_queues;
2684+
cmd->data = min_t(int, adapter->num_rx_queues,
2685+
ixgbe_rss_indir_tbl_max(adapter));
26772686
ret = 0;
26782687
break;
26792688
case ETHTOOL_GRXCLSRLCNT:
@@ -3075,14 +3084,6 @@ static int ixgbe_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd)
30753084
return ret;
30763085
}
30773086

3078-
static int ixgbe_rss_indir_tbl_max(struct ixgbe_adapter *adapter)
3079-
{
3080-
if (adapter->hw.mac.type < ixgbe_mac_X550)
3081-
return 16;
3082-
else
3083-
return 64;
3084-
}
3085-
30863087
static u32 ixgbe_get_rxfh_key_size(struct net_device *netdev)
30873088
{
30883089
return IXGBE_RSS_KEY_SIZE;
@@ -3131,8 +3132,8 @@ static int ixgbe_set_rxfh(struct net_device *netdev, const u32 *indir,
31313132
int i;
31323133
u32 reta_entries = ixgbe_rss_indir_tbl_entries(adapter);
31333134

3134-
if (hfunc)
3135-
return -EINVAL;
3135+
if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != ETH_RSS_HASH_TOP)
3136+
return -EOPNOTSUPP;
31363137

31373138
/* Fill out the redirection table */
31383139
if (indir) {

drivers/net/ethernet/mediatek/mtk_wed_debugfs.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,6 @@ void mtk_wed_hw_add_debugfs(struct mtk_wed_hw *hw)
252252

253253
snprintf(hw->dirname, sizeof(hw->dirname), "wed%d", hw->index);
254254
dir = debugfs_create_dir(hw->dirname, NULL);
255-
if (!dir)
256-
return;
257255

258256
hw->debugfs_dir = dir;
259257
debugfs_create_u32("regidx", 0600, dir, &hw->debugfs_reg);

drivers/net/ethernet/mediatek/mtk_wed_mcu.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,11 @@ mtk_wed_mcu_load_firmware(struct mtk_wed_wo *wo)
326326
wo->hw->index + 1);
327327

328328
/* load firmware */
329-
fw_name = wo->hw->index ? MT7986_FIRMWARE_WO1 : MT7986_FIRMWARE_WO0;
329+
if (of_device_is_compatible(wo->hw->node, "mediatek,mt7981-wed"))
330+
fw_name = MT7981_FIRMWARE_WO;
331+
else
332+
fw_name = wo->hw->index ? MT7986_FIRMWARE_WO1 : MT7986_FIRMWARE_WO0;
333+
330334
ret = request_firmware(&fw, fw_name, wo->hw->dev);
331335
if (ret)
332336
return ret;
@@ -386,5 +390,6 @@ int mtk_wed_mcu_init(struct mtk_wed_wo *wo)
386390
100, MTK_FW_DL_TIMEOUT);
387391
}
388392

393+
MODULE_FIRMWARE(MT7981_FIRMWARE_WO);
389394
MODULE_FIRMWARE(MT7986_FIRMWARE_WO0);
390395
MODULE_FIRMWARE(MT7986_FIRMWARE_WO1);

drivers/net/ethernet/mediatek/mtk_wed_wo.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ enum mtk_wed_dummy_cr_idx {
8888
MTK_WED_DUMMY_CR_WO_STATUS,
8989
};
9090

91+
#define MT7981_FIRMWARE_WO "mediatek/mt7981_wo.bin"
9192
#define MT7986_FIRMWARE_WO0 "mediatek/mt7986_wo_0.bin"
9293
#define MT7986_FIRMWARE_WO1 "mediatek/mt7986_wo_1.bin"
9394

drivers/net/ethernet/mellanox/mlx5/core/devlink.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ static int mlx5_devlink_reload_up(struct devlink *devlink, enum devlink_reload_a
202202
break;
203203
/* On fw_activate action, also driver is reloaded and reinit performed */
204204
*actions_performed |= BIT(DEVLINK_RELOAD_ACTION_DRIVER_REINIT);
205-
ret = mlx5_load_one_devl_locked(dev, false);
205+
ret = mlx5_load_one_devl_locked(dev, true);
206206
break;
207207
default:
208208
/* Unsupported action should not get to this function */

0 commit comments

Comments
 (0)