Re: [PATCH 11/18] net: iosm: encode or decode datagram

2021-01-07 Thread Andrew Lunn
> +/* Pass the DL packet to the netif layer. */ > +static int mux_net_receive(struct iosm_mux *ipc_mux, int if_id, > +struct iosm_wwan *wwan, u32 offset, u8 service_class, > +struct sk_buff *skb) > +{ > + /* for "zero copy" use clone */ > + st

[PATCH 11/18] net: iosm: encode or decode datagram

2021-01-07 Thread M Chetan Kumar
1) Encode UL packet into datagram. 2) Decode DL datagram and route it to network layer. 3) Supports credit based flow control. Signed-off-by: M Chetan Kumar --- drivers/net/wwan/iosm/iosm_ipc_mux_codec.c | 901 + drivers/net/wwan/iosm/iosm_ipc_mux_codec.h | 194 ++