aboutsummaryrefslogtreecommitdiff
path: root/test/ncsitest.c
AgeCommit message (Collapse)AuthorFilesLines
2022-05-30ncsitest: Fix build with msvcSamuel Thibault1-7/+9
2022-05-28Do not use ssize_t on WindowsSamuel Thibault1-1/+1
It doesn't have it.
2022-05-18ncsi: Add Mellanox Get Mac Address handlerPeter Delevoryas1-0/+54
Attempted to mirror the upstream Linux driver[1] as closely as reasonably possible. [1] https://github.com/torvalds/linux/blob/42226c989789d8da4af1de0c31070c96726d990c/net/ncsi/ncsi-rsp.c#L614-L638 Signed-off-by: Peter Delevoryas <pdel@fb.com>
2022-05-18ncsi: Add OEM command handlerPeter Delevoryas1-2/+48
This commit just sets up the OEM command handler to respond with "unsupported" for now, as verified in the test. Signed-off-by: Peter Delevoryas <pdel@fb.com>
2022-05-18ncsi: Add basic test for Get Version ID responsePeter Delevoryas1-0/+74
Signed-off-by: Peter Delevoryas <pdel@fb.com>