summaryrefslogtreecommitdiffstats
path: root/src/trex_port_attr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/trex_port_attr.h')
-rwxr-xr-xsrc/trex_port_attr.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/trex_port_attr.h b/src/trex_port_attr.h
index 01ffe424..a2fcf7e9 100755
--- a/src/trex_port_attr.h
+++ b/src/trex_port_attr.h
@@ -350,6 +350,13 @@ private:
};
+class DpdkTRexPortAttrMlnx5G : public DpdkTRexPortAttr {
+public:
+ DpdkTRexPortAttrMlnx5G(uint8_t port_id, bool is_virtual, bool fc_change_allowed) : DpdkTRexPortAttr(port_id, is_virtual, fc_change_allowed) {}
+ virtual int set_link_up(bool up);
+};
+
+
class SimTRexPortAttr : public TRexPortAttr {
public:
SimTRexPortAttr() : TRexPortAttr(0) {