Skip to content

Commit

Permalink
event/sw: remove obsolete comment
Browse files Browse the repository at this point in the history
[ upstream commit 34b067274c3b8b405e56322009844539a708820c ]

Code that the comment refers to was previously removed, but the
comment remained.

Fixes: dca926c ("event/sw: use dynamically-sized IQs")

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
  • Loading branch information
bruce-richardson authored and kevintraynor committed Oct 31, 2023
1 parent 9ff70c4 commit 2ab27f3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/event/sw/sw_evdev_scheduler.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,12 +368,6 @@ __pull_port_lb(struct sw_evdev *sw, uint32_t port_id, int allow_reorder)
if (!allow_reorder && !eop)
flags = QE_FLAG_VALID;

/*
* if we don't have space for this packet in an IQ,
* then move on to next queue. Technically, for a
* packet that needs reordering, we don't need to check
* here, but it simplifies things not to special-case
*/
uint32_t iq_num = PRIO_TO_IQ(qe->priority);
struct sw_qid *qid = &sw->qids[qe->queue_id];

Expand Down

0 comments on commit 2ab27f3

Please sign in to comment.