caif: set traffic class for caif packets
Set traffic class for CAIF packets, based on socket priority, CAIF protocol type, or type of message. Traffic class mapping for different packet types: - control: TC_PRIO_CONTROL; - flow control: TC_PRIO_CONTROL; - at: TC_PRIO_CONTROL; - rfm: TC_PRIO_INTERACTIVE_BULK; - other sockets: equals to socket's TC; - network data: no change. Signed-off-by:Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/caif/cfpkt.h 8 additions, 1 deletioninclude/net/caif/cfpkt.h
- net/caif/caif_socket.c 14 additions, 2 deletionsnet/caif/caif_socket.c
- net/caif/cfctrl.c 4 additions, 0 deletionsnet/caif/cfctrl.c
- net/caif/cfpkt_skbuff.c 7 additions, 0 deletionsnet/caif/cfpkt_skbuff.c
- net/caif/cfsrvl.c 3 additions, 0 deletionsnet/caif/cfsrvl.c
Loading
Please register or sign in to comment