diff options
-rwxr-xr-x | src/trex_port_attr.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/trex_port_attr.h b/src/trex_port_attr.h index 7a1a88f0..4c1b1cc5 100755 --- a/src/trex_port_attr.h +++ b/src/trex_port_attr.h @@ -353,7 +353,10 @@ private: }; - +/* +Example: +In order to use custom methods of port attributes per driver, need to instantiate this within driver. +*/ 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) {} |