aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorMaor Gottlieb <[email protected]>2017-07-26 16:28:26 +0300
committerSaeed Mahameed <[email protected]>2017-09-26 20:52:02 +0300
commit19f100fef4ad46f21cfdfb1eeeb63fc38c2e57f1 (patch)
tree5a621d2ded64b61cdf94ebafd6a778ae11f3eeb7 /lib/test-string_helpers.c
parent46719d77d5f38b8ef04aa5a5cd91263b11d741d7 (diff)
net/mlx5: Refactor FTE and FG creation code
Split the creation code to two parts: 1) Object allocation - allocate the steering node and initialize its resources. 2) The firmware command execution. Adding active flag to each node - this flag indicates if the object exists in the hardware or not, if not we don't free the hardware resource in error flow. This change will give us the ability to take write lock on the parent node (e.g. FG for FTE creationg) only on the first part. Signed-off-by: Maor Gottlieb <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions