Skip to content

Commit

Permalink
pyverbs: Fix typo in DrActionFlowSample creation
Browse files Browse the repository at this point in the history
[ Upstream commit 1809d84 ]

Fix error message typo in DrActionFlowSample creation.

Fixes: 5a2a347d547c ("pyverbs: Add dr-action flow sampler support")
Signed-off-by: Shachar Kagan <[email protected]>
Signed-off-by: Edward Srouji <[email protected]>
Signed-off-by: Nicolas Morey <[email protected]>
  • Loading branch information
ShacharKagan authored and nmorey committed Sep 6, 2023
1 parent 84e8847 commit 361d95d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyverbs/providers/mlx5/dr_action.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ cdef class DrActionFlowSample(DrAction):
super().__init__()
self.action = dv.mlx5dv_dr_action_create_flow_sampler(attr.attr)
if self.action == NULL:
raise PyverbsRDMAErrno('DrActionTag creation failed.')
raise PyverbsRDMAErrno('DrActionFlowSample creation failed.')
self.attr = attr
self.dr_table = self.attr.table
self.attr.table.add_ref(self)
Expand Down

0 comments on commit 361d95d

Please sign in to comment.