5c8227d0d3
Instead of duplicating the logic multiple times. Also, it is unnecessary to zero the buffer in .get_ethtool_stats() because it is already zeroed by the caller. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
bnxt_dcb.c | ||
bnxt_dcb.h | ||
bnxt_ethtool.c | ||
bnxt_ethtool.h | ||
bnxt_fw_hdr.h | ||
bnxt_hsi.h | ||
bnxt_nvm_defs.h | ||
bnxt_sriov.c | ||
bnxt_sriov.h | ||
bnxt_ulp.c | ||
bnxt_ulp.h | ||
bnxt_xdp.c | ||
bnxt_xdp.h | ||
bnxt.c | ||
bnxt.h | ||
Makefile |