Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Four minor merge conflicts: 1) qca_spi.c renamed the local variable used for the SPI device from spi_device to spi, meanwhile the spi_set_drvdata() call got moved further up in the probe function. 2) Two changes were both adding new members to codel params structure, and thus we had overlapping changes to the initializer function. 3) 'net' was making a fix to sk_release_kernel() which is completely removed in 'net-next'. 4) In net_namespace.c, the rtnl_net_fill() call for GET operations had the command value fixed, meanwhile 'net-next' adjusted the argument signature a bit. This also matches example merge resolutions posted by Stephen Rothwell over the past two days. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
#include <linux/ptp_classify.h>
|
||||
#include <linux/mii.h>
|
||||
#include <linux/mdio.h>
|
||||
#include <linux/pm_qos.h>
|
||||
#include "hw.h"
|
||||
|
||||
struct e1000_info;
|
||||
|
@@ -610,7 +610,7 @@ static bool fm10k_clean_rx_irq(struct fm10k_q_vector *q_vector,
|
||||
unsigned int total_bytes = 0, total_packets = 0;
|
||||
u16 cleaned_count = fm10k_desc_unused(rx_ring);
|
||||
|
||||
do {
|
||||
while (likely(total_packets < budget)) {
|
||||
union fm10k_rx_desc *rx_desc;
|
||||
|
||||
/* return some buffers to hardware, one at a time is too slow */
|
||||
@@ -659,7 +659,7 @@ static bool fm10k_clean_rx_irq(struct fm10k_q_vector *q_vector,
|
||||
|
||||
/* update budget accounting */
|
||||
total_packets++;
|
||||
} while (likely(total_packets < budget));
|
||||
}
|
||||
|
||||
/* place incomplete frames back on ring for completion */
|
||||
rx_ring->skb = skb;
|
||||
|
@@ -1036,7 +1036,7 @@ static void igb_reset_q_vector(struct igb_adapter *adapter, int v_idx)
|
||||
adapter->tx_ring[q_vector->tx.ring->queue_index] = NULL;
|
||||
|
||||
if (q_vector->rx.ring)
|
||||
adapter->tx_ring[q_vector->rx.ring->queue_index] = NULL;
|
||||
adapter->rx_ring[q_vector->rx.ring->queue_index] = NULL;
|
||||
|
||||
netif_napi_del(&q_vector->napi);
|
||||
|
||||
@@ -1207,6 +1207,8 @@ static int igb_alloc_q_vector(struct igb_adapter *adapter,
|
||||
q_vector = adapter->q_vector[v_idx];
|
||||
if (!q_vector)
|
||||
q_vector = kzalloc(size, GFP_KERNEL);
|
||||
else
|
||||
memset(q_vector, 0, size);
|
||||
if (!q_vector)
|
||||
return -ENOMEM;
|
||||
|
||||
|
@@ -3612,7 +3612,7 @@ static int ixgbevf_xmit_frame(struct sk_buff *skb, struct net_device *netdev)
|
||||
u8 *dst_mac = skb_header_pointer(skb, 0, 0, NULL);
|
||||
|
||||
if (!dst_mac || is_link_local_ether_addr(dst_mac)) {
|
||||
dev_kfree_skb(skb);
|
||||
dev_kfree_skb_any(skb);
|
||||
return NETDEV_TX_OK;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user