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: Eliezer Tamir <eliezer.tamir@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
076bb0c82a
commit
8b80cda536
+1
-1
@@ -1994,7 +1994,7 @@ process:
|
||||
if (sk_filter(sk, skb))
|
||||
goto discard_and_relse;
|
||||
|
||||
sk_mark_ll(sk, skb);
|
||||
sk_mark_napi_id(sk, skb);
|
||||
skb->dev = NULL;
|
||||
|
||||
bh_lock_sock_nested(sk);
|
||||
|
||||
+1
-1
@@ -1713,7 +1713,7 @@ int __udp4_lib_rcv(struct sk_buff *skb, struct udp_table *udptable,
|
||||
if (sk != NULL) {
|
||||
int ret;
|
||||
|
||||
sk_mark_ll(sk, skb);
|
||||
sk_mark_napi_id(sk, skb);
|
||||
ret = udp_queue_rcv_skb(sk, skb);
|
||||
sock_put(sk);
|
||||
|
||||
|
||||
+1
-1
@@ -1499,7 +1499,7 @@ process:
|
||||
if (sk_filter(sk, skb))
|
||||
goto discard_and_relse;
|
||||
|
||||
sk_mark_ll(sk, skb);
|
||||
sk_mark_napi_id(sk, skb);
|
||||
skb->dev = NULL;
|
||||
|
||||
bh_lock_sock_nested(sk);
|
||||
|
||||
+1
-1
@@ -844,7 +844,7 @@ int __udp6_lib_rcv(struct sk_buff *skb, struct udp_table *udptable,
|
||||
if (sk != NULL) {
|
||||
int ret;
|
||||
|
||||
sk_mark_ll(sk, skb);
|
||||
sk_mark_napi_id(sk, skb);
|
||||
ret = udpv6_queue_rcv_skb(sk, skb);
|
||||
sock_put(sk);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user