Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: drivers/net/usb/asix_common.c net/ipv4/inet_connection_sock.c net/switchdev/switchdev.c In the inet_connection_sock.c case the request socket hashing scheme is completely different in net-next. The other two conflicts were overlapping changes. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -3347,6 +3347,13 @@ static int bnx2x_set_rss_flags(struct bnx2x *bp, struct ethtool_rxnfc *info)
|
||||
udp_rss_requested = 0;
|
||||
else
|
||||
return -EINVAL;
|
||||
|
||||
if (CHIP_IS_E1x(bp) && udp_rss_requested) {
|
||||
DP(BNX2X_MSG_ETHTOOL,
|
||||
"57710, 57711 boards don't support RSS according to UDP 4-tuple\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
if ((info->flow_type == UDP_V4_FLOW) &&
|
||||
(bp->rss_conf_obj.udp_rss_v4 != udp_rss_requested)) {
|
||||
bp->rss_conf_obj.udp_rss_v4 = udp_rss_requested;
|
||||
|
@@ -1831,6 +1831,24 @@ static void bcmgenet_intr_disable(struct bcmgenet_priv *priv)
|
||||
bcmgenet_intrl2_1_writel(priv, 0, INTRL2_CPU_MASK_CLEAR);
|
||||
}
|
||||
|
||||
static void bcmgenet_link_intr_enable(struct bcmgenet_priv *priv)
|
||||
{
|
||||
u32 int0_enable = 0;
|
||||
|
||||
/* Monitor cable plug/unplugged event for internal PHY, external PHY
|
||||
* and MoCA PHY
|
||||
*/
|
||||
if (priv->internal_phy) {
|
||||
int0_enable |= UMAC_IRQ_LINK_EVENT;
|
||||
} else if (priv->ext_phy) {
|
||||
int0_enable |= UMAC_IRQ_LINK_EVENT;
|
||||
} else if (priv->phy_interface == PHY_INTERFACE_MODE_MOCA) {
|
||||
if (priv->hw_params->flags & GENET_HAS_MOCA_LINK_DET)
|
||||
int0_enable |= UMAC_IRQ_LINK_EVENT;
|
||||
}
|
||||
bcmgenet_intrl2_0_writel(priv, int0_enable, INTRL2_CPU_MASK_CLEAR);
|
||||
}
|
||||
|
||||
static int init_umac(struct bcmgenet_priv *priv)
|
||||
{
|
||||
struct device *kdev = &priv->pdev->dev;
|
||||
@@ -1871,15 +1889,8 @@ static int init_umac(struct bcmgenet_priv *priv)
|
||||
/* Enable Tx default queue 16 interrupts */
|
||||
int0_enable |= UMAC_IRQ_TXDMA_DONE;
|
||||
|
||||
/* Monitor cable plug/unplugged event for internal PHY */
|
||||
if (priv->internal_phy) {
|
||||
int0_enable |= UMAC_IRQ_LINK_EVENT;
|
||||
} else if (priv->ext_phy) {
|
||||
int0_enable |= UMAC_IRQ_LINK_EVENT;
|
||||
} else if (priv->phy_interface == PHY_INTERFACE_MODE_MOCA) {
|
||||
if (priv->hw_params->flags & GENET_HAS_MOCA_LINK_DET)
|
||||
int0_enable |= UMAC_IRQ_LINK_EVENT;
|
||||
|
||||
/* Configure backpressure vectors for MoCA */
|
||||
if (priv->phy_interface == PHY_INTERFACE_MODE_MOCA) {
|
||||
reg = bcmgenet_bp_mc_get(priv);
|
||||
reg |= BIT(priv->hw_params->bp_in_en_shift);
|
||||
|
||||
@@ -2793,6 +2804,9 @@ static void bcmgenet_netif_start(struct net_device *dev)
|
||||
|
||||
netif_tx_start_all_queues(dev);
|
||||
|
||||
/* Monitor link interrupts now */
|
||||
bcmgenet_link_intr_enable(priv);
|
||||
|
||||
phy_start(priv->phydev);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user