On Mon, 29 Jun 2020 02:34:18 -0400 Michael Chan wrote:
> + bp->rss_indir_tbl_entries = entries;
> + bp->rss_indir_tbl = kcalloc(entries, sizeof(*bp->rss_indir_tbl),
> + GFP_KERNEL);
nit: kmalloc_array() ? I think you init all elements below.
> + if (!bp
The driver currently does not keep track of the logical RSS indirection
table. The hardware RSS table is set up with standard default ring
distribution when initializing the chip. This makes it difficult to
support user sepcified indirection table entries. As a first step, add
the logical table