NT_INLINE Functions

From Green Bay 2 to Link™ Capture Software 11.9

Platform
Napatech SmartNIC
Content Type
Migration Document
Capture Software Version
Link™ Capture Software 11.9

In this section

This section describes a change to the NT_INLINE functions in the include/ntapi/stream_net.h file.

_nt_net_create_segment_netbuf

The size parameter has changed from an uint32_t type in Green Bay 2 to an uint64_t type for 4GA SmartNICs in Link™ Capture Software 11.9 to accommodate for the larger segment size.

_nt_net_get_next_packet

The segLength parameter has changed from an uint32_t type in Green Bay 2 to an uint64_t type for 4GA SmartNICs in Link™ Capture Software 11.9 to accommodate for the larger segment size.

_nt_net_initialize_segment_netbuf

The size parameter has changed from an uint32_t type in Green Bay 2 to an uint64_t type for 4GA SmartNICs in Link™ Capture Software 11.9 to accommodate for the larger segment size.

Changed examples

These examples have been changed accordingly:
  • examples/net/capture/capture_example.c
  • examples/net/transmitSegment/transmitSegment_example.c

Changed tools

These tools have been changed accordingly:
  • tools/capture/capture.c
  • tools/diagnostics/diagnostics.c
  • tools/pktgen/pktgen.c
  • tools/replay/replay.c

Implications

Due to the changes application code will need to be recompiled, and tools/applications from earlier driver releases will no longer work.