Re: [PATCH] app/dumpcap: remove unused struct array

2024-11-06 Thread David Marchand
On Wed, Nov 6, 2024 at 7:18 PM Stephen Hemminger wrote: > > On Tue, 5 Nov 2024 11:27:21 + > Bruce Richardson wrote: > > > The callbacks(rx_cb) member of struct interface was unused inside > > dumpcap, but was taking up a lot of memory space, since it was scaled > > according to RTE_MAX_QUEUE

Re: [PATCH] app/dumpcap: remove unused struct array

2024-11-06 Thread Stephen Hemminger
On Tue, 5 Nov 2024 11:27:21 + Bruce Richardson wrote: > The callbacks(rx_cb) member of struct interface was unused inside > dumpcap, but was taking up a lot of memory space, since it was scaled > according to RTE_MAX_QUEUES_PER_PORT, which is 1k by default. Save > memory by removing the whol

[PATCH] app/dumpcap: remove unused struct array

2024-11-05 Thread Bruce Richardson
The callbacks(rx_cb) member of struct interface was unused inside dumpcap, but was taking up a lot of memory space, since it was scaled according to RTE_MAX_QUEUES_PER_PORT, which is 1k by default. Save memory by removing the whole array. Fixes: cbb44143be74 ("app/dumpcap: add new packet capture a