[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190501144457.7942-1-willy@infradead.org>
Date: Wed, 1 May 2019 07:44:50 -0700
From: Matthew Wilcox <willy@...radead.org>
To: davem@...emloft.net
Cc: "Matthew Wilcox (Oracle)" <willy@...radead.org>, hch@....de,
netdev@...r.kernel.org
Subject: [PATCH v2 0/7] Convert skb_frag_t to bio_vec
From: "Matthew Wilcox (Oracle)" <willy@...radead.org>
The skb_frag_t and bio_vec are fundamentally the same (page, offset,
length) tuple. This patch series unifies the two, leaving the
skb_frag_t typedef in place. This has the immediate advantage that
we already have iov_iter support for bvecs and don't need to add
support for iterating skbuffs. It enables a long-term plan to use
bvecs more broadly within the kernel and should make network-storage
drivers able to do less work converting between skbuffs and biovecs.
It will consume more memory on 32-bit kernels. If that proves
problematic, we can look at ways of addressing it.
Matthew Wilcox (Oracle) (7):
net: Increase the size of skb_frag_t
net: Reorder the contents of skb_frag_t
net: Use skb accessors in network drivers
net: Use skb accessors in network core
net: Rename skb_frag page to bv_page
net: Rename skb_frag_t size to bv_len
net: Convert skb_frag_t to bio_vec
drivers/hsi/clients/ssi_protocol.c | 3 +-
drivers/net/ethernet/3com/3c59x.c | 2 +-
drivers/net/ethernet/agere/et131x.c | 4 +--
.../net/ethernet/apm/xgene/xgene_enet_main.c | 3 +-
drivers/net/ethernet/calxeda/xgmac.c | 2 +-
.../net/ethernet/cavium/liquidio/lio_main.c | 17 +++++-----
.../ethernet/cavium/liquidio/lio_vf_main.c | 15 ++++-----
drivers/net/ethernet/cortina/gemini.c | 5 ++-
drivers/net/ethernet/freescale/fec_main.c | 4 +--
drivers/net/ethernet/hisilicon/hix5hd2_gmac.c | 2 +-
drivers/net/ethernet/intel/fm10k/fm10k_main.c | 3 +-
drivers/net/ethernet/intel/igb/igb_main.c | 3 +-
drivers/net/ethernet/intel/igc/igc_main.c | 3 +-
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 3 +-
drivers/net/ethernet/marvell/mvneta.c | 4 +--
.../net/ethernet/marvell/mvpp2/mvpp2_main.c | 7 ++--
.../net/ethernet/myricom/myri10ge/myri10ge.c | 2 +-
drivers/net/ethernet/qualcomm/emac/emac-mac.c | 5 +--
drivers/net/usb/usbnet.c | 2 +-
drivers/net/wireless/ath/wil6210/txrx.c | 6 ++--
drivers/net/wireless/ath/wil6210/txrx_edma.c | 2 +-
drivers/net/xen-netback/netback.c | 4 +--
drivers/staging/octeon/ethernet-tx.c | 3 +-
drivers/target/iscsi/cxgbit/cxgbit_target.c | 6 ++--
include/linux/bvec.h | 5 ++-
include/linux/skbuff.h | 32 +++++++------------
net/core/skbuff.c | 24 ++++++++------
net/core/tso.c | 8 ++---
net/ipv4/tcp.c | 12 ++++---
net/kcm/kcmsock.c | 8 ++---
net/tls/tls_device.c | 14 ++++----
31 files changed, 108 insertions(+), 105 deletions(-)
--
2.20.1
Powered by blists - more mailing lists