diff options
| author | Shannon Nelson <[email protected]> | 2023-09-18 22:21:35 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-09-20 09:52:31 +0000 |
| commit | 40d835391b4f0af99cf49c71fab4d6ba8511b07f (patch) | |
| tree | fda7e53f0ddb6ee172da9b6a3d882fddc205a3ef /drivers/net/ethernet/intel/ice/ice_main.c | |
| parent | ionic: count SGs in packet to minimize linearize (diff) | |
| download | kernel-40d835391b4f0af99cf49c71fab4d6ba8511b07f.tar.gz kernel-40d835391b4f0af99cf49c71fab4d6ba8511b07f.zip | |
ionic: add a check for max SGs and SKB frags
Add a check of the queue's max_sg_elems against the maximum frags we
expect to see per SKB and take the smaller of the two as our max for
the queues' descriptor buffer allocations.
Signed-off-by: Shannon Nelson <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions
