commit | 99c6d3d20d6287d7dd6e65686dba9e696de91f90 | [log] [tgz] |
---|---|---|
author | Dmitry Safonov <dima@arista.com> | Thu Jan 18 18:31:36 2018 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 24 15:03:36 2018 -0500 |
tree | 825f9b2660a05c00ef73bffd580840dcc9c05c35 | |
parent | 6f107c741212ca5fbfb0724571395716420017d6 [diff] |
pktgen: Remove brute-force printing of flags Add macro generated pkt_flag_names array, with a little help of which the flags can be printed by using an index. Signed-off-by: Dmitry Safonov <dima@arista.com> Signed-off-by: David S. Miller <davem@davemloft.net>