lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <71b8226c-06c6-efac-50f6-6b4f43a61bc9@linux.intel.com> Date: Sun, 1 Jan 2023 13:16:23 +0200 From: "naamax.meir" <naamax.meir@...ux.intel.com> To: Muhammad Husaini Zulkifli <muhammad.husaini.zulkifli@...el.com>, intel-wired-lan@...osl.org, vinicius.gomes@...el.com Cc: tee.min.tan@...ux.intel.com, davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org, anthony.l.nguyen@...el.com Subject: Re: [PATCH net-next v2] igc: offload queue max SDU from tc-taprio On 12/16/2022 17:03, Muhammad Husaini Zulkifli wrote: > From: Tan Tee Min <tee.min.tan@...ux.intel.com> > > Add support for configuring the max SDU for each Tx queue. > If not specified, keep the default. > > All link speeds have been tested with this implementation. > No performance issue observed. > > How to test: > > 1) Configure the tc with max-sdu > > tc qdisc replace dev $IFACE parent root handle 100 taprio \ > num_tc 4 \ > map 0 1 2 3 3 3 3 3 3 3 3 3 3 3 3 3 \ > queues 1@0 1@1 1@2 1@3 \ > base-time $BASE \ > sched-entry S 0xF 1000000 \ > max-sdu 1500 1498 0 0 0 0 0 0 0 0 0 0 0 0 0 0 \ > flags 0x2 \ > txtime-delay 0 > > 2) Use network statistic to watch the tx queue packet to see if > packet able to go out or drop. > > Signed-off-by: Tan Tee Min <tee.min.tan@...ux.intel.com> > Signed-off-by: Muhammad Husaini Zulkifli <muhammad.husaini.zulkifli@...el.com> > > --- > V1 -> V2: Rework based on Vinicius's comment. > --- > --- > drivers/net/ethernet/intel/igc/igc.h | 1 + > drivers/net/ethernet/intel/igc/igc_main.c | 44 +++++++++++++++++++++++ > 2 files changed, 45 insertions(+) Tested-by: Naama Meir <naamax.meir@...ux.intel.com>
Powered by blists - more mailing lists