port_attr: comment on DpdkTRexPortAttrMlnx5G as example for using custom functions
authorYaroslav Brustinov <[email protected]>
Tue, 21 Mar 2017 10:03:26 +0000 (12:03 +0200)
committerYaroslav Brustinov <[email protected]>
Tue, 21 Mar 2017 10:03:26 +0000 (12:03 +0200)
Change-Id: I5c960410e0dc02ebf6979c979a42e235c02d71c1
Signed-off-by: Yaroslav Brustinov <[email protected]>
src/trex_port_attr.h

index 7a1a88f..4c1b1cc 100755 (executable)
@@ -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) {}