mbox series

[net-next,0/2] net: remove two MAX_SKB_FRAGS dependencies

Message ID 20220203180227.3751784-1-eric.dumazet@gmail.com (mailing list archive)
Headers show
Series net: remove two MAX_SKB_FRAGS dependencies | expand

Message

Eric Dumazet Feb. 3, 2022, 6:02 p.m. UTC
From: Eric Dumazet <edumazet@google.com>

My first series for BIG TCP met two issues that various bots pointed out,
because of MAX_SKB_FRAGS going from 17 to 45.

- typhoon driver would emit a compile error if MAX_SKB_FRAGS > 32

- include/linux/skmsg.h had a similar issue when MAX_SKB_FRAGS is
slightly over BITS_PER_LONG, so the build broke on 32bit arches.

This patch series is meant to be merged before BIG TCP one,
in order to keep the latter not too big.

Eric Dumazet (2):
  net: typhoon: implement ndo_features_check method
  skmsg: convert struct sk_msg_sg::copy to a bitmap

 drivers/net/ethernet/3com/typhoon.c | 23 ++++++++++++++++++-----
 include/linux/skmsg.h               | 11 +++++------
 net/core/filter.c                   |  4 ++--
 3 files changed, 25 insertions(+), 13 deletions(-)