Skip to content

Commit

Permalink
rxrpc: Split the receive code
Browse files Browse the repository at this point in the history
Split the code that handles packet reception in softirq mode as a prelude
to moving all the packet processing beyond routing to the appropriate call
and setting up of a new call out into process context.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
  • Loading branch information
David Howells committed Dec 1, 2022
1 parent 3cec055 commit 96b2d69
Show file tree
Hide file tree
Showing 4 changed files with 384 additions and 366 deletions.
1 change: 1 addition & 0 deletions net/rxrpc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ rxrpc-y := \
conn_service.o \
input.o \
insecure.o \
io_thread.o \
key.o \
local_event.o \
local_object.o \
Expand Down
7 changes: 7 additions & 0 deletions net/rxrpc/ar-internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -946,6 +946,13 @@ void rxrpc_unpublish_service_conn(struct rxrpc_connection *);
/*
* input.c
*/
void rxrpc_input_call_packet(struct rxrpc_call *, struct sk_buff *);
void rxrpc_input_implicit_end_call(struct rxrpc_sock *, struct rxrpc_connection *,
struct rxrpc_call *);

/*
* io_thread.c
*/
int rxrpc_input_packet(struct sock *, struct sk_buff *);

/*
Expand Down
Loading

0 comments on commit 96b2d69

Please sign in to comment.