Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8b80cda5 authored by Eliezer Tamir's avatar Eliezer Tamir Committed by David S. Miller
Browse files

net: rename ll methods to busy-poll



Rename ndo_ll_poll to ndo_busy_poll.
Rename sk_mark_ll to sk_mark_napi_id.
Rename skb_mark_ll to skb_mark_napi_id.
Correct all useres of these functions.
Update comments and defines  in include/net/busy_poll.h

Signed-off-by: default avatarEliezer Tamir <eliezer.tamir@linux.intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 076bb0c8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -990,7 +990,7 @@ int bnx2x_rx_int(struct bnx2x_fastpath *fp, int budget)
			__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
					       le16_to_cpu(cqe_fp->vlan_tag));

		skb_mark_ll(skb, &fp->napi);
		skb_mark_napi_id(skb, &fp->napi);

		if (bnx2x_fp_ll_polling(fp))
			netif_receive_skb(skb);
+1 −1
Original line number Diff line number Diff line
@@ -12027,7 +12027,7 @@ static const struct net_device_ops bnx2x_netdev_ops = {
#endif

#ifdef CONFIG_NET_LL_RX_POLL
	.ndo_ll_poll		= bnx2x_low_latency_recv,
	.ndo_busy_poll		= bnx2x_low_latency_recv,
#endif
};

+2 −2
Original line number Diff line number Diff line
@@ -1978,7 +1978,7 @@ static int ixgbe_clean_rx_irq(struct ixgbe_q_vector *q_vector,
		}

#endif /* IXGBE_FCOE */
		skb_mark_ll(skb, &q_vector->napi);
		skb_mark_napi_id(skb, &q_vector->napi);
		ixgbe_rx_skb(q_vector, skb);

		/* update budget accounting */
@@ -7228,7 +7228,7 @@ static const struct net_device_ops ixgbe_netdev_ops = {
	.ndo_poll_controller	= ixgbe_netpoll,
#endif
#ifdef CONFIG_NET_LL_RX_POLL
	.ndo_ll_poll		= ixgbe_low_latency_recv,
	.ndo_busy_poll		= ixgbe_low_latency_recv,
#endif
#ifdef IXGBE_FCOE
	.ndo_fcoe_ddp_setup = ixgbe_fcoe_ddp_get,
+1 −1
Original line number Diff line number Diff line
@@ -2141,7 +2141,7 @@ static const struct net_device_ops mlx4_netdev_ops = {
	.ndo_rx_flow_steer	= mlx4_en_filter_rfs,
#endif
#ifdef CONFIG_NET_LL_RX_POLL
	.ndo_ll_poll		= mlx4_en_low_latency_recv,
	.ndo_busy_poll		= mlx4_en_low_latency_recv,
#endif
};

+1 −1
Original line number Diff line number Diff line
@@ -767,7 +767,7 @@ int mlx4_en_process_rx_cq(struct net_device *dev, struct mlx4_en_cq *cq, int bud
					       timestamp);
		}

		skb_mark_ll(skb, &cq->napi);
		skb_mark_napi_id(skb, &cq->napi);

		/* Push it up the stack */
		netif_receive_skb(skb);
Loading