Re: [PATCH v4 01/24] net/_common_intel: add pkt reassembly fn for intel drivers

2025-01-13 Thread Stephen Hemminger
On Mon, 13 Jan 2025 10:04:50 + Bruce Richardson wrote: > On Sat, Jan 11, 2025 at 09:07:14AM -0800, Stephen Hemminger wrote: > > On Mon, 6 Jan 2025 14:25:05 + > > Bruce Richardson wrote: > > > > > On Fri, Dec 20, 2024 at 08:15:40AM -0800, Stephen Hemminger wrote: > > > > On Fri, 20 D

Re: [PATCH v4 01/24] net/_common_intel: add pkt reassembly fn for intel drivers

2025-01-13 Thread Bruce Richardson
On Sat, Jan 11, 2025 at 09:07:14AM -0800, Stephen Hemminger wrote: > On Mon, 6 Jan 2025 14:25:05 + > Bruce Richardson wrote: > > > On Fri, Dec 20, 2024 at 08:15:40AM -0800, Stephen Hemminger wrote: > > > On Fri, 20 Dec 2024 14:38:58 + > > > Bruce Richardson wrote: > > > > > > > + > >

Re: [PATCH v4 01/24] net/_common_intel: add pkt reassembly fn for intel drivers

2025-01-11 Thread Stephen Hemminger
On Mon, 6 Jan 2025 14:25:05 + Bruce Richardson wrote: > On Fri, Dec 20, 2024 at 08:15:40AM -0800, Stephen Hemminger wrote: > > On Fri, 20 Dec 2024 14:38:58 + > > Bruce Richardson wrote: > > > > > + > > > + if (!split_flags[buf_idx]) { > > > + /*

Re: [PATCH v4 01/24] net/_common_intel: add pkt reassembly fn for intel drivers

2025-01-06 Thread Bruce Richardson
On Fri, Dec 20, 2024 at 08:15:40AM -0800, Stephen Hemminger wrote: > On Fri, 20 Dec 2024 14:38:58 + > Bruce Richardson wrote: > > > + > > + if (!split_flags[buf_idx]) { > > + /* it's the last packet of the set */ > > + star

[PATCH v4 01/24] net/_common_intel: add pkt reassembly fn for intel drivers

2024-12-20 Thread Bruce Richardson
The code for reassembling a single, multi-mbuf packet from multiple buffers received from the NIC is duplicated across many drivers. Rather than having multiple copies of this function, we can create an "_common_intel" directory to hold such functions and consolidate multiple functions down to a si