Age | Commit message (Collapse) | Author |
|
commit b1b525868f846e2599dd96ac881d8e483d162c0d from
git@git.assembla.com:cavium/WindRiver.linux.git
The stats are put in the shared data struct fwdata. A PHY driver indicates
that it has FEC stats by setting the flag fwdata.phy.misc.has_fec_stats
(for now, only the LIO3 card's 6141 PHY does this; all other PHYs clear
that flag).
On LIO3, FEC can be enabled at the PHY line-side only, never at the PHY
host-side. So for LIO3, the ethtool FEC stats come from the PHY (not from
CGX).
Besides CGX_CMD_GET_PHY_FEC_STATS, also add CGX_CMD_PRBS and
CGX_CMD_DISPLAY_EYE to enum cgx_cmd_id so that Linux's enum list is in sync
with ATF's enum list.
Change-Id: Ib0cb8e9315b88e3c3f1ddd16cae709f8837d4f1d
Signed-off-by: Felix Manlunas <fmanlunas@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/18814
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit b17de4c302b0e2faad7bbf4e970538713f35775e from
git@git.assembla.com:cavium/WindRiver.linux.git
Move HW related settings info fields to otx2_hw struct
and cleanup both otx2_nic and otx2_hw structs.
Change-Id: Ic142c188b310fe5d4833fe1a85f211deb436a2bc
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/18007
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit e768cc7824fd22df72cdef19f517697408bd33d3 from
git@git.assembla.com:cavium/WindRiver.linux.git
When switch headers like EDSA, Higig2 etc are present in ingress
or egress pkts the pkt parsing done by NPC needs to take additional
headers into account. KPU profile handles these using specific PKINDs
(the iKPU index) to start parsing pkts differently.
This patch enables user to configure these PKINDs into HW for proper
pkt parsing. Patch also handles changes to max frame size due to
additional headers in pkt.
higig2:
ethtool --set-priv-flags eth0 higig2 on/off
edsa:
ethtool --set-priv-flags eth0 edsa on/off
Change-Id: If27c198a555b480434a5d56e15f0f7cff3800144
Signed-off-by: hariprasad <hkelam@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/17912
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit a108847efc4ad4a07bb7f5a2612391047e979620 from
git@git.assembla.com:cavium/WindRiver.linux.git
For the PHY host-side, LIO3 uses the Marvell proprietary PCS types
25GBASE-R2 and 50GBASE-R4; each is combined (at the PHY line-side) with its
counterpart (25G/50G Ethernet Consortium) standard PCS type (25GBASE-R or
50GBASE-R2).
ethtool is not aware of and does not support Marvell proprietary PCS types;
it only knows about standard PCS types. So the PF driver must pass (to
ethtool) information about LIO3's PHY line-side (not PHY host-side).
To that end, replace the entries of the cgx_link_mode[] lookup table that
correspond to the proprietary PCS types with their standard counterparts.
Also, set the bits of the macro OTX2_ETHTOOL_SUPPORTED_MODES that
correspond to the proprietary modes/types.
Change-Id: I993906364747abb4f75ae5ce235bf6af96ee70d0
Signed-off-by: Felix Manlunas <fmanlunas@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/17825
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
(cherry picked from commit c0b60c39f136e42619e9a8602b52e299af1359d1)
Reviewed-on: https://sj1git1.cavium.com/17834
[Kevin: Just some minor context mods in order to port to linux-yocto]
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 5fe1527404347eba09db0d56b92c5cbf0a2f3092 from
git@git.assembla.com:cavium/WindRiver.linux.git
In otx2_get_link_mode_info(), the signed integer literal "1" is left-
shifted by a value obtained by the table lookup
"cgx_link_mode[bit_position]". The result is then implicitly promoted from
signed int to u64 before it gets bitwise-ORed and assigned to
"ethtool_link_mode" (whose type is u64).
This is problematic if the result of the table lookup (which is used as the
number of bit positions to left shift) is greater than or equal to 31 (one
less than the bitwidth of an int). Such a situation will lead to a wrong
value for "ethtool_link_mode", causing ethtool to show wrong or incomplete
information in the list of supported link modes.
Fix it by adding the "ULL" suffix to "1".
Change-Id: I411befd4ad23df2566bf5e9cd6141faeeb53a26c
Signed-off-by: Felix Manlunas <fmanlunas@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/17524
Tested-by: sa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
(cherry picked from commit 8b1d4774140e9b1ff99a49e2b6ab8b610631c2e9)
Reviewed-on: https://sj1git1.cavium.com/17537
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 751d5a0b04b7af458779149ae33cf44071e9f905 from
git@git.assembla.com:cavium/WindRiver.linux.git
This patch fixes cleaning SQ/CQ queue interrupt bits and
LBK VF interface state after changing Queue length or
number of TX/RX queues using ethtool.
Change-Id: Ic0b98cc4eee22ce32c2247a8c1ffc89c3dbea6aa
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/16691
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit ea8daebe069245b205b7bbf875113b6144edc97f from
git@git.assembla.com:cavium/WindRiver.linux.git
Support changing cgx link mode via ethtool.
Example usage: ethtool -s ethX advertise <hex_value>
Change-Id: I2e77f87c8ca0a6e684c446723f823fd51780f71e
Signed-off-by: Christina Jacob <cjacob@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/15607
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
[Kevin: Change the definition of OTX2_ETHTOOL_ALL_MODES
due to the __ETHTOOL_LINK_MODE_LAST chagne.]
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 889b9c4ab3ab62a5f56abe05d4e9b7eb64722a0f from
git@git.assembla.com:cavium/WindRiver.linux.git
clean up speed change support via ethtool.
Change-Id: I3c9f606f04c67c01421660bb3759331aa5fd80b0
Signed-off-by: Christina Jacob <cjacob@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/15605
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 446d57d2e083ee57defc821d23c52687cc880d75 from
git@git.assembla.com:cavium/WindRiver.linux.git
Ensure that intf_down flag is updated by using a barrier
before enabling traffic.
Change-Id: I61e003346030b69278d56b4d2a7bba5891470284
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/15093
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 41bf34f01baaa784960a3e5801a414eeea92ad0d from
git@git.assembla.com:cavium/WindRiver.linux.git
This patch fixes multiple issues
- netif_carrier_off() should be done before disabling
transmit at CGX/NPC level.
- Fixed SQE free count checking in otx2_xmit()
- In NAPI, added a check to wakeup a TXQ if incase it was stopped
earlier due to queue full.
- In otx2_open() 'pfvf->intf_down' should be cleared before
enabling Rx at CGX/NPC level. Otherwise if in between CQ IRQ
is raised then in NAPI CQ interrupt will be disabled forever.
- In otx2_stop(), RQ and SQ sizes should not be cleared, otherwise
upon interface DOWN and UP, RQ size will fallback to 256 which
is not supported on 96xx A0. Also if user has changed RQ/SQ size
via ethtool intf DOWN and UP will reset the sizes back to default.
- Fixed time and packet coalescing settings, user given value was
getting shifted due to wrong type used while clamping it to within
supported ranges.
Change-Id: I152ce646909e64ac6ff858ba0d253f3d59ea3d8d
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/14394
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit c6c1cc2f94e0b5d3aad0dfb23653f1e562d6f3a2 from
git@git.assembla.com:cavium/WindRiver.linux.git
Extend support to disply the link detected status
in ethtool <interface> command.
Signed-off-by: Christina Jacob <cjacob@marvell.com>
Change-Id: Id859c1eabb66607e8b9f2a5c18e5cf9641327b47
Reviewed-on: https://sj1git1.cavium.com/14142
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit bf8012eebdbe80d61f917e06066588711aebf08c from
git@git.assembla.com:cavium/WindRiver.linux.git
Current logic has +/- 1 of time_wait and mul/div by 10 of
count_wait everywhere which is confusing. Also there are
many scenarios where time_wait is not being set properly.
This patch simplifies the logic and fixes the issues.
Change-Id: If7c51d60fcc708fa9af02c28632b220b6abc5d6b
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/14056
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit b6fdf3a17ec1f3fafa5b6013746d84491c17e9e6 from
git@git.assembla.com:cavium/WindRiver.linux.git
Current logic skips setting ringparam if interface is in
down state and Tx ringsize is not changed and also doesn't
display the default settings when interface is UP. This
patch fixes both issues.
Change-Id: If3500e161dff0a6753388c3b9ec0101b9301755d
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/14055
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 91031bb1fc62611e076fa82495f877ae6e804bb5 from
git@git.assembla.com:cavium/WindRiver.linux.git
Enables user to change configurations like speed, duplex mode,
autoneg of a network interface via ethtool -s option.
Change-Id: Ica5c1e5225449dd2b559d5439e168d1aad21a690
Signed-off-by: Christina Jacob <cjacob@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/13567
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit fef9e592ca9aae91f4aa208b1562fa61df77cd5d from
git@git.assembla.com:cavium/WindRiver.linux.git
Irrespective of interface status being IFF_UP/DOWN,
always show physical interface status ie speed, duplex
etc via ethtool.
Change-Id: I570d66e76332071d28d600b57e0db8ea2ff58d3c
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/13435
Tested-by: sa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Reviewed-on: https://sj1git1.cavium.com/13443
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 079c6019ea93e062120744efa10d97ceba976fc5 from
git@git.assembla.com:cavium/WindRiver.linux.git
Added receive packet errors like undesize, oversize, csum, fcs etc
to ethtool stats. And also added support to pass on error packets
to stack. This can be enabled/disabled by doing
ethtool -k ethX rx-all on/off
Also actual error codes and their levels can be dumped by doing
ethtool -s ethX msglvl 0x40
Note: If there are multiple errors in the packet then HW prioritizes
and decides which error to be reported in the CQE_RX. Undersize error
often gets overwritten by errors reported by NPC packet parser.
Change-Id: Ibf2fb4fd3f73d82ab2858fc8de582d1d45e04d48
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/13139
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 5415db90af90cbb4f31822fefb74138585bd2537 from
git@git.assembla.com:cavium/WindRiver.linux.git
Add unicasat filter support and use deferred function ndo_set_rx_mode
Change-Id: I855a3151124cfb3a81eca7dcb42161f05fd13651
Signed-off-by: hariprasad <hkelam@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/12561
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
via ethtool
commit ef6fa276e3f32215a65060f82dbe2d08697496a9 from
git@git.assembla.com:cavium/WindRiver.linux.git
Support ethtool <interface> on both pf's vf interfaces as well as on lbk
interfaces.
Change-Id: I2b5e03d345900ab631466648e533da31d48e6b92
Signed-off-by: Christina Jacob <cjacob@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/12462
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 5fa10ef49cae74721b6cc17d95b40a887bf3444a from
git@git.assembla.com:cavium/WindRiver.linux.git
Support to display fec corrected and uncorrected block counters with others
statistics displayed in ethtool -S command.
Change-Id: Ic8047777d9b6df2537d8a3fcf66f3af28acfd3c6
Signed-off-by: Christina Jacob <cjacob@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/11450
Reviewed-by: Linu Cherian <lcherian@marvell.com>
Tested-by: Linu Cherian <lcherian@marvell.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 279972b4113517969e0192bd720cd46f35bee96b from
git@git.assembla.com:cavium/WindRiver.linux.git
For PHYs that support changing modulation type (NRZ or PAM4), enable these
commands:
ethtool --set-priv-flags ethX pam4 on
ethtool --set-priv-flags ethX pam4 off # means NRZ modulation
ethtool --show-priv-flags ethX
Add new fields (pertaining to PHY modulation type) to rvu->fwdata. The new
fields replace one element of the reserved u64 array in struct
cgx_lmac_fwdata_s, so the reserved array element count is decreased by one.
Rename the macro RESERVED_MEM in mbox.h to LMAC_FWDATA_RESERVED_MEM
because RESERVED_MEM is used by two arrays that can independently change
size.
Put #define RESERVED_MEM in rvu.h right above the array that references it.
Change-Id: I96f20c2d903f4438e1274d33438d9fcf14e7278c
Signed-off-by: Felix Manlunas <fmanlunas@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/11305
Reviewed-by: Derek Chickles <Derek.Chickles@cavium.com>
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/11458
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 14371f36fcd8ef792734045a715f384478aa0c41 from
git@git.assembla.com:cavium/WindRiver.linux.git
Few hardware issues from 96xx A0 are not fixed in
95xx A0 silicon. This patch applies workarounds of
non fixed 96xx A0's hw issues to 95xx A0.
Change-Id: Ib16c1bf941ce563a8cf4107af73b775517154e95
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/10637
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Tested-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 573573a900dfef13cc4e368cacc5ccbe6f91c925 from
git@git.assembla.com:cavium/WindRiver.linux.git
VF flows are deleted/disabled by AF during FLR or
NIX_LF_FREE message hence the existing functions which
send message to AF from PF to delete VF flows are removed.
Change-Id: I4ccff74af49cf9bc57afca85bdf04129415ddc16
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 280b763ef0429e630d48389b174deca370f3fa8b from
git@git.assembla.com:cavium/WindRiver.linux.git
Support for ethtool -m option. Can be used to Query/Decode
Module EEPROM information. Usage: ethtool -m <interface>
Return proper error number instead of printing error message.
The ethtool will take care of it
Change-Id: Ibcded889199334fd16b96db73a7fdf61377be598
Signed-off-by: Christina Jacob <cjacob@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/9073
Tested-by: sa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Reviewed-by: Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 115079a77f9721be60328bfc27c3c2998519632b from
git@git.assembla.com:cavium/WindRiver.linux.git
When PF receives FLR interrupt for its VF then the rules
installed for that VF needs to be deleted. Otherwise MCAM
rules exist for VFs with unmapped NIXLFS thereby causing
Rx on unmapped PF_FUNC errors.
Change-Id: I5a5743a519bd42e6a57beef5406be50ab4bd3910
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit e4cd836782c35279a664f86ae827df8753e68f8b from
git@git.assembla.com:cavium/WindRiver.linux.git
Add debug messages by using netif_msg_*() macros.
With this patch, supported msglvls are pktdata, tx_err and rx_err.
These messasges levels can be enabled or disabled by using ethtool.
Change-Id: Ie5d23b239a676054bf48eb1b45aa8b8f33bbb297
Signed-off-by: Prakash Brahmajyosyula <bprakash@marvell.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 9ea7ebf3cb46bbf2049070be76f3a868a5ce2de9 from
git@git.assembla.com:cavium/WindRiver.linux.git
Implements --show-fec --set-fec and display link related
information via ethtool.
Change-Id: Id99fc7e7a3da07b3da962788c0ba6d7461fde58f
Signed-off-by: Christina Jacob <cjacob@marvell.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 3aa2b83e6b64a19fc0073901a67e095609f1183f from
git@git.assembla.com:cavium/WindRiver.linux.git
Add ethtool support.
Change-Id: Ib18f2c2fc121ee87dae53113dd8245211e14cade
Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit bc38c924eed0538e6db34192bfbfc2936e19f7c2 from
git@git.assembla.com:cavium/WindRiver.linux.git
This patch adds PTP clock and uses it in OcteonTX2 network device.
PTP clock uses mbox calls to access the hardware counter
on the RVU side.
Change-Id: I998507730560859349a0ef981113971cf37b5037
Signed-off-by: Aleksey Makarov <amakarov@marvell.com>
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 88352100a6a07a464dd986cedfe3c9a1712b5b8e from
git@git.assembla.com:cavium/WindRiver.linux.git
Adding ethtool support to display link status information for pf
interfaces. Also Displays speed and duplex mode on ifconfig up
of pf interfaces.
Change-Id: Ib6dd901260e61a5a6bda2a2c613e5287c65ee439
Signed-off-by: Christina Jacob <cjacob@marvell.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 00d355be1d10d8f83b29e5ca7380f6bdc319222f from
git@git.assembla.com:cavium/WindRiver.linux.git
Add a new stat "reset_count" which is incremented each time
the device was reset, for example from watchdog or
from QINT handler.
Change-Id: I7a605bc31781643b25c35549046029ff7bb8a319
Signed-off-by: Aleksey Makarov <amakarov@marvell.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 6f42f5e0cf2983e18a0dea53eaad74a1bcad29d6 from
git@git.assembla.com:cavium/WindRiver.linux.git
Implement ethtool callbacks to support ntuple filters.
Filters of ether, tcp4, udp4 are supported currently.
Added user-def parameter of ethtool --config-ntuple command
is for adding any vendor specific options. This user-def
option for specifying action other than Drop and Direct
to queue.
When user-def is 0x1 then action of default unicast entry
is used which inturn is a RSS action.
Example:
ethtool -U eth2 flow-type udp4 src-port 23 action 0 user-def 0x1
Change-Id: I3885544962ff1858be90cc47144e17e52f976ab0
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit e5606fccd2793ba7a170f45fc22840fbc6e20f93 from
git@git.assembla.com:cavium/WindRiver.linux.git
Adds ethtool support to enable/disable pause frames generation on
PF mapped to CGX/LBK interfaces.
Eg: ethtool -A ethx rx on/off tx on/off
Change-Id: Ia381186554198698b4b50ee88a108d86b8a8dfc8
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit dfafac47d8165ab5bdf168f15667b2ae031f60ef from
git@git.assembla.com:cavium/WindRiver.linux.git
Added support to display and modify receive side scaling settings
like indirection table, hashkey, hash algorithm options e.t.c
via ethtool.
Change-Id: I5051e9131f1e24e5bea31e8c29d8537f13a29037
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit cb056a38dcf30856bd7e44ca8ec894dbafca6f5d from
git@git.assembla.com:cavium/WindRiver.linux.git
Did default configuration of CQ IRQ coalescing and added support
to tune/modify CQE and CQ time wait thresholds via ethtool.
Change-Id: I1daacaee4bb4397ce69cb466135229fd2d7b2f16
Signed-off-by: Christina Jacob <cjacob@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|
|
commit 48556403daf7a1729308f4aa91e596e87bb77b46 from
git@git.assembla.com:cavium/WindRiver.linux.git
This patch adds ethtool support for
- Driver stats: Tx/Rx perqueue and CGX LMAC stats
- Set/show Rx/Tx queue count
- Set/show Rx/Tx ring sizes
Change-Id: Idbc58ee0440d6e3b76d5d899bb2d1d1dc3e141b8
Signed-off-by: Christina Jacob <cjacob@marvell.com>
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
|