Skip to content

Diet struct sk_buff a bit

Pavel Emelyanov netdev 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4Use the skb_set_queue_mapping where appropriatenet/core/dev.c net/core/pktgen.c+3 -51 reply
2/4Make and use skb_get_queue_mappingdrivers/net/cpmac.c include/linux/skbuff.h net/sched/sch_teql.c+11 -21 reply
3/4Hide the queue_mapping field inside netif_subqueue_stoppedinclude/linux/netdevice.h net/core/dev.c net/core/netpoll.c +2 more+15 -101 reply
4/4Cut off the queue_mapping field from sk_buffinclude/linux/skbuff.h+2 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Diet struct sk_buff a bit

The __u16 queue_mapping field only makes sense in the CONFIG_NETDEVICES_MULTIQUEUE=y case only.

Despite this field may be set explicitly to some non-zero value (in net/core/pktgen.c), the exact value affects nothing in case the config option in question is N (mainly it is used in netif_subqueue_stopped(), which will always return 0 in this case).

So cleanup the code a bit and move this field under the config option.